Tabulations

This commit is contained in:
Gérald NICOLAS 2021-02-09 15:09:36 +01:00
parent f6eed752d8
commit 52a01fdffe

View File

@ -21,7 +21,6 @@
#ifndef MG_ADAPT_IDL #ifndef MG_ADAPT_IDL
#define MG_ADAPT_IDL #define MG_ADAPT_IDL
#include "SALOME_Component.idl" #include "SALOME_Component.idl"
#include "SALOME_Exception.idl" #include "SALOME_Exception.idl"
#include "SALOME_GenericObj.idl" #include "SALOME_GenericObj.idl"
@ -30,129 +29,125 @@
module SMESH{ module SMESH{
typedef sequence<string> str_array ; typedef sequence<string> str_array ;
struct MgAdaptHypothesisData struct MgAdaptHypothesisData
{ {
string myFileInDir, myMeshFileIn, myInMeshName, myMeshFileBackground, myOutMeshName, string myFileInDir, myMeshFileIn, myInMeshName, myMeshFileBackground, myOutMeshName,
myMeshFileOut, myFileOutDir, myFileSizeMapDir, myFieldName; myMeshFileOut, myFileOutDir, myFileSizeMapDir, myFieldName;
boolean fromMedFile; boolean fromMedFile;
boolean myPublish, myMeshOutMed; boolean myPublish, myMeshOutMed;
boolean myUseLocalMap, myUseBackgroundMap, myUseConstantValue; boolean myUseLocalMap, myUseBackgroundMap, myUseConstantValue;
double myConstantValue; double myConstantValue;
long myRank, myTimeStep; long myRank, myTimeStep;
boolean myUseNoTimeStep, myUseLastTimeStep, myUseChosenTimeStep; boolean myUseNoTimeStep, myUseLastTimeStep, myUseChosenTimeStep;
string myWorkingDir, myLogFile; string myWorkingDir, myLogFile;
boolean myPrintLogInFile, myKeepFiles, myRemoveLogOnSuccess; boolean myPrintLogInFile, myKeepFiles, myRemoveLogOnSuccess;
long myVerboseLevel; long myVerboseLevel;
};
};
interface MG_ADAPT : SALOME::GenericObj interface MG_ADAPT : SALOME::GenericObj
{ {
//MG_ADAPT CreateMG_ADAPT(in PortableServer::POA_var poa); //MG_ADAPT CreateMG_ADAPT(in PortableServer::POA_var poa);
void setData( inout MgAdaptHypothesisData data); void setData( inout MgAdaptHypothesisData data);
void setMedFileIn(in string MedFileIn ); void setMedFileIn(in string MedFileIn );
string getMedFileIn(); string getMedFileIn();
void setMedFileOut(in string MedFileOut); void setMedFileOut(in string MedFileOut);
string getMedFileOut(); string getMedFileOut();
void setMeshName(in string s); void setMeshName(in string s);
string getMeshName(); string getMeshName();
void setMeshNameOut(in string s); void setMeshNameOut(in string s);
string getMeshNameOut(); string getMeshNameOut();
void setMeshOutMed(in boolean b); void setMeshOutMed(in boolean b);
boolean getMeshOutMed(); boolean getMeshOutMed();
void setPublish(in boolean b); void setPublish(in boolean b);
boolean getPublish(); boolean getPublish();
void setSizeMapFieldName(in string s); void setSizeMapFieldName(in string s);
string getSizeMapFieldName(); string getSizeMapFieldName();
void setTimeStep(in long s); void setTimeStep(in long s);
long getTimeStep() ; long getTimeStep() ;
void setTimeStepRank(in long s, in long f); void setTimeStepRank(in long s, in long f);
long getRank(); long getRank();
void setTimeStepRankLast(); void setTimeStepRankLast();
void setNoTimeStep(); void setNoTimeStep();
void setLogFile(in string f); void setLogFile(in string f);
string getLogFile(); string getLogFile();
void setVerbosityLevel(in long f); void setVerbosityLevel(in long f);
long getVerbosityLevel(); long getVerbosityLevel();
void setRemoveOnSuccess(in boolean f); void setRemoveOnSuccess(in boolean f);
boolean getRemoveOnSuccess(); boolean getRemoveOnSuccess();
MgAdaptHypothesisData getData(); MgAdaptHypothesisData getData();
void setUseLocalMap(in boolean f); void setUseLocalMap(in boolean f);
boolean getUseLocalMap(); boolean getUseLocalMap();
void setUseBackgroundMap(in boolean f); void setUseBackgroundMap(in boolean f);
boolean getUseBackgroundMap(); boolean getUseBackgroundMap();
void setUseConstantValue(in boolean f); void setUseConstantValue(in boolean f);
boolean getUseConstantValue(); boolean getUseConstantValue();
void setConstantSize(in double f); void setConstantSize(in double f);
double getConstantSize() ; double getConstantSize() ;
void setSizeMapFile(in string f); void setSizeMapFile(in string f);
string getSizeMapFile(); string getSizeMapFile();
void setFromMedFile(in boolean f); void setFromMedFile(in boolean f);
boolean isFromMedFile(); boolean isFromMedFile();
void setKeepWorkingFiles(in boolean f); void setKeepWorkingFiles(in boolean f);
boolean getKeepWorkingFiles(); boolean getKeepWorkingFiles();
void setPrintLogInFile(in boolean f); void setPrintLogInFile(in boolean f);
boolean getPrintLogInFile(); boolean getPrintLogInFile();
void setWorkingDir(in string f); void setWorkingDir(in string f);
string getWorkingDir() ; string getWorkingDir() ;
void setSizeMapType(in string f); void setSizeMapType(in string f);
boolean setAll(); boolean setAll();
string getCommandToRun() ; string getCommandToRun() ;
//long compute(out string errStr); //long compute(out string errStr);
long compute(); long compute();
string getErrMsg(); string getErrMsg();
string getFileName() ; string getFileName() ;
string getExeName(); string getExeName();
void copyMgAdaptHypothesisData(in MgAdaptHypothesisData f ) ; void copyMgAdaptHypothesisData(in MgAdaptHypothesisData f ) ;
//void checkDirPath(inout string f); //void checkDirPath(inout string f);
boolean hasOptionDefined( in string optionName ) ;
void setOptionValue(in string optionName, in string optionValue) raises (SALOME::SALOME_Exception);
string getOptionValue(in string optionName, inout boolean isDefault) raises (SALOME::SALOME_Exception);
str_array getCustomOptionValuesStrVec() ;
str_array getOptionValuesStrVec() ;
};
typedef MG_ADAPT MG_ADAPT_HYPOTHESIS;
boolean hasOptionDefined( in string optionName ) ; interface MG_ADAPT_OBJECT : SALOME::GenericObj
void setOptionValue(in string optionName, {
in string optionValue) raises (SALOME::SALOME_Exception); void setMeshIn(in SMESH_Mesh theMesh );
string getOptionValue(in string optionName, void setMEDFileIn(in string f);
inout boolean isDefault) raises (SALOME::SALOME_Exception); void setMEDFileOut(in string f);
str_array getCustomOptionValuesStrVec() ; void setMEDFileBackground(in string f);
str_array getOptionValuesStrVec() ; void AddHypothesis(in MG_ADAPT mg);
}; long Compute(in boolean Publish);
typedef MG_ADAPT MG_ADAPT_HYPOTHESIS; };
interface MG_ADAPT_OBJECT : SALOME::GenericObj
{
void setMeshIn(in SMESH_Mesh theMesh );
void setMEDFileIn(in string f);
void setMEDFileOut(in string f);
void setMEDFileBackground(in string f);
void AddHypothesis(in MG_ADAPT mg);
long Compute(in boolean Publish);
};
}; };
#endif // MG_ADAPT_IDL #endif // MG_ADAPT_IDL