Fix for negative volumes due to merge

This commit is contained in:
eap 2022-07-05 18:26:19 +03:00
parent 4430578f93
commit 32d782b309

View File

@ -1036,7 +1036,7 @@ bool StdMeshers_Cartesian_VL::ViscousBuilder::MakeViscousLayers( SMESH_Mesh &
// merge coincident nodes // merge coincident nodes
SMESH_MeshEditor editor( &theMesh ); SMESH_MeshEditor editor( &theMesh );
SMESH_MeshEditor::TListOfListOfNodes nodesToMerge; SMESH_MeshEditor::TListOfListOfNodes nodesToMerge;
editor.FindCoincidentNodes( nodesToCheckCoinc, vlH[0]/20., nodesToMerge, false ); editor.FindCoincidentNodes( nodesToCheckCoinc, vlH[0]/50., nodesToMerge, false );
editor.MergeNodes( nodesToMerge ); editor.MergeNodes( nodesToMerge );
// create a group // create a group