mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 18:00:34 +05:00
pre: fix bug EDF 7854: src/SMDS/SMDS_UnstructuredGrid.cxx SMDS_UnstructuredGrid::extrudeVolumeFromFace(...)
This commit is contained in:
parent
0b3661cda0
commit
f87f0664bb
@ -1081,8 +1081,11 @@ SMDS_MeshCell* SMDS_UnstructuredGrid::extrudeVolumeFromFace(int vtkVolId,
|
|||||||
double *coords = this->GetPoint(oldId);
|
double *coords = this->GetPoint(oldId);
|
||||||
SMDS_MeshNode *newNode = _mesh->AddNode(coords[0], coords[1], coords[2]);
|
SMDS_MeshNode *newNode = _mesh->AddNode(coords[0], coords[1], coords[2]);
|
||||||
newId = newNode->getVtkId();
|
newId = newNode->getVtkId();
|
||||||
std::map<long, int> emptyMap;
|
if (! nodeQuadDomains.count(oldId))
|
||||||
nodeQuadDomains[oldId] = emptyMap;
|
{
|
||||||
|
std::map<long, int> emptyMap;
|
||||||
|
nodeQuadDomains[oldId] = emptyMap;
|
||||||
|
}
|
||||||
nodeQuadDomains[oldId][dom1_2] = newId;
|
nodeQuadDomains[oldId][dom1_2] = newId;
|
||||||
}
|
}
|
||||||
orderedNodes.push_back(newId);
|
orderedNodes.push_back(newId);
|
||||||
|
Loading…
Reference in New Issue
Block a user