#16522 [CEA 7599] Viscous layers hypothesis: extract layers as a group
Fix SIGSEGV
This commit is contained in:
parent
7619874170
commit
f649b5af18
@ -3173,6 +3173,7 @@ bool NETGENPlugin_Mesher::Compute()
|
||||
const NETGENPlugin_SimpleHypothesis_3D* simple3d =
|
||||
dynamic_cast< const NETGENPlugin_SimpleHypothesis_3D* > ( _simpleHyp );
|
||||
if ( simple3d ) {
|
||||
_ngMesh->Compress();
|
||||
if ( double vol = simple3d->GetMaxElementVolume() ) {
|
||||
// max volume
|
||||
mparams.maxh = pow( 72, 1/6. ) * pow( vol, 1/3. );
|
||||
|
Loading…
Reference in New Issue
Block a user