Bug 0020201: EDF SMESH 984: Dump with Netgen1D2D3D doest not work.

This commit is contained in:
jfa 2009-03-10 09:12:29 +00:00
parent e4630fff0c
commit 2534543b1e

View File

@ -1287,7 +1287,7 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th
} }
else if ( hypType == "NETGEN_SimpleParameters_2D") { else if ( hypType == "NETGEN_SimpleParameters_2D") {
hyp->SetConvMethodAndType( "Parameters", "NETGEN_2D"); hyp->SetConvMethodAndType( "Parameters", "NETGEN_2D");
hyp->myArgs.Append( "which=SIMPLE" ); hyp->myArgs.Append( "which=smesh.SIMPLE" );
} }
else if ( hypType == "NETGEN_2D3D") { // 1D-2D-3D else if ( hypType == "NETGEN_2D3D") { // 1D-2D-3D
algo->SetConvMethodAndType( "Tetrahedron" , hypType.ToCString()); algo->SetConvMethodAndType( "Tetrahedron" , hypType.ToCString());
@ -1298,7 +1298,7 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th
} }
else if ( hypType == "NETGEN_SimpleParameters_3D") { else if ( hypType == "NETGEN_SimpleParameters_3D") {
hyp->SetConvMethodAndType( "Parameters", "NETGEN_2D3D"); hyp->SetConvMethodAndType( "Parameters", "NETGEN_2D3D");
hyp->myArgs.Append( "which=SIMPLE" ); hyp->myArgs.Append( "which=smesh.SIMPLE" );
} }
else if ( hypType == "NETGEN_2D_ONLY") { // 2D else if ( hypType == "NETGEN_2D_ONLY") { // 2D
algo->SetConvMethodAndType( "Triangle" , hypType.ToCString()); algo->SetConvMethodAndType( "Triangle" , hypType.ToCString());