# -*- coding: utf-8 -*-
-# Copyright (C) 2014-2021 EDF R&D
+# Copyright (C) 2014-2023 EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
"""
logging.info('start')
- logging.info("Maillage avec %s pour le cas n°%d", mailleur, nro_cas)
+ logging.info("Maillage avec %s pour le cas n°%s", mailleur, nro_cas)
meshFissure = smesh.Mesh(facefiss)
putName(meshFissure, "facefiss", i_pref=nro_cas)
hypo2d.SetOptimize( 1 )
hypo2d.SetFineness( 2 )
hypo2d.SetMinSize( minSize )
+ hypo2d.SetChordalErrorEnabled (True)
+ hypo2d.SetChordalError( maxSize*0.25 )
+ hypo2d.SetUseSurfaceCurvature (True)
hypo2d.SetQuadAllowed( 0 )
- putName(algo2d, "algo2d_zoneFiss", i_pref=nro_cas)
- putName(hypo2d, "hypo1d_zoneFiss", i_pref=nro_cas)
+ putName(hypo2d, "zoneFiss", i_pref=nro_cas)
is_done = meshFissure.Compute()
text = "meshFissure.Compute"