const bool hasShapeToMesh,
const bool forExecutable)
{
- GHS3DPlugin_Hypothesis::ImplementedAlgorithms algoId = (ImplementedAlgorithms) hyp->myAlgorithm;
+ GHS3DPlugin_Hypothesis::ImplementedAlgorithms algoId = hyp ? (ImplementedAlgorithms) hyp->myAlgorithm : MGTetra;
std::string cmd = GetExeName( algoId );
+
// check if any option is overridden by hyp->myTextOption
bool max_memory = hyp ? !hyp->HasOptionDefined("max_memory") : true;
bool auto_memory = hyp ? !hyp->HasOptionDefined("automatic_memory") : true;
double myGradation;
bool myUseVolumeProximity;
int myNbVolumeProximityLayers;
- double myMinSize, myMinSizeDefault;
- double myMaxSize, myMaxSizeDefault;
- //std::string myTextOption;
short myAlgorithm; //member used to pivot between MG-Tetra and MG-Tetra
- bool myUseNumOfThreads;
short myNumOfThreads;
+ bool myUseNumOfThreads;
short myPthreadModeMG;
short myPthreadModeMGHPC;
+ double myMinSize, myMinSizeDefault;
+ double myMaxSize, myMaxSizeDefault;
+ //std::string myTextOption;
+
TOptionValues _option2value, _customOption2value; // user defined values
TOptionValues _defaultOptionValues; // default values
myOptimizationLevelCombo(0),
myMinSizeCheck(0),
myMaxSizeCheck(0),
- myNumOfThreadsCheck(0),
myMinSizeSpin(0),
myMaxSizeSpin(0),
+ myNumOfThreadsCheck(0),
+ myNumOfThreadsSpin(0),
myGradationCheck(0),
myGradationSpin(0),
- myNumOfThreadsSpin(0),
myUseProximityGroup(0),
myNbProximityLayers(0),
myToMakeGroupsOfDomains(0),
myAdvWidget->initialMemoryCheck ->setEnabled( true );
myAdvWidget->EnableAdvancedOptions( true );
-
+ myEnfGroup->setEnabled( true );
+ myEnfMeshGroup->setEnabled( true );
}
else if ( myRadioBottomGroup->checkedId() == GHS3DPlugin_Hypothesis::MGTetraHPC )
{
myAdvWidget->maxMemoryCheck ->setEnabled( false );
myAdvWidget->initialMemoryCheck ->setEnabled( false );
myAdvWidget->EnableAdvancedOptions( false );
+ myEnfGroup->setEnabled( false );
+ myEnfMeshGroup->setEnabled( false );
}
}
QCheckBox* myMaxSizeCheck;
SMESHGUI_SpinBox* myMinSizeSpin;
SMESHGUI_SpinBox* myMaxSizeSpin;
- QButtonGroup* myRadioBottomGroup;
- QComboBox* myPthreadMode;
- QComboBox* myParallelMode;
QCheckBox* myNumOfThreadsCheck;
SalomeApp_IntSpinBox* myNumOfThreadsSpin;
mutable double myMinSizeDefault, myMaxSizeDefault;
SalomeApp_IntSpinBox* myNumberOfThreadsSpin;
QCheckBox* mySmoothOffSliversCheck;
QCheckBox* myCreateNewNodesCheck;
+ QComboBox* myPthreadMode;
+ QComboBox* myParallelMode;
+ QButtonGroup* myRadioBottomGroup;
QWidget* myAdvGroup;
GHS3DPluginGUI_AdvWidget* myAdvWidget;