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
[bos #38052][EDF](2023-T3) Option to replace polyhedrons by hexahedrons in the body...
[modules/smesh.git]
/
test
/
ex30_groupsOp.py
diff --git
a/test/ex30_groupsOp.py
b/test/ex30_groupsOp.py
index db186bca3381ab90c51cbed4862fc908622d1311..569aae745e1a9acbb64c5bd9b699f3d735ec1981 100644
(file)
--- a/
test/ex30_groupsOp.py
+++ b/
test/ex30_groupsOp.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-202
2 CEA/DEN, EDF R&D
, OPEN CASCADE
+# Copyright (C) 2007-202
4 CEA, EDF
, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-42,6
+42,8
@@
Nb_Segments_1 = Regular_1D.NumberOfSegments(10)
Nb_Segments_1.SetDistrType( 0 )
Quadrangle_2D = Mesh_1.Quadrangle()
isDone = Mesh_1.Compute()
Nb_Segments_1.SetDistrType( 0 )
Quadrangle_2D = Mesh_1.Quadrangle()
isDone = Mesh_1.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# groups creation
# groups creation