mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20:34 +05:00
Fix build with GUI=ON, MPI=ON
This commit is contained in:
parent
ac59096f91
commit
042db258c8
@ -832,7 +832,7 @@ namespace netgen
|
|||||||
|
|
||||||
MyMPI_Bcast (selface);
|
MyMPI_Bcast (selface);
|
||||||
|
|
||||||
vssolution.Broadcast ();
|
netgen::GetVSSolution().Broadcast ();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ namespace netgen {
|
|||||||
extern std::shared_ptr<NetgenGeometry> ng_geometry;
|
extern std::shared_ptr<NetgenGeometry> ng_geometry;
|
||||||
extern shared_ptr<Mesh> mesh;
|
extern shared_ptr<Mesh> mesh;
|
||||||
extern VisualSceneMesh vsmesh;
|
extern VisualSceneMesh vsmesh;
|
||||||
extern VisualSceneSolution vssolution;
|
extern VisualSceneSolution & GetVSSolution();
|
||||||
extern Flags parameters;
|
extern Flags parameters;
|
||||||
extern DLL_HEADER MeshingParameters mparam;
|
extern DLL_HEADER MeshingParameters mparam;
|
||||||
}
|
}
|
||||||
@ -62,6 +62,8 @@ using netgen::RegisterUserFormats;
|
|||||||
|
|
||||||
void ParallelRun()
|
void ParallelRun()
|
||||||
{
|
{
|
||||||
|
VisualSceneSolution vssolution = GetVSSolution();
|
||||||
|
|
||||||
string message;
|
string message;
|
||||||
MPI_Status status;
|
MPI_Status status;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user