22690: [CEA 1276] Regression on the test script ecorce.py
This commit is contained in:
parent
c0eaa8e783
commit
d4270a3332
@ -289,7 +289,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh,
|
||||
for ( int iF = 0; fExp.More(); fExp.Next(), ++iF )
|
||||
{
|
||||
TopoDS_Face F = TopoDS::Face( fExp.Current() /*.Oriented( TopAbs_FORWARD )*/);
|
||||
int faceID = meshDS->ShapeToIndex( aShape );
|
||||
int faceID = meshDS->ShapeToIndex( F );
|
||||
SMESH_ComputeErrorPtr& faceErr = aMesh.GetSubMesh( F )->GetComputeError();
|
||||
|
||||
_quadraticMesh = helper.IsQuadraticSubMesh( F );
|
||||
|
@ -193,8 +193,9 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh,
|
||||
const TopoDS_Shape& aShape)
|
||||
{
|
||||
netgen::multithread.terminate = 0;
|
||||
netgen::multithread.task = "Volume meshing";
|
||||
_progressByTic = -1.;
|
||||
|
||||
|
||||
SMESHDS_Mesh* meshDS = aMesh.GetMeshDS();
|
||||
|
||||
SMESH_MesherHelper helper(aMesh);
|
||||
@ -234,12 +235,14 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh,
|
||||
SMESH_ProxyMesh::Ptr proxyMesh( new SMESH_ProxyMesh( aMesh ));
|
||||
if ( _viscousLayersHyp )
|
||||
{
|
||||
netgen::multithread.percent = 3;
|
||||
proxyMesh = _viscousLayersHyp->Compute( aMesh, aShape );
|
||||
if ( !proxyMesh )
|
||||
return false;
|
||||
}
|
||||
if ( aMesh.NbQuadrangles() > 0 )
|
||||
{
|
||||
netgen::multithread.percent = 6;
|
||||
StdMeshers_QuadToTriaAdaptor* Adaptor = new StdMeshers_QuadToTriaAdaptor;
|
||||
Adaptor->Compute(aMesh,aShape,proxyMesh.get());
|
||||
proxyMesh.reset( Adaptor );
|
||||
|
Loading…
Reference in New Issue
Block a user