mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-03 18:20:33 +05:00
PR: doubleNodesOnGroupBoundaries in progress
This commit is contained in:
parent
0edf326ffd
commit
b3a725059c
@ -1131,7 +1131,8 @@ void SMDS_DownTetra::getOrderedNodesOfFace(int cellId, std::vector<vtkIdType>& o
|
||||
_grid->GetCellPoints(this->_vtkCellIds[cellId], npts, nodes);
|
||||
|
||||
set<int> 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<vtkIdType>& or
|
||||
_grid->GetCellPoints(this->_vtkCellIds[cellId], npts, nodes);
|
||||
|
||||
set<int> 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();
|
||||
|
@ -10616,9 +10616,9 @@ bool SMESH_MeshEditor::DoubleNodesInRegion( const TIDSortedElemSet& theElems,
|
||||
bool SMESH_MeshEditor::DoubleNodesOnGroupBoundaries( const std::vector<TIDSortedElemSet>& theElems,
|
||||
bool createJointElems)
|
||||
{
|
||||
MESSAGE("------------------------------------------------------");
|
||||
MESSAGE("SMESH_MeshEditor::CreateJointElementsOnGroupBoundaries");
|
||||
MESSAGE("------------------------------------------------------");
|
||||
MESSAGE("----------------------------------------------");
|
||||
MESSAGE("SMESH_MeshEditor::doubleNodesOnGroupBoundaries");
|
||||
MESSAGE("----------------------------------------------");
|
||||
|
||||
SMESHDS_Mesh *meshDS = this->myMesh->GetMeshDS();
|
||||
meshDS->BuildDownWardConnectivity(false);
|
||||
|
Loading…
Reference in New Issue
Block a user