mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 14:00:33 +05:00
IPAL21957: Max Element Area does not influence on resulting mesh for Triangle Mefisto
Partially restore "protection contre une arete max desiree trop grande ou trop petite": max size has been limited to make pass /bugs/S1 non-regression test (NETGEN failes starting from the mesh made by MEFISTO)
This commit is contained in:
parent
eb35b6b399
commit
353134d557
@ -345,9 +345,11 @@ void aptrte( Z nutysu, R aretmx,
|
||||
// devenu un commentaire aretmx = Min( aretmx, aremax ); //pour homogeneiser
|
||||
|
||||
// protection contre une arete max desiree trop grande ou trop petite
|
||||
// if( aretmx > aremax*2.05 ) aretmx = aremax;
|
||||
//if( aretmx > aremax*2.05 ) aretmx = aremax;
|
||||
#define _MAXFACT 4.05
|
||||
if( aretmx > aremin*_MAXFACT ) aretmx = aremin*_MAXFACT;
|
||||
|
||||
// // protection contre une arete max desiree trop petite
|
||||
// protection contre une arete max desiree trop petite
|
||||
// if( (aremax-aremin) > (aremin+aremax)*0.05 && aretmx < aremin*0.5 )
|
||||
// aretmx =(aremin+aremax*2)/3.0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user