]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
22834: [CEA 1347] Viscous layers: be able to choose the extrusion method
authoreap <eap@opencascade.com>
Tue, 10 Feb 2015 11:15:10 +0000 (14:15 +0300)
committereap <eap@opencascade.com>
Tue, 10 Feb 2015 11:15:10 +0000 (14:15 +0300)
resources/NETGENPlugin.xml
src/NETGENPlugin/NETGENPlugin_Mesher.cxx

index f0031ad19e759973a2f65ace21bf63be4cb62f2d..dbb09c179d69b295cf455286da41258d811e958c 100644 (file)
@@ -73,7 +73,7 @@
         <algo>NETGEN_3D=Tetrahedron()</algo>
         <hypo>MaxElementVolume=MaxElementVolume(SetMaxElementVolume())</hypo>
         <hypo>NETGEN_Parameters_3D=Parameters()</hypo>
-        <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces())</hypo>
+        <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod())</hypo>
       </python-wrap>
     </algorithm>
 
index 66df8b088cd31231fc79e0d32535463eff4418c5..6fe53707215b1c3c6123a74fe38ea11781651e74 100644 (file)
@@ -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);