20 #ifndef MG_ADAPT_I_HXX
21 #define MG_ADAPT_I_HXX
25 #include <SALOMEconfig.h>
26 #include CORBA_SERVER_HEADER(MG_ADAPT)
27 #include "SALOME_GenericObj_i.hh"
28 #include <SALOME_GenericObj_wrap.hxx>
34 class MgAdaptHypothesisData;
42 public virtual SALOME::GenericObj_i,
43 public virtual POA_SMESH::MG_ADAPT
50 void setMedFileIn(
const char* str);
53 void setMedFileOut(
const char* str);
54 char* getMedFileOut();
56 void setMeshName(
const char* str);
59 void setMeshNameOut(
const char* str);
60 char* getMeshNameOut();
62 void setMeshOutMed(
bool mybool);
65 void setPublish(
bool mybool);
68 void setSizeMapFieldName(
const char* str);
69 char* getSizeMapFieldName();
71 void setTimeStep(CORBA::Long t);
72 CORBA::Long getTimeStep() ;
74 void setTimeStepRank(CORBA::Long t, CORBA::Long r );
75 CORBA::Long getRank();
77 void setTimeStepRankLast();
80 void setLogFile(
const char* str);
83 void setVerbosityLevel(CORBA::Long v);
84 CORBA::Long getVerbosityLevel();
86 void setRemoveOnSuccess(
bool mybool);
87 bool getRemoveOnSuccess();
90 void setSizeMapType(
const char* type);
91 void setUseLocalMap(
bool mybool);
92 bool getUseLocalMap();
94 void setUseBackgroundMap(
bool mybool);
95 bool getUseBackgroundMap();
97 void setUseConstantValue(
bool mybool);
98 bool getUseConstantValue();
100 void setConstantSize(
double value);
101 double getConstantSize();
103 void setSizeMapFile(
const char* str);
104 char* getSizeMapFile();
106 void setFromMedFile(
bool mybool);
107 bool isFromMedFile();
109 void setKeepWorkingFiles(
bool mybool);
110 bool getKeepWorkingFiles();
115 void setWorkingDir(
const char* str);
116 char* getWorkingDir() ;
118 void setPrintLogInFile(
bool mybool);
119 bool getPrintLogInFile();
122 char* getCommandToRun() ;
133 bool hasOptionDefined(
const char* optionName ) ;
134 void setOptionValue(
const char* optionName,
135 const char* optionValue);
136 char* getOptionValue(
const char* optionName,
152 public virtual SALOME::GenericObj_i,
153 public virtual POA_SMESH::MG_ADAPT_OBJECT {
156 void setMeshIn( SMESH::SMESH_Mesh_ptr theMesh );
157 void setMEDFileIn(
const char* f);
158 void setMEDFileOut(
const char* f);
159 void setMEDFileBackground(
const char* f);
160 void AddHypothesis(SMESH::MG_ADAPT_ptr);
161 CORBA::Long Compute(
bool Publish);
164 bool checkMeshFileIn();
#define SMESH_I_EXPORT
Definition: SMESH.hxx:39
std::string getMeshName(std::string mesh_file)
Definition: SMESH_DriverMesh.cxx:57
Definition: MG_ADAPT.hxx:59
Definition: MG_ADAPT_i.hxx:153
SMESH::SMESH_Mesh_var myMesh
Definition: MG_ADAPT_i.hxx:166
bool publish
Definition: MG_ADAPT_i.hxx:165
std::string medFileBackground
Definition: MG_ADAPT_i.hxx:163
SALOME::GenericObj_wrap< SMESH::MG_ADAPT > hypothesis
Definition: MG_ADAPT_i.hxx:167
Definition: MG_ADAPT_i.hxx:44
::MG_ADAPT::MgAdapt * myMgAdapt
Definition: MG_ADAPT_i.hxx:146
std::string errStr
Definition: MG_ADAPT_i.hxx:147
Definition: MG_ADAPT.hxx:36
Definition: SMESH_ControlsDef.hxx:64
sequence< string > string_array
Definition: SMESH_Mesh.idl:46
Definition: MG_ADAPT.hxx:43
Definition: MG_ADAPT.idl:32