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_ex14.py
diff --git
a/doc/examples/defining_hypotheses_ex14.py
b/doc/examples/defining_hypotheses_ex14.py
index accc5879b012b2c72bd5b22baad20a490eca17ec..bc7ce0b993f590df54d637fef9fff2772e79c95d 100644
(file)
--- a/
doc/examples/defining_hypotheses_ex14.py
+++ b/
doc/examples/defining_hypotheses_ex14.py
@@
-28,4
+28,4
@@
Nb_Segments_1 = Regular_1D.NumberOfSegments(10)
Quadrangle_2D = Mesh_1.Quadrangle().TriangleVertex( triaVertex )
# Compute the mesh
-
Mesh_1.Compute(
)
+
if not Mesh_1.Compute(): raise Exception("Error when computing Mesh"
)