mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
quad meshing parameter deprecated, use quad_dominated instead
This commit is contained in:
parent
71e8c6854c
commit
cd3bf9ead5
@ -36,7 +36,7 @@ meshsizefilename: str = None
|
||||
segmentsperedge: float = 1.
|
||||
Minimal number of segments per edge.
|
||||
|
||||
quad: bool = False
|
||||
quad_dominated: bool = False
|
||||
Quad-dominated surface meshing.
|
||||
|
||||
blockfill: bool = True
|
||||
@ -158,7 +158,12 @@ inline void CreateMPfromKwargs(MeshingParameters& mp, py::kwargs kwargs, bool th
|
||||
if(kwargs.contains("elementorder"))
|
||||
mp.elementorder = py::cast<int>(kwargs.attr("pop")("elementorder"));
|
||||
if(kwargs.contains("quad"))
|
||||
mp.quad = py::cast<bool>(kwargs.attr("pop")("quad"));
|
||||
{
|
||||
cout << "WARNING: Meshing parameter 'quad' is deprecated, use 'quad_dominated' instead!" << endl;
|
||||
mp.quad = py::cast<bool>(kwargs.attr("pop")("quad"));
|
||||
}
|
||||
if(kwargs.contains("quad_dominated"))
|
||||
mp.quad = py::cast<bool>(kwargs.attr("pop")("quad_dominated"));
|
||||
if(kwargs.contains("try_hexes"))
|
||||
mp.try_hexes = py::cast<bool>(kwargs.attr("pop")("try_hexes"));
|
||||
if(kwargs.contains("inverttets"))
|
||||
|
Loading…
Reference in New Issue
Block a user