mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
mesh for vs
This commit is contained in:
parent
e920593821
commit
3ab44e91ff
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user