mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
python-testout, warnings
This commit is contained in:
parent
46aa785828
commit
fab4f836d1
@ -634,7 +634,7 @@ void WriteFEPPFormat (const Mesh & mesh,
|
||||
int np = mesh.GetNP();
|
||||
int ne = mesh.GetNE();
|
||||
int nse = mesh.GetNSE();
|
||||
int ns = mesh.GetNFD();
|
||||
// int ns = mesh.GetNFD();
|
||||
int i, j;
|
||||
|
||||
outfile.precision(5);
|
||||
|
@ -1091,7 +1091,7 @@ namespace netgen
|
||||
///
|
||||
int secondorder = 0;
|
||||
/// high order element curvature
|
||||
int elementorder;
|
||||
int elementorder = 1;
|
||||
/// quad-dominated surface meshing
|
||||
int quad = 0;
|
||||
///
|
||||
|
@ -143,6 +143,12 @@ void ExportNetgenMeshing()
|
||||
FunctionPointer ([](MP & mp, double maxh) { return mp.maxh = maxh; }))
|
||||
|
||||
;
|
||||
|
||||
bp::def("SetTestoutFile", FunctionPointer ([] (const string & filename)
|
||||
{
|
||||
delete testout;
|
||||
testout = new ofstream (filename);
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user