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