bos #26515 [CEA 24622] Failing SMESH tests

Reference quantities depend on NETGEN version
This commit is contained in:
eap 2021-10-26 18:31:10 +03:00
parent 63d89b45fc
commit 300e5f1bc5
7 changed files with 162 additions and 70 deletions

View File

@ -58,13 +58,27 @@ class ellipse_2(ellipse_1):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 1748, \
Entity_Quad_Hexa = 3795, \
Entity_Node = 22219, \
Entity_Quad_Edge = 258, \
Entity_Quad_Triangle = 434, \
Entity_Quad_Tetra = 2574, \
Entity_Quad_Pyramid = 199, \
Entity_Quad_Penta = 120 \
)
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 1748, \
Entity_Quad_Hexa = 3795, \
Entity_Node = 22219, \
Entity_Quad_Edge = 258, \
Entity_Quad_Triangle = 434, \
Entity_Quad_Tetra = 2574, \
Entity_Quad_Pyramid = 199, \
Entity_Quad_Penta = 120 \
)
else:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 1748, \
Entity_Quad_Hexa = 3795, \
Entity_Node = 22022, \
Entity_Quad_Edge = 258, \
Entity_Quad_Triangle = 412, \
Entity_Quad_Tetra = 2442, \
Entity_Quad_Pyramid = 199, \
Entity_Quad_Penta = 120 \
)

View File

@ -113,13 +113,26 @@ class faceGauche(fissureGenerique):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
self.referencesMaillageFissure = dict( \
Entity_Quad_Edge = 750, \
Entity_Quad_Quadrangle = 4177, \
Entity_Quad_Hexa = 6224, \
Entity_Node = 81588, \
Entity_Quad_Triangle = 2298, \
Entity_Quad_Tetra = 33764, \
Entity_Quad_Pyramid = 1236, \
Entity_Quad_Penta = 936 \
)
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict( \
Entity_Quad_Edge = 750, \
Entity_Quad_Quadrangle = 4177, \
Entity_Quad_Hexa = 6224, \
Entity_Node = 81588, \
Entity_Quad_Triangle = 2298, \
Entity_Quad_Tetra = 33764, \
Entity_Quad_Pyramid = 1236, \
Entity_Quad_Penta = 936 \
)
else:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 4177, \
Entity_Quad_Hexa = 6224, \
Entity_Node = 83887, \
Entity_Quad_Edge = 750, \
Entity_Quad_Triangle = 2434, \
Entity_Quad_Tetra = 35375, \
Entity_Quad_Pyramid = 1236, \
Entity_Quad_Penta = 936 \
)

View File

@ -107,13 +107,26 @@ class fissureCoude_10(fissureCoude):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
self.referencesMaillageFissure = dict ( \
Entity_Quad_Quadrangle = 6160, \
Entity_Quad_Hexa = 5864, \
Entity_Node = 78012, \
Entity_Quad_Edge = 1346, \
Entity_Quad_Triangle = 9022, \
Entity_Quad_Tetra = 24341, \
Entity_Quad_Pyramid = 1232, \
Entity_Quad_Penta = 1136 \
)
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict ( \
Entity_Quad_Quadrangle = 6160, \
Entity_Quad_Hexa = 5864, \
Entity_Node = 78012, \
Entity_Quad_Edge = 1346, \
Entity_Quad_Triangle = 9022, \
Entity_Quad_Tetra = 24341, \
Entity_Quad_Pyramid = 1232, \
Entity_Quad_Penta = 1136 \
)
else:
self.referencesMaillageFissure = dict ( \
Entity_Quad_Quadrangle = 6160, \
Entity_Quad_Hexa = 5864, \
Entity_Node = 80605, \
Entity_Quad_Edge = 1345, \
Entity_Quad_Triangle = 9726, \
Entity_Quad_Tetra = 25690, \
Entity_Quad_Pyramid = 1232, \
Entity_Quad_Penta = 1136 \
)

View File

@ -105,13 +105,26 @@ class fissureCoude_2(fissureCoude):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 7828, \
Entity_Quad_Hexa = 10437, \
Entity_Node = 101695, \
Entity_Quad_Edge = 1199, \
Entity_Quad_Triangle = 4230, \
Entity_Quad_Tetra = 30013, \
Entity_Quad_Pyramid = 1428, \
Entity_Quad_Penta = 1344 \
)
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 7828, \
Entity_Quad_Hexa = 10437, \
Entity_Node = 101695, \
Entity_Quad_Edge = 1199, \
Entity_Quad_Triangle = 4230, \
Entity_Quad_Tetra = 30013, \
Entity_Quad_Pyramid = 1428, \
Entity_Quad_Penta = 1344 \
)
else:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 7828, \
Entity_Quad_Hexa = 10437, \
Entity_Node = 106391, \
Entity_Quad_Edge = 1199, \
Entity_Quad_Triangle = 4702, \
Entity_Quad_Tetra = 33175, \
Entity_Quad_Pyramid = 1428, \
Entity_Quad_Penta = 1344 \
)

View File

@ -105,13 +105,26 @@ class fissureCoude_5(fissureCoude):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 5366, \
Entity_Quad_Hexa = 7120, \
Entity_Node = 54832, \
Entity_Quad_Edge = 722, \
Entity_Quad_Triangle = 1570, \
Entity_Quad_Tetra = 11747, \
Entity_Quad_Pyramid = 532, \
Entity_Quad_Penta = 496 \
)
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 5366, \
Entity_Quad_Hexa = 7120, \
Entity_Node = 54832, \
Entity_Quad_Edge = 722, \
Entity_Quad_Triangle = 1570, \
Entity_Quad_Tetra = 11747, \
Entity_Quad_Pyramid = 532, \
Entity_Quad_Penta = 496 \
)
else:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 5366, \
Entity_Quad_Hexa = 7120, \
Entity_Node = 54175, \
Entity_Quad_Edge = 721, \
Entity_Quad_Triangle = 1482, \
Entity_Quad_Tetra = 11324, \
Entity_Quad_Pyramid = 532, \
Entity_Quad_Penta = 496 \
)

View File

@ -105,13 +105,26 @@ class fissureCoude_9(fissureCoude):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 14864, \
Entity_Quad_Hexa = 26772, \
Entity_Node = 156163, \
Entity_Quad_Edge = 1237, \
Entity_Quad_Triangle = 3178, \
Entity_Quad_Tetra = 16952, \
Entity_Quad_Pyramid = 916, \
Entity_Quad_Penta = 780 \
)
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 14864, \
Entity_Quad_Hexa = 26772, \
Entity_Node = 156163, \
Entity_Quad_Edge = 1237, \
Entity_Quad_Triangle = 3178, \
Entity_Quad_Tetra = 16952, \
Entity_Quad_Pyramid = 916, \
Entity_Quad_Penta = 780 \
)
else:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 14864, \
Entity_Quad_Hexa = 26772, \
Entity_Node = 157045, \
Entity_Quad_Edge = 1237, \
Entity_Quad_Triangle = 3338, \
Entity_Quad_Tetra = 17484, \
Entity_Quad_Pyramid = 916, \
Entity_Quad_Penta = 780 \
)

View File

@ -517,13 +517,26 @@ class fissure_Coude(fissureGenerique):
# ---------------------------------------------------------------------------
def setReferencesMaillageFissure(self):
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 6710, \
Entity_Quad_Hexa = 8656, \
Entity_Node = 76807, \
Entity_Quad_Edge = 1006, \
Entity_Quad_Triangle = 2342, \
Entity_Quad_Tetra = 20392, \
Entity_Quad_Pyramid = 1232, \
Entity_Quad_Penta = 1176 \
)
from salome.smesh import smeshBuilder
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 6710, \
Entity_Quad_Hexa = 8656, \
Entity_Node = 76807, \
Entity_Quad_Edge = 1006, \
Entity_Quad_Triangle = 2342, \
Entity_Quad_Tetra = 20392, \
Entity_Quad_Pyramid = 1232, \
Entity_Quad_Penta = 1176 \
)
else:
self.referencesMaillageFissure = dict( \
Entity_Quad_Quadrangle = 6710, \
Entity_Quad_Hexa = 8656, \
Entity_Node = 77391, \
Entity_Quad_Edge = 1006, \
Entity_Quad_Triangle = 2496, \
Entity_Quad_Tetra = 20711, \
Entity_Quad_Pyramid = 1232, \
Entity_Quad_Penta = 1176 \
)