diff --git a/libsrc/interface/nginterface.cpp b/libsrc/interface/nginterface.cpp index fbda9417..da64d318 100644 --- a/libsrc/interface/nginterface.cpp +++ b/libsrc/interface/nginterface.cpp @@ -278,8 +278,9 @@ void Ng_LoadMesh (const char * filename) else { mesh.reset (new Mesh()); - vssolution.SetMesh(mesh); - vsmesh.SetMesh(mesh); +// vssolution.SetMesh(mesh); +// vsmesh.SetMesh(mesh); + SetGlobalMesh (mesh); mesh->SendRecvMesh(); } #endif diff --git a/ng/parallelfunc.cpp b/ng/parallelfunc.cpp index 6712e841..aff1b89e 100644 --- a/ng/parallelfunc.cpp +++ b/ng/parallelfunc.cpp @@ -111,8 +111,9 @@ void ParallelRun() VT_USER_START ("Mesh::ReceiveParallelMesh"); mesh.reset( new netgen::Mesh); mesh->SendRecvMesh(); - vsmesh.SetMesh (mesh); - vssolution.SetMesh (mesh); +// vsmesh.SetMesh (mesh); +// vssolution.SetMesh (mesh); + SetGlobalMesh (mesh); VT_USER_END ("Mesh::ReceiveParallelMesh"); }