From: eap Date: Tue, 10 Feb 2015 11:15:10 +0000 (+0300) Subject: 22834: [CEA 1347] Viscous layers: be able to choose the extrusion method X-Git-Tag: V7_6_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=517fcbe5f1cb1b7174d85ddf27f8d735d28432d5;p=plugins%2Fnetgenplugin.git 22834: [CEA 1347] Viscous layers: be able to choose the extrusion method --- diff --git a/resources/NETGENPlugin.xml b/resources/NETGENPlugin.xml index f0031ad..dbb09c1 100644 --- a/resources/NETGENPlugin.xml +++ b/resources/NETGENPlugin.xml @@ -73,7 +73,7 @@ NETGEN_3D=Tetrahedron() MaxElementVolume=MaxElementVolume(SetMaxElementVolume()) NETGEN_Parameters_3D=Parameters() - ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces()) + ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod()) diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index 66df8b0..6fe5370 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -1235,7 +1235,7 @@ void NETGENPlugin_Mesher::AddIntVerticesInFaces(const netgen::OCCGeometry& o nodeVec.push_back( nV ); // get node UV - bool uvOK = false; + bool uvOK = true; vData.uv = helper.GetNodeUV( face, nV, 0, &uvOK ); if ( !uvOK ) helper.CheckNodeUV( face, nV, vData.uv, BRep_Tool::Tolerance(V),/*force=*/1);