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
/
modifying_meshes_ex26.py
diff --git
a/doc/examples/modifying_meshes_ex26.py
b/doc/examples/modifying_meshes_ex26.py
index b837d6a9c5336fe7bf2987a517c5499efc8cef9b..1a8ea2a237d9ba9095d2f9b27027fa58cc90e4d3 100644
(file)
--- a/
doc/examples/modifying_meshes_ex26.py
+++ b/
doc/examples/modifying_meshes_ex26.py
@@
-23,7
+23,7
@@
Mesh.Tetrahedron()
# compute mesh
-
Mesh.Compute(
)
+
if not Mesh.Compute(): raise Exception("Error when computing Mesh"
)
# convert to quadratic
# theForce3d = 1; this results in the medium node lying at the