Fix build with GUI=ON, MPI=ON

This commit is contained in:
Matthias Hochsteger 2017-09-21 17:58:38 +02:00
parent ac59096f91
commit 042db258c8
2 changed files with 4 additions and 2 deletions

View File

@ -832,7 +832,7 @@ namespace netgen
MyMPI_Bcast (selface);
vssolution.Broadcast ();
netgen::GetVSSolution().Broadcast ();
}
#endif

View File

@ -50,7 +50,7 @@ namespace netgen {
extern std::shared_ptr<NetgenGeometry> ng_geometry;
extern shared_ptr<Mesh> mesh;
extern VisualSceneMesh vsmesh;
extern VisualSceneSolution vssolution;
extern VisualSceneSolution & GetVSSolution();
extern Flags parameters;
extern DLL_HEADER MeshingParameters mparam;
}
@ -62,6 +62,8 @@ using netgen::RegisterUserFormats;
void ParallelRun()
{
VisualSceneSolution vssolution = GetVSSolution();
string message;
MPI_Status status;