mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Set global Mesh pointer
This commit is contained in:
parent
cbe8bcb553
commit
63ee20cb29
@ -160,6 +160,7 @@ void Ng_LoadMesh (const char * filename)
|
||||
infile = new ifstream (filename);
|
||||
mesh.reset (new Mesh());
|
||||
mesh -> Load(*infile);
|
||||
SetGlobalMesh (mesh);
|
||||
|
||||
// make string from rest of file (for geometry info!)
|
||||
if(!ng_geometry) {
|
||||
|
Loading…
Reference in New Issue
Block a user