python-testout, warnings

This commit is contained in:
Joachim Schoeberl 2014-12-05 16:00:01 +00:00
parent 46aa785828
commit fab4f836d1
3 changed files with 8 additions and 2 deletions

View File

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

View File

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

View File

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