#include "SALOME_Component.idl"
#include "SALOME_Exception.idl"
+#include "SALOME_GenericObj.idl"
#include "SALOMEDS.idl"
+#include "SMESH_Mesh.idl"
-module ADAPT{
+module SMESH{
- typedef sequence<string > string_array ;
+ typedef sequence<string> str_array ;
struct MgAdaptHypothesisData
{
string myFileInDir, myMeshFileIn, myInMeshName, myMeshFileBackground, myOutMeshName,
};
- interface MG_ADAPT : Engines::EngineComponent
+ interface MG_ADAPT : SALOME::GenericObj
{
-
- void setData( in MgAdaptHypothesisData data);
+ //MG_ADAPT CreateMG_ADAPT(in PortableServer::POA_var poa);
+ void setData( inout MgAdaptHypothesisData data);
void setMedFileIn(in string MedFileIn );
string getMedFileIn();
void setRankTimeStep(in long s, in long f);
long getRank();
+
+ void setTimeStepRankLast();
+ void setNoTimeStep();
void setLogFile(in string f);
string getLogFile();
boolean setAll();
string getCommandToRun() ;
- long compute(inout string errStr);
+ //long compute(out string errStr);
+ long compute();
+ string getErrMsg();
string getFileName() ;
string getExeName();
void copyMgAdaptHypothesisData(in MgAdaptHypothesisData f ) ;
- void checkDirPath(in string f);
+ //void checkDirPath(inout string f);
void setOptionValue(in string optionName,
in string optionValue) raises (SALOME::SALOME_Exception);
string getOptionValue(in string optionName,
- in boolean isDefault) raises (SALOME::SALOME_Exception);
- string_array getCustomOptionValuesStrVec() ;
- string_array getOptionValuesStrVec() ;
+ inout boolean isDefault) raises (SALOME::SALOME_Exception);
+ str_array getCustomOptionValuesStrVec() ;
+ str_array getOptionValuesStrVec() ;
};