Salome HOME
updated copyright message
[modules/smesh.git] / test / ex31_dimGroup.py
index 9556189608adda72e9d7633aa47471223faf487c..b7270b24219a0c2177e2038d9d2c37008b76a3b6 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2023  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
@@ -42,6 +42,8 @@ Nb_Segments_1.SetDistrType( 0 )
 Quadrangle_2D = Mesh_1.Quadrangle()
 Hexa_3D = Mesh_1.Hexahedron()
 isDone = Mesh_1.Compute()
+if not isDone:
+    raise Exception("Error when computing Mesh")
 
 ### CreateDimGroup()