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
/
SMESH_create_dual_mesh_tpipe.py
diff --git
a/test/SMESH_create_dual_mesh_tpipe.py
b/test/SMESH_create_dual_mesh_tpipe.py
index 28bc26a4fa8fb60196c79bb95bfa637700d0b91d..fce3c252afe0b981debab0c0e77aaa45cdea1d4e 100644
(file)
--- a/
test/SMESH_create_dual_mesh_tpipe.py
+++ b/
test/SMESH_create_dual_mesh_tpipe.py
@@
-83,6
+83,8
@@
algo3d = Mesh_1.Tetrahedron(algo=smeshBuilder.NETGEN_3D)
algo3d.MaxElementVolume(0.0002)
isDone = Mesh_1.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Create groups
d_geom_groups = {}