mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Fix for negative volumes due to merge
This commit is contained in:
parent
4430578f93
commit
32d782b309
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user