mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-07 13:57:28 +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 np = mesh.GetNP();
|
||||||
int ne = mesh.GetNE();
|
int ne = mesh.GetNE();
|
||||||
int nse = mesh.GetNSE();
|
int nse = mesh.GetNSE();
|
||||||
int ns = mesh.GetNFD();
|
// int ns = mesh.GetNFD();
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
outfile.precision(5);
|
outfile.precision(5);
|
||||||
|
@ -1091,7 +1091,7 @@ namespace netgen
|
|||||||
///
|
///
|
||||||
int secondorder = 0;
|
int secondorder = 0;
|
||||||
/// high order element curvature
|
/// high order element curvature
|
||||||
int elementorder;
|
int elementorder = 1;
|
||||||
/// quad-dominated surface meshing
|
/// quad-dominated surface meshing
|
||||||
int quad = 0;
|
int quad = 0;
|
||||||
///
|
///
|
||||||
|
@ -143,6 +143,12 @@ void ExportNetgenMeshing()
|
|||||||
FunctionPointer ([](MP & mp, double maxh) { return mp.maxh = maxh; }))
|
FunctionPointer ([](MP & mp, double maxh) { return mp.maxh = maxh; }))
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
|
bp::def("SetTestoutFile", FunctionPointer ([] (const string & filename)
|
||||||
|
{
|
||||||
|
delete testout;
|
||||||
|
testout = new ofstream (filename);
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user