Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check result of Compute() in test and examples
[modules/smesh.git]
/
test
/
doublenodes_polyhedra.py
diff --git
a/test/doublenodes_polyhedra.py
b/test/doublenodes_polyhedra.py
index 7a28ea7b28b11efd7e95403d6a8addf8b4bc9bf1..ae85b6147c3fb50f29ca5dda989ab238c1939379 100644
(file)
--- a/
test/doublenodes_polyhedra.py
+++ b/
test/doublenodes_polyhedra.py
@@
-174,6
+174,8
@@
def createMesh(algo):
algo_1d_sub.Propagation()
isDone = Mesh_1.Compute()
+ if not isDone:
+ raise Exception("Error when computing Mesh")
nb_nodes = Mesh_1.NbNodes()
# Create 2 cracks by two calls of DoubleNodeElemGroups