From: eap Date: Tue, 5 Jul 2022 15:26:19 +0000 (+0300) Subject: Fix for negative volumes due to merge X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=32d782b3093e3b501628ced488c9a547b225ef72;p=modules%2Fsmesh.git Fix for negative volumes due to merge --- diff --git a/src/StdMeshers/StdMeshers_Cartesian_VL.cxx b/src/StdMeshers/StdMeshers_Cartesian_VL.cxx index 763986fb1..1b8cd0b08 100644 --- a/src/StdMeshers/StdMeshers_Cartesian_VL.cxx +++ b/src/StdMeshers/StdMeshers_Cartesian_VL.cxx @@ -1036,7 +1036,7 @@ bool StdMeshers_Cartesian_VL::ViscousBuilder::MakeViscousLayers( SMESH_Mesh & // merge coincident nodes SMESH_MeshEditor editor( &theMesh ); SMESH_MeshEditor::TListOfListOfNodes nodesToMerge; - editor.FindCoincidentNodes( nodesToCheckCoinc, vlH[0]/20., nodesToMerge, false ); + editor.FindCoincidentNodes( nodesToCheckCoinc, vlH[0]/50., nodesToMerge, false ); editor.MergeNodes( nodesToMerge ); // create a group