mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-14 10:08:32 +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);
|
infile = new ifstream (filename);
|
||||||
mesh.reset (new Mesh());
|
mesh.reset (new Mesh());
|
||||||
mesh -> Load(*infile);
|
mesh -> Load(*infile);
|
||||||
|
SetGlobalMesh (mesh);
|
||||||
|
|
||||||
// make string from rest of file (for geometry info!)
|
// make string from rest of file (for geometry info!)
|
||||||
if(!ng_geometry) {
|
if(!ng_geometry) {
|
||||||
|
Loading…
Reference in New Issue
Block a user