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]
/
doc
/
examples
/
defining_hypotheses_ex05.py
diff --git
a/doc/examples/defining_hypotheses_ex05.py
b/doc/examples/defining_hypotheses_ex05.py
index 4b2d1a75bcdd3dc543d3c516cb2340c62da312ff..e18ccebb802ea04baa3e2881a66b7472e3336a7f 100644
(file)
--- a/
doc/examples/defining_hypotheses_ex05.py
+++ b/
doc/examples/defining_hypotheses_ex05.py
@@
-40,4
+40,4
@@
algo = tria_mesh.Triangle()
algo.MaxElementArea(100)
# compute the mesh
-
tria_mesh.Compute(
)
+
if not tria_mesh.Compute(): raise Exception("Error when computing Mesh"
)