Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh into occ/26452_face_ori

This commit is contained in:
eap 2021-11-15 13:04:17 +03:00
commit b8fafc9b0d
3 changed files with 69 additions and 30 deletions

View File

@ -106,6 +106,8 @@ class fissureCoude_6(fissureCoude):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 7392, \
Entity_Quad_Hexa = 9888, \
@ -116,3 +118,14 @@ class fissureCoude_6(fissureCoude):
Entity_Quad_Pyramid = 452, \
Entity_Quad_Penta = 408 \
)
else:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 7392, \
Entity_Quad_Hexa = 9888, \
Entity_Node = 62361, \
Entity_Quad_Edge = 833, \
Entity_Quad_Triangle = 983, \
Entity_Quad_Tetra = 7642, \
Entity_Quad_Pyramid = 452, \
Entity_Quad_Penta = 408 \
)

View File

@ -107,6 +107,8 @@ class fissureCoude_7(fissureCoude):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 7758, \
Entity_Quad_Hexa = 10696, \
@ -117,3 +119,14 @@ class fissureCoude_7(fissureCoude):
Entity_Quad_Pyramid = 668, \
Entity_Quad_Penta = 612 \
)
else:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 7758, \
Entity_Quad_Hexa = 10696, \
Entity_Node = 70936, \
Entity_Quad_Edge = 881, \
Entity_Quad_Triangle = 1300, \
Entity_Quad_Tetra = 10449, \
Entity_Quad_Pyramid = 668, \
Entity_Quad_Penta = 612 \
)

View File

@ -107,6 +107,8 @@ class fissureCoude_8(fissureCoude):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 4572, \
Entity_Quad_Hexa = 5128, \
@ -117,3 +119,14 @@ class fissureCoude_8(fissureCoude):
Entity_Quad_Pyramid = 768, \
Entity_Quad_Penta = 752 \
)
else:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 4572, \
Entity_Quad_Hexa = 5128, \
Entity_Node = 46393, \
Entity_Quad_Edge = 648, \
Entity_Quad_Triangle = 1286, \
Entity_Quad_Tetra = 11686, \
Entity_Quad_Pyramid = 768, \
Entity_Quad_Penta = 752 \
)