From 32d782b3093e3b501628ced488c9a547b225ef72 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 5 Jul 2022 18:26:19 +0300 Subject: [PATCH] Fix for negative volumes due to merge --- src/StdMeshers/StdMeshers_Cartesian_VL.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2