"split_overconstrained_tetrahedra", // no
"" // mark of end
};
- _commonMGTetraAdvancedOptions = { "split_overconstrained_tetrahedra" };
+
int i = 0;
while (boolOptionNames[i][0])
{
{
option = o2v->first;
value = this->GetOptionValue( option, &isDefault );
- std::cout << option << ", " << value << std::endl;
if ( isDefault )
continue;
* \brief Return command to run MG-Tetra mesher excluding file prefix (-f)
*/
//================================================================================
-
std::string GHS3DPlugin_Hypothesis::CommandToRun(const GHS3DPlugin_Hypothesis* hyp,
const bool hasShapeToMesh,
const bool forExecutable)
if ( aInitialMemory > 0 ) cmd += SMESH_Comment( int( aInitialMemory ));
else cmd += "100";
}
+
// component to mesh
if ( comp && !useBndRecovery ) {
// We always run MG-Tetra with "to mesh holes'==TRUE (see PAL19680)
cmd += " --verbose " + SMESH_Comment( hyp->myVerboseLevel );
}
- // boundary recovery version
- // if ( useBndRecovery ) {
- // cmd += " -C";
- // }
-
- // to use FEM correction
- // if ( fem && hyp && hyp->myToUseFemCorrection) {
- // cmd += " -FEM";
- // }
-
// to remove initial central point.
if ( rem && hyp->myToRemoveCentralPoint ) {
if ( forExecutable )
cmd += " --centralpoint no";
}
- // options as text
- // if ( !hyp->myTextOption.empty() ) {
- // cmd += " " + hyp->myTextOption;
- // }
-
-
if ( hyp->GetMinSize() > 0 )
cmd += " --min_size " + SMESH_Comment( hyp->GetMinSize() );
{
cmd += " --max_number_of_threads " + SMESH_Comment( hyp->GetNumOfThreads() );
const char* pthreadMode[] = { "none" , "aggressive" , "safe" };
- if ( hyp->myPthreadModeMG >= 0 && hyp->myPthreadModeMG < 3 ) {
+ if ( hyp->myPthreadModeMG >= 1 && hyp->myPthreadModeMG < 3 ) {
cmd += " --pthreads_mode ";
cmd += pthreadMode[ hyp->myPthreadModeMG ];
}