Merge from V6_6_BR (V6_6_0rc2) 11/12/2012
This commit is contained in:
parent
9363872fba
commit
a1768305c4
@ -29,7 +29,7 @@
|
|||||||
# Reorganization for usage of autotools
|
# Reorganization for usage of autotools
|
||||||
# Created from configure.in.base
|
# Created from configure.in.base
|
||||||
#
|
#
|
||||||
AC_INIT([Salome2 Project NETGENPLUGIN module], [6.5.0], [webmaster.salome@opencascade.com], [SalomeNETGENPLUGIN])
|
AC_INIT([Salome2 Project NETGENPLUGIN module], [6.6.0], [webmaster.salome@opencascade.com], [SalomeNETGENPLUGIN])
|
||||||
AC_CONFIG_AUX_DIR(adm_local/unix/config_files)
|
AC_CONFIG_AUX_DIR(adm_local/unix/config_files)
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
AC_CANONICAL_TARGET
|
AC_CANONICAL_TARGET
|
||||||
|
@ -89,6 +89,7 @@
|
|||||||
<hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
|
<hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
|
||||||
<hypo>NETGEN_Parameters_2D_ONLY=Parameters()</hypo>
|
<hypo>NETGEN_Parameters_2D_ONLY=Parameters()</hypo>
|
||||||
<hypo>QuadranglePreference=SetQuadAllowed()</hypo>
|
<hypo>QuadranglePreference=SetQuadAllowed()</hypo>
|
||||||
|
<hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
|
||||||
</python-wrap>
|
</python-wrap>
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
||||||
@ -104,6 +105,7 @@
|
|||||||
<algo>NETGEN_2D=Triangle(algo=smesh.NETGEN_1D2D)</algo>
|
<algo>NETGEN_2D=Triangle(algo=smesh.NETGEN_1D2D)</algo>
|
||||||
<hypo>NETGEN_Parameters_2D=Parameters()</hypo>
|
<hypo>NETGEN_Parameters_2D=Parameters()</hypo>
|
||||||
<hypo>NETGEN_SimpleParameters_2D=Parameters(smesh.SIMPLE)</hypo>
|
<hypo>NETGEN_SimpleParameters_2D=Parameters(smesh.SIMPLE)</hypo>
|
||||||
|
<hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
|
||||||
</python-wrap>
|
</python-wrap>
|
||||||
</algorithm>
|
</algorithm>
|
||||||
|
|
||||||
|
@ -2607,7 +2607,7 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap)
|
|||||||
// Prepare OCC geometry
|
// Prepare OCC geometry
|
||||||
// -------------------------
|
// -------------------------
|
||||||
netgen::OCCGeometry occgeo;
|
netgen::OCCGeometry occgeo;
|
||||||
list< SMESH_subMesh* > meshedSM[3]; // for 0-2 dimensions
|
list< SMESH_subMesh* > meshedSM[4]; // for 0-3 dimensions
|
||||||
NETGENPlugin_Internals internals( *_mesh, _shape, _isVolume );
|
NETGENPlugin_Internals internals( *_mesh, _shape, _isVolume );
|
||||||
PrepareOCCgeometry( occgeo, _shape, *_mesh, meshedSM, &internals );
|
PrepareOCCgeometry( occgeo, _shape, *_mesh, meshedSM, &internals );
|
||||||
|
|
||||||
@ -2642,7 +2642,7 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap)
|
|||||||
netgen::Mesh *ngMesh = NULL;
|
netgen::Mesh *ngMesh = NULL;
|
||||||
char *optstr = 0;
|
char *optstr = 0;
|
||||||
int startWith = netgen::MESHCONST_ANALYSE;
|
int startWith = netgen::MESHCONST_ANALYSE;
|
||||||
int endWith = netgen::MESHCONST_ANALYSE;
|
int endWith = netgen::MESHCONST_MESHEDGES;
|
||||||
int err = netgen::OCCGenerateMesh(occgeo, ngMesh, startWith, endWith, optstr);
|
int err = netgen::OCCGenerateMesh(occgeo, ngMesh, startWith, endWith, optstr);
|
||||||
#ifdef WITH_SMESH_CANCEL_COMPUTE
|
#ifdef WITH_SMESH_CANCEL_COMPUTE
|
||||||
if(netgen::multithread.terminate)
|
if(netgen::multithread.terminate)
|
||||||
@ -2747,6 +2747,8 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap)
|
|||||||
fullNbSeg += aVec[ entity ];
|
fullNbSeg += aVec[ entity ];
|
||||||
Edge2NbSeg( Edge2NbSegIt.Key() ) = aVec[ entity ];
|
Edge2NbSeg( Edge2NbSegIt.Key() ) = aVec[ entity ];
|
||||||
}
|
}
|
||||||
|
if ( fullNbSeg == 0 )
|
||||||
|
return false;
|
||||||
|
|
||||||
// ----------------
|
// ----------------
|
||||||
// evaluate 2D
|
// evaluate 2D
|
||||||
|
Loading…
Reference in New Issue
Block a user