mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
py-output
This commit is contained in:
parent
5840597b4c
commit
0cac1ddaeb
@ -327,8 +327,9 @@ void ExportCSG()
|
||||
{
|
||||
// testout = new ofstream ("test.out");
|
||||
shared_ptr<Mesh> dummy;
|
||||
cout << "Genrate Mesh, params = " << param << endl;
|
||||
cout << "geom, bbox = " << geo.BoundingBox() << endl;
|
||||
cout << "Genrate Mesh" << endl;
|
||||
// cout << "Genrate Mesh, params = " << param << endl;
|
||||
// cout << "geom, bbox = " << geo.BoundingBox() << endl;
|
||||
geo.FindIdenticSurfaces(1e-8 * geo.MaxSize());
|
||||
geo.GenerateMesh (dummy, param, 0, 6);
|
||||
return dummy;
|
||||
|
@ -149,6 +149,13 @@ void ExportNetgenMeshing()
|
||||
delete testout;
|
||||
testout = new ofstream (filename);
|
||||
}));
|
||||
|
||||
bp::def("SetMessageImportance", FunctionPointer ([] (int importance)
|
||||
{
|
||||
int old = printmessage_importance;
|
||||
printmessage_importance = importance;
|
||||
return old;
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user