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_ex01.py
diff --git
a/doc/examples/defining_hypotheses_ex01.py
b/doc/examples/defining_hypotheses_ex01.py
index 734c7ea02e9b2e73926e2168ac531bb90b961cc8..48571de5fc53f37cc4c9ded8d7ddbf39fedd0144 100644
(file)
--- a/
doc/examples/defining_hypotheses_ex01.py
+++ b/
doc/examples/defining_hypotheses_ex01.py
@@
-40,4
+40,4
@@
hexa.Quadrangle()
hexa.Hexahedron()
# compute the mesh
-
hexa.Compute(
)
+
if not hexa.Compute(): raise Exception("Error when computing Mesh"
)