mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
bos #26515 [CEA 24622] Failing SMESH tests
Reference quantities depend on NETGEN version
This commit is contained in:
parent
63d89b45fc
commit
300e5f1bc5
@ -58,6 +58,8 @@ class ellipse_2(ellipse_1):
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
def setReferencesMaillageFissure(self):
|
||||
from salome.smesh import smeshBuilder
|
||||
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
|
||||
self.referencesMaillageFissure = dict( \
|
||||
Entity_Quad_Quadrangle = 1748, \
|
||||
Entity_Quad_Hexa = 3795, \
|
||||
@ -68,3 +70,15 @@ class ellipse_2(ellipse_1):
|
||||
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 \
|
||||
)
|
||||
|
||||
|
@ -113,6 +113,8 @@ class faceGauche(fissureGenerique):
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
def setReferencesMaillageFissure(self):
|
||||
from salome.smesh import smeshBuilder
|
||||
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
|
||||
self.referencesMaillageFissure = dict( \
|
||||
Entity_Quad_Edge = 750, \
|
||||
Entity_Quad_Quadrangle = 4177, \
|
||||
@ -123,3 +125,14 @@ class faceGauche(fissureGenerique):
|
||||
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 \
|
||||
)
|
||||
|
@ -107,6 +107,8 @@ class fissureCoude_10(fissureCoude):
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
def setReferencesMaillageFissure(self):
|
||||
from salome.smesh import smeshBuilder
|
||||
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
|
||||
self.referencesMaillageFissure = dict ( \
|
||||
Entity_Quad_Quadrangle = 6160, \
|
||||
Entity_Quad_Hexa = 5864, \
|
||||
@ -117,3 +119,14 @@ class fissureCoude_10(fissureCoude):
|
||||
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 \
|
||||
)
|
||||
|
@ -105,6 +105,8 @@ class fissureCoude_2(fissureCoude):
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
def setReferencesMaillageFissure(self):
|
||||
from salome.smesh import smeshBuilder
|
||||
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
|
||||
self.referencesMaillageFissure = dict( \
|
||||
Entity_Quad_Quadrangle = 7828, \
|
||||
Entity_Quad_Hexa = 10437, \
|
||||
@ -115,3 +117,14 @@ class fissureCoude_2(fissureCoude):
|
||||
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 \
|
||||
)
|
||||
|
@ -105,6 +105,8 @@ class fissureCoude_5(fissureCoude):
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
def setReferencesMaillageFissure(self):
|
||||
from salome.smesh import smeshBuilder
|
||||
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
|
||||
self.referencesMaillageFissure = dict( \
|
||||
Entity_Quad_Quadrangle = 5366, \
|
||||
Entity_Quad_Hexa = 7120, \
|
||||
@ -115,3 +117,14 @@ class fissureCoude_5(fissureCoude):
|
||||
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 \
|
||||
)
|
||||
|
@ -105,6 +105,8 @@ class fissureCoude_9(fissureCoude):
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
def setReferencesMaillageFissure(self):
|
||||
from salome.smesh import smeshBuilder
|
||||
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
|
||||
self.referencesMaillageFissure = dict( \
|
||||
Entity_Quad_Quadrangle = 14864, \
|
||||
Entity_Quad_Hexa = 26772, \
|
||||
@ -115,3 +117,14 @@ class fissureCoude_9(fissureCoude):
|
||||
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 \
|
||||
)
|
||||
|
@ -517,6 +517,8 @@ class fissure_Coude(fissureGenerique):
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
def setReferencesMaillageFissure(self):
|
||||
from salome.smesh import smeshBuilder
|
||||
if smeshBuilder.NETGEN_VERSION_MAJOR < 6:
|
||||
self.referencesMaillageFissure = dict( \
|
||||
Entity_Quad_Quadrangle = 6710, \
|
||||
Entity_Quad_Hexa = 8656, \
|
||||
@ -527,3 +529,14 @@ class fissure_Coude(fissureGenerique):
|
||||
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 \
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user