mirror of
https://github.com/NGSolve/netgen.git
synced 2026-05-31 01:06:10 +08:00
merge master into branch
This commit is contained in:
@@ -609,7 +609,13 @@ DLL_HEADER void ExportNetgenMeshing()
|
||||
.add_property("maxh",
|
||||
FunctionPointer ([](const MP & mp ) { return mp.maxh; }),
|
||||
FunctionPointer ([](MP & mp, double maxh) { return mp.maxh = maxh; }))
|
||||
|
||||
.def("RestrictH", FunctionPointer
|
||||
([](MP & mp, double x, double y, double z, double h)
|
||||
{
|
||||
mp.meshsize_points.Append ( MeshingParameters::MeshSizePoint (Point<3> (x,y,z), h));
|
||||
}),
|
||||
(bp::arg("x"), bp::arg("y"), bp::arg("z"), bp::arg("h"))
|
||||
)
|
||||
;
|
||||
|
||||
bp::def("SetTestoutFile", FunctionPointer ([] (const string & filename)
|
||||
|
||||
Reference in New Issue
Block a user