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
/
ex31_dimGroup.py
diff --git
a/test/ex31_dimGroup.py
b/test/ex31_dimGroup.py
index 9556189608adda72e9d7633aa47471223faf487c..8a92f546489675cc18f3234adad824e275c29bb2 100644
(file)
--- a/
test/ex31_dimGroup.py
+++ b/
test/ex31_dimGroup.py
@@
-42,6
+42,8
@@
Nb_Segments_1.SetDistrType( 0 )
Quadrangle_2D = Mesh_1.Quadrangle()
Hexa_3D = Mesh_1.Hexahedron()
isDone = Mesh_1.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
### CreateDimGroup()