output control

This commit is contained in:
Joachim Schöberl 2015-12-21 20:21:24 +01:00
parent 99f83757fb
commit f9e27448d0
2 changed files with 8 additions and 5 deletions

View File

@ -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;

View File

@ -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