X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FblocFissure%2Fgmu%2FmeshBlocPart.py;h=a273b4916aaf3a263cdc2b71c733c8e386915709;hp=ccde33c9c486400ab10771a745696531714849bc;hb=0068dfdcb1ee619cb96d637e7384d6e341e71cff;hpb=65d5c162a53ab3e5dde959524035211c9da8f194 diff --git a/src/Tools/blocFissure/gmu/meshBlocPart.py b/src/Tools/blocFissure/gmu/meshBlocPart.py index ccde33c9c..a273b4916 100644 --- a/src/Tools/blocFissure/gmu/meshBlocPart.py +++ b/src/Tools/blocFissure/gmu/meshBlocPart.py @@ -194,7 +194,14 @@ def meshBlocPart(blocPartition, faceFissure, tore, centres, edges, diams, circle putName(algo3d, "algo3d_ellipsoide") putName(hypo3d, "hypo3d_ellipsoide") - isDone = bloc1.Compute() + is_done = bloc1.Compute() + text = "bloc1.Compute" + if is_done: + logging.info(text+" OK") + else: + text = "Erreur au calcul du maillage.\n" + text + logging.info(text) + raise Exception(text) nbRemoved = bloc1.RemoveOrphanNodes() @@ -230,9 +237,9 @@ def meshBlocPart(blocPartition, faceFissure, tore, centres, edges, diams, circle putName(hypo3d, "hypo3d_bloc") is_done = blocMesh.Compute() - text = "meshBlocPart Compute" + text = "blocMesh.Compute" if is_done: - logging.info(text) + logging.info(text+" OK") else: text = "Erreur au calcul du maillage.\n" + text logging.info(text)