From: prascle Date: Wed, 9 Mar 2011 16:05:51 +0000 (+0000) Subject: PR: doubleNodesOnGroupBoundaries in progress X-Git-Tag: StartingPortingMED3~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3a725059c54ed6d126447e299d213bf9cd0a459;p=modules%2Fsmesh.git PR: doubleNodesOnGroupBoundaries in progress --- diff --git a/src/SMDS/SMDS_Downward.cxx b/src/SMDS/SMDS_Downward.cxx index 962321ed8..5d04c0125 100644 --- a/src/SMDS/SMDS_Downward.cxx +++ b/src/SMDS/SMDS_Downward.cxx @@ -1131,7 +1131,8 @@ void SMDS_DownTetra::getOrderedNodesOfFace(int cellId, std::vector& o _grid->GetCellPoints(this->_vtkCellIds[cellId], npts, nodes); set tofind; - int ids[12] = { 0, 1, 2, 0, 1, 3, 0, 2, 3, 1, 2, 3 }; + int ids[12] = { 0, 1, 2, 0, 3, 1, 2, 3, 0, 1, 3, 2 }; +//int ids[12] = { 2, 1, 0, 1, 3, 0, 0, 3, 2, 2, 3, 1 }; for (int k = 0; k < 4; k++) { tofind.clear(); @@ -1795,7 +1796,8 @@ void SMDS_DownHexa::getOrderedNodesOfFace(int cellId, std::vector& or _grid->GetCellPoints(this->_vtkCellIds[cellId], npts, nodes); set tofind; - int ids[24] = { 0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 5, 4, 3, 2, 6, 7, 0, 3, 7, 4, 1, 2, 6, 5}; +//int ids[24] = { 0, 1, 2, 3, 7, 6, 5, 4, 4, 0, 3, 7, 5, 1, 0, 4, 6, 2, 1, 5, 7, 3, 2, 6}; + int ids[24] = { 3, 2, 1, 0, 4, 5, 6, 7, 7, 3, 0, 4, 4, 0, 1, 5, 5, 1, 2, 6, 6, 2, 3, 7}; for (int k = 0; k < 6; k++) // loop on the 6 faces { tofind.clear(); diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 37d6e26d9..a747d99c8 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -10616,9 +10616,9 @@ bool SMESH_MeshEditor::DoubleNodesInRegion( const TIDSortedElemSet& theElems, bool SMESH_MeshEditor::DoubleNodesOnGroupBoundaries( const std::vector& theElems, bool createJointElems) { - MESSAGE("------------------------------------------------------"); - MESSAGE("SMESH_MeshEditor::CreateJointElementsOnGroupBoundaries"); - MESSAGE("------------------------------------------------------"); + MESSAGE("----------------------------------------------"); + MESSAGE("SMESH_MeshEditor::doubleNodesOnGroupBoundaries"); + MESSAGE("----------------------------------------------"); SMESHDS_Mesh *meshDS = this->myMesh->GetMeshDS(); meshDS->BuildDownWardConnectivity(false);