0021942: [CEA 700] Behavior of the Mesh.Triangle(algo=smesh.NETGEN) command

In Compute(), report on hiding algo
This commit is contained in:
eap 2012-11-07 08:30:39 +00:00
parent 0e8ed41adb
commit b0362f7109

View File

@ -1225,9 +1225,13 @@ class Mesh:
elif err.state == HYP_BAD_GEOMETRY: elif err.state == HYP_BAD_GEOMETRY:
reason = ('%s %sD algorithm "%s" is assigned to mismatching' reason = ('%s %sD algorithm "%s" is assigned to mismatching'
'geometry' % ( glob, dim, name )) 'geometry' % ( glob, dim, name ))
elif err.state == HYP_HIDDEN_ALGO:
reason = ('%s %sD algorithm "%s" is ignored due to presence of a %s '
'algorithm of upper dimension generating %sD mesh'
% ( glob, dim, name, glob, dim ))
else: else:
reason = "For unknown reason."+\ reason = ("For unknown reason. "
" Revise Mesh.Compute() implementation in smeshDC.py!" "Developer, revise Mesh.Compute() implementation in smeshDC.py!")
pass pass
if allReasons != "":allReasons += "\n" if allReasons != "":allReasons += "\n"
allReasons += "- " + reason allReasons += "- " + reason