From 9d1d5827c693a4fc98a6597a4179be1196689c30 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 10 Aug 2020 17:02:53 +0300 Subject: [PATCH] #19887 [CEA] Body fitting missing some faces and generates not-wanted splitted elements fix missing faces --- src/StdMeshers/StdMeshers_Cartesian_3D.cxx | 6 +++--- src/StdMeshers/StdMeshers_Cartesian_3D.hxx | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/StdMeshers/StdMeshers_Cartesian_3D.cxx b/src/StdMeshers/StdMeshers_Cartesian_3D.cxx index ab129db36..4d47b2144 100644 --- a/src/StdMeshers/StdMeshers_Cartesian_3D.cxx +++ b/src/StdMeshers/StdMeshers_Cartesian_3D.cxx @@ -4958,7 +4958,7 @@ namespace /*! * \brief Return created volumes and volumes that can have free facet because of * skipped small volume. Also create mesh faces on free facets - * of adjacent not-cut volumes id the result volume is too small. + * of adjacent not-cut volumes if the result volume is too small. */ void Hexahedron::getBoundaryElems( vector< const SMDS_MeshElement* > & boundaryElems ) { @@ -5005,8 +5005,8 @@ namespace if ( !faceID ) break; if ( _grid->IsInternal( faceID ) || - _grid->IsShared( faceID ) || - _grid->IsBoundaryFace( faceID )) + _grid->IsShared( faceID ) /*|| + _grid->IsBoundaryFace( faceID )*/) break; // create only if a new face will be used by other 3D algo } diff --git a/src/StdMeshers/StdMeshers_Cartesian_3D.hxx b/src/StdMeshers/StdMeshers_Cartesian_3D.hxx index 593646a74..18797e278 100644 --- a/src/StdMeshers/StdMeshers_Cartesian_3D.hxx +++ b/src/StdMeshers/StdMeshers_Cartesian_3D.hxx @@ -35,6 +35,8 @@ * internal part of a solid shape and polyhedral volumes near the shape boundary. * * Issue 0021336 + * Issue #16523: Treatment of internal faces + * Issue #17237: Body fitting on sub-mesh */ class StdMeshers_CartesianParameters3D; -- 2.39.2