Salome HOME
Check that meshing passes OK
[plugins/hexoticplugin.git] / doc / salome / examples / hexoticsubdom4.py
index bcb24b497b9349ddbd7735ae1ece4b80e0147250..7c3a3eddbd6b19794fbcdeda52b2c5304f7906bd 100644 (file)
@@ -21,6 +21,6 @@ Mesh_mghexa_sd4.Triangle(smeshBuilder.MG_CADSurf)
 Mesh_mghexa_sd4.Hexahedron(smeshBuilder.MG_Hexa).SetMinMaxHexes(4, 8).SetHexoticSdMode( 4 )
 
 # Compute
-Mesh_mghexa_sd4.Compute()
+assert Mesh_mghexa_sd4.Compute(), "Meshing fails"
 
 # End of script