Compare commits
2 Commits
master
...
eap/16522_
Author | SHA1 | Date | |
---|---|---|---|
|
115bf1a121 | ||
|
b1dea9656e |
@ -89,7 +89,7 @@
|
|||||||
<algo>NETGEN_3D=Tetrahedron()</algo>
|
<algo>NETGEN_3D=Tetrahedron()</algo>
|
||||||
<hypo>MaxElementVolume=MaxElementVolume(SetMaxElementVolume())</hypo>
|
<hypo>MaxElementVolume=MaxElementVolume(SetMaxElementVolume())</hypo>
|
||||||
<hypo>NETGEN_Parameters_3D=Parameters()</hypo>
|
<hypo>NETGEN_Parameters_3D=Parameters()</hypo>
|
||||||
<hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod())</hypo>
|
<hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod(),SetGroupName())</hypo>
|
||||||
</python-wrap>
|
</python-wrap>
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
||||||
@ -109,7 +109,7 @@
|
|||||||
<hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
|
<hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
|
||||||
<hypo>NETGEN_Parameters_2D_ONLY=Parameters()</hypo>
|
<hypo>NETGEN_Parameters_2D_ONLY=Parameters()</hypo>
|
||||||
<hypo>QuadranglePreference=SetQuadAllowed()</hypo>
|
<hypo>QuadranglePreference=SetQuadAllowed()</hypo>
|
||||||
<hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
|
<hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetEdges(1),SetEdges(2),SetGroupName())</hypo>
|
||||||
</python-wrap>
|
</python-wrap>
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
||||||
@ -127,7 +127,7 @@
|
|||||||
<algo>NETGEN_2D=Triangle(algo=smeshBuilder.NETGEN_1D2D)</algo>
|
<algo>NETGEN_2D=Triangle(algo=smeshBuilder.NETGEN_1D2D)</algo>
|
||||||
<hypo>NETGEN_Parameters_2D=Parameters()</hypo>
|
<hypo>NETGEN_Parameters_2D=Parameters()</hypo>
|
||||||
<hypo>NETGEN_SimpleParameters_2D=Parameters(smeshBuilder.SIMPLE)</hypo>
|
<hypo>NETGEN_SimpleParameters_2D=Parameters(smeshBuilder.SIMPLE)</hypo>
|
||||||
<hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
|
<hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetEdges(1),SetEdges(2),SetGroupName())</hypo>
|
||||||
</python-wrap>
|
</python-wrap>
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
||||||
@ -145,7 +145,7 @@
|
|||||||
<algo>NETGEN_2D3D=Tetrahedron(algo=smeshBuilder.NETGEN_1D2D3D)</algo>
|
<algo>NETGEN_2D3D=Tetrahedron(algo=smeshBuilder.NETGEN_1D2D3D)</algo>
|
||||||
<hypo>NETGEN_Parameters=Parameters()</hypo>
|
<hypo>NETGEN_Parameters=Parameters()</hypo>
|
||||||
<hypo>NETGEN_SimpleParameters_3D=Parameters(smeshBuilder.SIMPLE)</hypo>
|
<hypo>NETGEN_SimpleParameters_3D=Parameters(smeshBuilder.SIMPLE)</hypo>
|
||||||
<hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod())</hypo>
|
<hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod(),SetGroupName())</hypo>
|
||||||
</python-wrap>
|
</python-wrap>
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
||||||
|
@ -3173,6 +3173,7 @@ bool NETGENPlugin_Mesher::Compute()
|
|||||||
const NETGENPlugin_SimpleHypothesis_3D* simple3d =
|
const NETGENPlugin_SimpleHypothesis_3D* simple3d =
|
||||||
dynamic_cast< const NETGENPlugin_SimpleHypothesis_3D* > ( _simpleHyp );
|
dynamic_cast< const NETGENPlugin_SimpleHypothesis_3D* > ( _simpleHyp );
|
||||||
if ( simple3d ) {
|
if ( simple3d ) {
|
||||||
|
_ngMesh->Compress();
|
||||||
if ( double vol = simple3d->GetMaxElementVolume() ) {
|
if ( double vol = simple3d->GetMaxElementVolume() ) {
|
||||||
// max volume
|
// max volume
|
||||||
mparams.maxh = pow( 72, 1/6. ) * pow( vol, 1/3. );
|
mparams.maxh = pow( 72, 1/6. ) * pow( vol, 1/3. );
|
||||||
|
Loading…
Reference in New Issue
Block a user