-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
public:
- GHS3DPRLPlugin_Hypothesis(int hypId, int studyId, SMESH_Gen* gen);
+ GHS3DPRLPlugin_Hypothesis(int hypId, SMESH_Gen* gen);
static const char* GetHypType() { return "MG-Tetra Parallel Parameters"; }
void SetMaxSize(float theVal);
float GetMaxSize() const { return _MaxSize; }
+ void SetAdvancedOption(const char* theOptAndVals );
+ std::string GetAdvancedOption() const { return _AdvOptions; }
// the parameters default values
// Persistence
virtual std::ostream& SaveTo(std::ostream& save);
virtual std::istream& LoadFrom(std::istream& load);
- friend std::ostream& operator <<(std::ostream& save, GHS3DPRLPlugin_Hypothesis& hyp);
- friend std::istream& operator >>(std::istream& load, GHS3DPRLPlugin_Hypothesis& hyp);
/*!
* \brief Does nothing
virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0);
private:
- int _countSubMesh;
- int _countTotal;
- int _nodeRefNumber;
-
- std::string _MEDName; // generic path/name of med files
- int _NbPart; // number of partitions
- bool _KeepFiles; // keep intermediates tepal files or not
- bool _Background; // mg-tetra_hpc in background
- bool _Multithread; // launch mg-tetra_hpc multithread version, else mpi version
-// bool _ToMergeSubdomains;
- float _Gradation;
- float _MinSize;
- float _MaxSize;
+ int _countSubMesh;
+ int _countTotal;
+ int _nodeRefNumber;
+
+ std::string _MEDName; // generic path/name of med files
+ int _NbPart; // number of partitions
+ bool _KeepFiles; // keep intermediates tepal files or not
+ bool _Background; // mg-tetra_hpc in background
+ bool _Multithread; // launch mg-tetra_hpc multithread version, else mpi version
+ float _Gradation;
+ float _MinSize;
+ float _MaxSize;
+ std::string _AdvOptions;
};
#endif