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_len_near_vertex.py
diff --git
a/doc/examples/defining_hypotheses_len_near_vertex.py
b/doc/examples/defining_hypotheses_len_near_vertex.py
index f2f024ffda55778a87ee31a36b88b1ae1580b743..5fca17b5b006826897e551606187b90ebd621122 100644
(file)
--- a/
doc/examples/defining_hypotheses_len_near_vertex.py
+++ b/
doc/examples/defining_hypotheses_len_near_vertex.py
@@
-28,4
+28,4
@@
mesh.Hexahedron()
# define refinement near vertices
algo1d.LengthNearVertex( 0.2 )
-
mesh.Compute(
)
+
if not mesh.Compute(): raise Exception("Error when computing Mesh"
)