mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
output control
This commit is contained in:
parent
99f83757fb
commit
f9e27448d0
@ -21,6 +21,13 @@ namespace netgen
|
|||||||
DLL_HEADER shared_ptr<NetgenGeometry> ng_geometry;
|
DLL_HEADER shared_ptr<NetgenGeometry> ng_geometry;
|
||||||
|
|
||||||
weak_ptr<Mesh> global_mesh;
|
weak_ptr<Mesh> global_mesh;
|
||||||
|
void SetGlobalMesh (shared_ptr<Mesh> m)
|
||||||
|
{
|
||||||
|
PrintMessage(5, "set global mesh");
|
||||||
|
global_mesh = m;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Flags parameters;
|
// Flags parameters;
|
||||||
int silentflag = 0;
|
int silentflag = 0;
|
||||||
|
@ -56,11 +56,7 @@ namespace netgen
|
|||||||
|
|
||||||
|
|
||||||
DLL_HEADER extern weak_ptr<Mesh> global_mesh;
|
DLL_HEADER extern weak_ptr<Mesh> global_mesh;
|
||||||
inline void SetGlobalMesh (shared_ptr<Mesh> m)
|
DLL_HEADER void SetGlobalMesh (shared_ptr<Mesh> m);
|
||||||
{
|
|
||||||
cout << "set global mesh" << endl;
|
|
||||||
global_mesh = m;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user