mesh for vs

This commit is contained in:
Joachim Schoeberl 2015-01-08 21:17:42 +00:00
parent e920593821
commit 3ab44e91ff

View File

@ -230,7 +230,8 @@ namespace netgen
// ifstream infile(filename.c_str()); // ifstream infile(filename.c_str());
mesh -> Load(*infile); mesh -> Load(*infile);
vsmesh.SetMesh (mesh); // vsmesh.SetMesh (mesh);
SetGlobalMesh (mesh);
#ifdef PARALLEL #ifdef PARALLEL
MyMPI_SendCmd ("mesh"); MyMPI_SendCmd ("mesh");
@ -1322,7 +1323,8 @@ namespace netgen
mesh = shared_ptr<Mesh> (hmesh); mesh = shared_ptr<Mesh> (hmesh);
*/ */
mesh = make_shared<Mesh> (); mesh = make_shared<Mesh> ();
vsmesh.SetMesh (mesh); // vsmesh.SetMesh (mesh);
SetGlobalMesh (mesh);
int res = ng_geometry -> GenerateMesh (mesh, mparam, perfstepsstart, perfstepsend); int res = ng_geometry -> GenerateMesh (mesh, mparam, perfstepsstart, perfstepsend);
// int res = ng_geometry -> GenerateMesh (mesh.Ptr(), mparam, perfstepsstart, perfstepsend); // int res = ng_geometry -> GenerateMesh (mesh.Ptr(), mparam, perfstepsstart, perfstepsend);