]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for negative volumes due to merge
authoreap <eap@opencascade.com>
Tue, 5 Jul 2022 15:26:19 +0000 (18:26 +0300)
committereap <eap@opencascade.com>
Tue, 5 Jul 2022 15:26:19 +0000 (18:26 +0300)
src/StdMeshers/StdMeshers_Cartesian_VL.cxx

index 763986fb17758532f4ef8a63397bfd3d754eb11d..1b8cd0b086da89f94ae60f16f795e363e3219728 100644 (file)
@@ -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