#include <MG_ADAPT.hxx>
Data Structures | |
struct | family |
struct | group |
Public Types | |
enum | Status { DRS_OK , DRS_EMPTY , DRS_WARN_RENUMBER , DRS_WARN_SKIP_ELEM , DRS_WARN_DESCENDING , DRS_FAIL , DRS_NO_TIME_STEP } |
Public Member Functions | |
MgAdapt () | |
MgAdapt (MgAdaptHypothesisData *) | |
MgAdapt (const MgAdapt &) | |
~MgAdapt () | |
void | buildModel () |
void | setData (MgAdaptHypothesisData *data) |
void | setMedFileIn (std::string fileName) |
std::string | getMedFileIn () |
void | setMedFileOut (std::string fileOut) |
std::string | getMedFileOut () |
void | setMeshName (std::string name) |
std::string | getMeshName () |
void | setMeshNameOut (std::string name) |
std::string | getMeshNameOut () |
void | setMeshOutMed (bool mybool) |
bool | getMeshOutMed () |
void | setPublish (bool mybool) |
bool | getPublish () |
void | setFieldName (std::string myFieldName) |
std::string | getFieldName () |
void | setTimeStep (int time) |
int | getTimeStep () const |
void | setRankTimeStep (int time, int myRank) |
int | getRank () |
void | setTimeStepRankLast () |
void | setNoTimeStep () |
void | setChosenTimeStepRank () |
void | updateTimeStepRank () |
void | setLogFile (std::string) |
std::string | getLogFile () |
void | setVerbosityLevel (int verbosity) |
int | getVerbosityLevel () |
void | setRemoveOnSuccess (bool mybool) |
bool | getRemoveOnSuccess () |
MgAdaptHypothesisData * | getData () const |
void | setUseLocalMap (bool mybool) |
bool | getUseLocalMap () |
void | setUseBackgroundMap (bool mybool) |
bool | getUseBackgroundMap () |
void | setUseConstantValue (bool mybool) |
bool | getUseConstantValue () |
void | setConstantValue (double cnst) |
double | getConstantValue () const |
void | setSizeMapFile (std::string mapFile) |
std::string | getSizeMapFile () |
void | setFromMedFile (bool mybool) |
bool | isFromMedFile () |
void | setKeepWorkingFiles (bool mybool) |
bool | getKeepWorkingFiles () |
void | setPrintLogInFile (bool mybool) |
bool | getPrintLogInFile () |
void | setWorkingDir (std::string dir) |
std::string | getWorkingDir () const |
bool | setAll () |
std::string | getCommandToRun () |
Return command to run MG-Tetra mesher excluding file prefix (-f) More... | |
int | compute (std::string &errStr) |
std::string | getFileName () const |
Return a unique file name. More... | |
void | copyMgAdaptHypothesisData (const MgAdaptHypothesisData *from) |
void | checkDirPath (std::string &dirPath) |
bool | hasOptionDefined (const std::string &optionName) const |
void | setOptionValue (const std::string &optionName, const std::string &optionValue) |
std::string | getOptionValue (const std::string &optionName, bool *isDefault=0) const |
Return option value. If isDefault provided, it can be a default value,. More... | |
std::vector< std::string > | getCustomOptionValuesStrVec () const |
std::vector< std::string > | getOptionValuesStrVec () const |
TOptionValues | getOptionValues () const |
const TOptionValues & | getCustomOptionValues () const |
Static Public Member Functions | |
static std::string | getCommandToRun (MgAdapt *) |
Return command to run MG-Adapt mesher excluding file prefix (-f) More... | |
static std::string | getExeName () |
static double | toDbl (const std::string &, bool *isOk=0) |
Converts a string to a real value. More... | |
static bool | toBool (const std::string &, bool *isOk=0) |
Converts a string to a bool. More... | |
static int | toInt (const std::string &, bool *isOk=0) |
Converts a string to a integer value. More... | |
static std::string | toLowerStr (const std::string &str) |
Converts a string to a lower. More... | |
static std::string | defaultWorkingDirectory () |
static std::string | defaultLogFile () |
static bool | defaultKeepFiles () |
static bool | defaultRemoveLogOnSuccess () |
static int | defaultVerboseLevel () |
static bool | defaultPrintLogInFile () |
static bool | defaultFromMedFile () |
static bool | defaultMeshOutMed () |
static bool | defaultPublish () |
static bool | defaultUseLocalMap () |
static bool | defaultUseBackgroundMap () |
static bool | defaultUseConstantValue () |
static bool | defaultUseNoTimeStep () |
static bool | defaultUseLastTimeStep () |
static bool | defaultUseChosenTimeStep () |
static double | defaultMaximumMemory () |
Private Member Functions | |
void | convertMedFile (std::string &meshIn, std::string &solFileIn, std::string &sizeMapIn) |
void | storeGroups (MEDCoupling::MEDFileMesh *fileMesh) |
void | restoreGroups (MEDCoupling::MEDFileMesh *fileMesh) const |
void | storefams (MEDCoupling::MEDFileMesh *fileMesh) |
void | restorefams (MEDCoupling::MEDFileMesh *fileMesh) const |
void | storeGroupsAndFams (MEDCoupling::MEDFileMesh *fileMesh) |
void | restoreGroupsAndFams (MEDCoupling::MEDFileMesh *fileMesh) const |
void | convertMeshFile (std::string &meshFormatIn, std::vector< std::string > &solFieldFileNames) const |
void | buildConstantSizeMapSolFile (const std::string &solFormatFieldFileName, const int dim, const int version, const size_t nbNodes) const |
void | buildBackGroundMeshAndSolFiles (const std::vector< std::string > &fieldFileNames, const std::string &meshFormatsizeMapFile) const |
Status | addMessage (const std::string &msg, const bool isFatal=false) |
void | execCmd (const char *cmd, int &err) |
void | cleanUp () |
void | appendMsgToLogFile (std::string &msg) |
std::vector< std::string > | getListFieldsNames (std::string fileIn) |
void | checkDimensionOptionAdaptation () |
void | checkFieldName (std::string fileIn) |
void | checkTimeStepRank (std::string fileIn) |
Private Attributes | |
bool | fromMedFile |
std::string | medFileIn |
std::string | medFileOut |
std::string | meshName |
std::string | meshNameOut |
bool | publish |
bool | meshOutMed |
bool | useLocalMap |
bool | useBackgroundMap |
bool | useConstantValue |
bool | myUseLastTimeStep |
bool | myUseNoTimeStep |
bool | myUseChosenTimeStep |
std::string | sizeMapFile |
std::string | fieldName |
double | constantValue |
int | rank |
int | timeStep |
std::string | logFile |
std::string | workingDir |
int | verbosityLevel |
bool | removeOnSuccess |
bool | toKeepWorkingFiles |
bool | printLogInFile |
MgAdaptHypothesisData * | data |
TOptionValues | _option2value |
TOptionValues | _customOption2value |
TOptionValues | _defaultOptionValues |
TOptionNames | _doubleOptions |
TOptionNames | _charOptions |
TOptionNames | _boolOptions |
std::vector< std::string > | _errorMessages |
Status | _status |
std::string | meshFormatOutputMesh |
std::vector< std::string > | solFormatOutput |
std::vector< group > | groupVec |
std::vector< family > | famVec |
std::vector< std::string > | tmpFilesToBeDeleted |
MgAdapt::MgAdapt | ( | ) |
References buildModel(), data, defaultFromMedFile(), defaultKeepFiles(), defaultLogFile(), defaultMeshOutMed(), defaultPrintLogInFile(), defaultPublish(), defaultRemoveLogOnSuccess(), defaultUseBackgroundMap(), defaultUseChosenTimeStep(), defaultUseConstantValue(), defaultUseLastTimeStep(), defaultUseLocalMap(), defaultUseNoTimeStep(), defaultVerboseLevel(), defaultWorkingDirectory(), MG_ADAPT::MgAdaptHypothesisData::fromMedFile, MG_ADAPT::MgAdaptHypothesisData::myConstantValue, MG_ADAPT::MgAdaptHypothesisData::myFieldName, MG_ADAPT::MgAdaptHypothesisData::myFileInDir, MG_ADAPT::MgAdaptHypothesisData::myFileOutDir, MG_ADAPT::MgAdaptHypothesisData::myFileSizeMapDir, MG_ADAPT::MgAdaptHypothesisData::myInMeshName, MG_ADAPT::MgAdaptHypothesisData::myKeepFiles, MG_ADAPT::MgAdaptHypothesisData::myLogFile, MG_ADAPT::MgAdaptHypothesisData::myMeshFileBackground, MG_ADAPT::MgAdaptHypothesisData::myMeshFileIn, MG_ADAPT::MgAdaptHypothesisData::myMeshFileOut, MG_ADAPT::MgAdaptHypothesisData::myMeshOutMed, MG_ADAPT::MgAdaptHypothesisData::myOutMeshName, MG_ADAPT::MgAdaptHypothesisData::myPrintLogInFile, MG_ADAPT::MgAdaptHypothesisData::myPublish, MG_ADAPT::MgAdaptHypothesisData::myRank, MG_ADAPT::MgAdaptHypothesisData::myRemoveLogOnSuccess, MG_ADAPT::MgAdaptHypothesisData::myTimeStep, MG_ADAPT::MgAdaptHypothesisData::myUseBackgroundMap, MG_ADAPT::MgAdaptHypothesisData::myUseChosenTimeStep, MG_ADAPT::MgAdaptHypothesisData::myUseConstantValue, MG_ADAPT::MgAdaptHypothesisData::myUseLastTimeStep, MG_ADAPT::MgAdaptHypothesisData::myUseLocalMap, MG_ADAPT::MgAdaptHypothesisData::myUseNoTimeStep, MG_ADAPT::MgAdaptHypothesisData::myVerboseLevel, MG_ADAPT::MgAdaptHypothesisData::myWorkingDir, and setAll().
MgAdapt::MgAdapt | ( | MgAdaptHypothesisData * | myData | ) |
References buildModel(), data, and setData().
MgAdapt::MgAdapt | ( | const MgAdapt & | copy | ) |
MgAdapt::~MgAdapt | ( | ) |
References data.
|
private |
References _errorMessages, _status, DRS_FAIL, and DRS_WARN_SKIP_ELEM.
|
private |
|
private |
References fieldName, rank, sizeMapFile, and timeStep.
Referenced by convertMedFile().
|
private |
References constantValue, GmfSca, GmfSolAtVertices, and GmfWrite.
Referenced by convertMedFile().
void MgAdapt::buildModel | ( | ) |
References _boolOptions, _charOptions, _defaultOptionValues, _doubleOptions, _option2value, and defaultMaximumMemory().
Referenced by MgAdapt().
|
private |
References getOptionValue(), medFileIn, setOptionValue(), sizeMapFile, useConstantValue, and useLocalMap.
Referenced by getCommandToRun().
void MgAdapt::checkDirPath | ( | std::string & | dirPath | ) |
Referenced by setAll().
|
private |
References fieldName, and getListFieldsNames().
Referenced by convertMedFile().
|
private |
References fieldName, rank, and timeStep.
Referenced by convertMedFile().
|
private |
References appendMsgToLogFile(), logFile, printLogInFile, removeFile(), removeOnSuccess, tmpFilesToBeDeleted, and toKeepWorkingFiles.
Referenced by compute().
int MgAdapt::compute | ( | std::string & | errStr | ) |
References cleanUp(), convertMeshFile(), execCmd(), getCommandToRun(), meshFormatOutputMesh, and solFormatOutput.
Referenced by SMESH::MG_ADAPT_i::compute().
|
private |
References buildBackGroundMeshAndSolFiles(), buildConstantSizeMapSolFile(), checkFieldName(), checkTimeStepRank(), fieldName, getFileName(), medFileIn, meshNameOut, rank, sizeMapFile, storeGroupsAndFams(), timeStep, useBackgroundMap, and useLocalMap.
Referenced by getCommandToRun().
|
private |
References medFileOut, meshNameOut, and restoreGroupsAndFams().
Referenced by compute().
void MgAdapt::copyMgAdaptHypothesisData | ( | const MgAdaptHypothesisData * | from | ) |
References data, MG_ADAPT::MgAdaptHypothesisData::fromMedFile, MG_ADAPT::MgAdaptHypothesisData::myConstantValue, MG_ADAPT::MgAdaptHypothesisData::myFieldName, MG_ADAPT::MgAdaptHypothesisData::myFileInDir, MG_ADAPT::MgAdaptHypothesisData::myFileOutDir, MG_ADAPT::MgAdaptHypothesisData::myFileSizeMapDir, MG_ADAPT::MgAdaptHypothesisData::myKeepFiles, MG_ADAPT::MgAdaptHypothesisData::myLogFile, MG_ADAPT::MgAdaptHypothesisData::myMeshFileBackground, MG_ADAPT::MgAdaptHypothesisData::myMeshFileIn, MG_ADAPT::MgAdaptHypothesisData::myMeshFileOut, MG_ADAPT::MgAdaptHypothesisData::myMeshOutMed, MG_ADAPT::MgAdaptHypothesisData::myOutMeshName, MG_ADAPT::MgAdaptHypothesisData::myPrintLogInFile, MG_ADAPT::MgAdaptHypothesisData::myPublish, MG_ADAPT::MgAdaptHypothesisData::myRank, MG_ADAPT::MgAdaptHypothesisData::myRemoveLogOnSuccess, MG_ADAPT::MgAdaptHypothesisData::myTimeStep, MG_ADAPT::MgAdaptHypothesisData::myUseBackgroundMap, MG_ADAPT::MgAdaptHypothesisData::myUseChosenTimeStep, MG_ADAPT::MgAdaptHypothesisData::myUseConstantValue, MG_ADAPT::MgAdaptHypothesisData::myUseLastTimeStep, MG_ADAPT::MgAdaptHypothesisData::myUseLocalMap, MG_ADAPT::MgAdaptHypothesisData::myUseNoTimeStep, MG_ADAPT::MgAdaptHypothesisData::myVerboseLevel, and MG_ADAPT::MgAdaptHypothesisData::myWorkingDir.
Referenced by SMESH::MG_ADAPT_i::copyMgAdaptHypothesisData(), MgAdapt(), and setData().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by buildModel().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by MgAdapt().
|
static |
Referenced by getCommandToRun(), and MgAdapt().
|
static |
Referenced by MgAdapt().
|
private |
References logFile, and printLogInFile.
Referenced by compute().
std::string MgAdapt::getCommandToRun | ( | ) |
Return command to run MG-Tetra mesher excluding file prefix (-f)
References _customOption2value, _defaultOptionValues, _option2value, checkDimensionOptionAdaptation(), convertMedFile(), defaultVerboseLevel(), getExeName(), getFileName(), SMESHUtils_MGLicenseKeyGen::GetKey(), DriverGMF_Read::GetMeshInfo(), getOptionValue(), meshFormatOutputMesh, Driver_Mesh::SetFile(), solFormatOutput, tmpFilesToBeDeleted, toBool(), updateTimeStepRank(), useBackgroundMap, useConstantValue, useLocalMap, and verbosityLevel.
Referenced by compute().
|
static |
Return command to run MG-Adapt mesher excluding file prefix (-f)
References getCommandToRun().
Referenced by SMESH::MG_ADAPT_i::getCommandToRun(), and getCommandToRun().
double MgAdapt::getConstantValue | ( | ) | const |
References constantValue.
Referenced by SMESH::MG_ADAPT_i::getConstantSize().
const TOptionValues & MgAdapt::getCustomOptionValues | ( | ) | const |
References _customOption2value.
std::vector< std::string > MgAdapt::getCustomOptionValuesStrVec | ( | ) | const |
References _customOption2value, and getOptionValue().
Referenced by SMESH::MG_ADAPT_i::getCustomOptionValuesStrVec().
MgAdaptHypothesisData * MgAdapt::getData | ( | ) | const |
References data.
Referenced by SMESH::MG_ADAPT_i::getData(), and MgAdapt().
|
static |
Referenced by getCommandToRun(), and SMESH::MG_ADAPT_i::getExeName().
std::string MgAdapt::getFieldName | ( | ) |
References fieldName.
Referenced by SMESH::MG_ADAPT_i::getSizeMapFieldName().
std::string MgAdapt::getFileName | ( | ) | const |
Return a unique file name.
References workingDir.
Referenced by convertMedFile(), getCommandToRun(), and SMESH::MG_ADAPT_i::getFileName().
bool MgAdapt::getKeepWorkingFiles | ( | ) |
References toKeepWorkingFiles.
Referenced by SMESH::MG_ADAPT_i::getKeepWorkingFiles().
|
private |
Referenced by checkFieldName().
std::string MgAdapt::getLogFile | ( | ) |
References logFile.
Referenced by SMESH::MG_ADAPT_i::getLogFile().
std::string MgAdapt::getMedFileIn | ( | ) |
References medFileIn.
Referenced by SMESH::MG_ADAPT_i::getMedFileIn().
std::string MgAdapt::getMedFileOut | ( | ) |
References medFileOut.
Referenced by SMESH::MG_ADAPT_i::compute(), and SMESH::MG_ADAPT_i::getMedFileOut().
std::string MgAdapt::getMeshName | ( | ) |
References meshName.
Referenced by SMESH::MG_ADAPT_i::getMeshName().
std::string MgAdapt::getMeshNameOut | ( | ) |
References meshNameOut.
Referenced by SMESH::MG_ADAPT_i::getMeshNameOut().
bool MgAdapt::getMeshOutMed | ( | ) |
References meshOutMed.
Referenced by SMESH::MG_ADAPT_i::getMeshOutMed().
std::string MgAdapt::getOptionValue | ( | const std::string & | optionName, |
bool * | isDefault = 0 |
||
) | const |
Return option value. If isDefault provided, it can be a default value,.
References _customOption2value, _defaultOptionValues, and _option2value.
Referenced by checkDimensionOptionAdaptation(), getCommandToRun(), getCustomOptionValuesStrVec(), SMESH::MG_ADAPT_i::getOptionValue(), getOptionValues(), getOptionValuesStrVec(), and hasOptionDefined().
TOptionValues MgAdapt::getOptionValues | ( | ) | const |
References _option2value, and getOptionValue().
std::vector< std::string > MgAdapt::getOptionValuesStrVec | ( | ) | const |
References _option2value, and getOptionValue().
Referenced by SMESH::MG_ADAPT_i::getOptionValuesStrVec().
bool MgAdapt::getPrintLogInFile | ( | ) |
References printLogInFile.
Referenced by SMESH::MG_ADAPT_i::getPrintLogInFile().
bool MgAdapt::getPublish | ( | ) |
References publish.
Referenced by SMESH::MG_ADAPT_i::compute(), and SMESH::MG_ADAPT_i::getPublish().
int MgAdapt::getRank | ( | ) |
References rank.
Referenced by SMESH::MG_ADAPT_i::getRank().
bool MgAdapt::getRemoveOnSuccess | ( | ) |
References removeOnSuccess.
Referenced by SMESH::MG_ADAPT_i::getRemoveOnSuccess().
std::string MgAdapt::getSizeMapFile | ( | ) |
References sizeMapFile.
Referenced by SMESH::MG_ADAPT_i::getSizeMapFile().
int MgAdapt::getTimeStep | ( | ) | const |
References timeStep.
Referenced by SMESH::MG_ADAPT_i::getTimeStep().
bool MgAdapt::getUseBackgroundMap | ( | ) |
References useBackgroundMap.
Referenced by SMESH::MG_ADAPT_i::getUseBackgroundMap().
bool MgAdapt::getUseConstantValue | ( | ) |
References useConstantValue.
Referenced by SMESH::MG_ADAPT_i::getUseConstantValue().
bool MgAdapt::getUseLocalMap | ( | ) |
References useLocalMap.
Referenced by SMESH::MG_ADAPT_i::getUseLocalMap().
int MgAdapt::getVerbosityLevel | ( | ) |
References verbosityLevel.
Referenced by SMESH::MG_ADAPT_i::getVerbosityLevel().
std::string MgAdapt::getWorkingDir | ( | ) | const |
References workingDir.
Referenced by SMESH::MG_ADAPT_i::getWorkingDir().
bool MgAdapt::hasOptionDefined | ( | const std::string & | optionName | ) | const |
References getOptionValue().
Referenced by SMESH::MG_ADAPT_i::hasOptionDefined().
bool MgAdapt::isFromMedFile | ( | ) |
References fromMedFile.
Referenced by SMESH::MG_ADAPT_i::isFromMedFile().
|
private |
References famVec.
Referenced by restoreGroupsAndFams().
|
private |
References groupVec.
Referenced by restoreGroupsAndFams().
|
private |
References restorefams(), and restoreGroups().
Referenced by convertMeshFile().
bool MgAdapt::setAll | ( | ) |
References checkDirPath(), data, defaultLogFile(), MG_ADAPT::MgAdaptHypothesisData::fromMedFile, MG_ADAPT::MgAdaptHypothesisData::myConstantValue, MG_ADAPT::MgAdaptHypothesisData::myFieldName, MG_ADAPT::MgAdaptHypothesisData::myFileInDir, MG_ADAPT::MgAdaptHypothesisData::myFileOutDir, MG_ADAPT::MgAdaptHypothesisData::myFileSizeMapDir, MG_ADAPT::MgAdaptHypothesisData::myInMeshName, MG_ADAPT::MgAdaptHypothesisData::myKeepFiles, MG_ADAPT::MgAdaptHypothesisData::myMeshFileBackground, MG_ADAPT::MgAdaptHypothesisData::myMeshFileIn, MG_ADAPT::MgAdaptHypothesisData::myMeshFileOut, MG_ADAPT::MgAdaptHypothesisData::myMeshOutMed, MG_ADAPT::MgAdaptHypothesisData::myOutMeshName, MG_ADAPT::MgAdaptHypothesisData::myPrintLogInFile, MG_ADAPT::MgAdaptHypothesisData::myPublish, MG_ADAPT::MgAdaptHypothesisData::myRank, MG_ADAPT::MgAdaptHypothesisData::myRemoveLogOnSuccess, MG_ADAPT::MgAdaptHypothesisData::myTimeStep, MG_ADAPT::MgAdaptHypothesisData::myUseBackgroundMap, MG_ADAPT::MgAdaptHypothesisData::myUseConstantValue, MG_ADAPT::MgAdaptHypothesisData::myUseLastTimeStep, MG_ADAPT::MgAdaptHypothesisData::myUseLocalMap, MG_ADAPT::MgAdaptHypothesisData::myUseNoTimeStep, MG_ADAPT::MgAdaptHypothesisData::myVerboseLevel, MG_ADAPT::MgAdaptHypothesisData::myWorkingDir, setChosenTimeStepRank(), setConstantValue(), setFieldName(), setFromMedFile(), setKeepWorkingFiles(), setLogFile(), setMedFileIn(), setMedFileOut(), setMeshName(), setMeshNameOut(), setMeshOutMed(), setNoTimeStep(), setPrintLogInFile(), setPublish(), setRankTimeStep(), setRemoveOnSuccess(), setSizeMapFile(), setTimeStepRankLast(), setUseBackgroundMap(), setUseConstantValue(), setUseLocalMap(), setVerbosityLevel(), setWorkingDir(), useBackgroundMap, and useConstantValue.
Referenced by MgAdapt(), SMESH::MG_ADAPT_i::setAll(), and setData().
void MgAdapt::setChosenTimeStepRank | ( | ) |
References myUseChosenTimeStep, myUseLastTimeStep, and myUseNoTimeStep.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setTimeStepRank().
void MgAdapt::setConstantValue | ( | double | cnst | ) |
References constantValue.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setConstantSize().
void MgAdapt::setData | ( | MgAdaptHypothesisData * | data | ) |
References copyMgAdaptHypothesisData(), and setAll().
Referenced by MgAdapt(), and SMESH::MG_ADAPT_i::setData().
void MgAdapt::setFieldName | ( | std::string | myFieldName | ) |
References fieldName.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setSizeMapFieldName().
void MgAdapt::setFromMedFile | ( | bool | mybool | ) |
References fromMedFile.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setFromMedFile().
void MgAdapt::setKeepWorkingFiles | ( | bool | mybool | ) |
References toKeepWorkingFiles.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setKeepWorkingFiles().
void MgAdapt::setLogFile | ( | std::string | myLogFile | ) |
References logFile.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setLogFile().
void MgAdapt::setMedFileIn | ( | std::string | fileName | ) |
References medFileIn, medFileOut, and MG_ADAPT::remove_extension().
Referenced by setAll(), and SMESH::MG_ADAPT_i::setMedFileIn().
void MgAdapt::setMedFileOut | ( | std::string | fileOut | ) |
References medFileOut.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setMedFileOut().
void MgAdapt::setMeshName | ( | std::string | name | ) |
References meshName.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setMeshName().
void MgAdapt::setMeshNameOut | ( | std::string | name | ) |
References meshNameOut.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setMeshNameOut().
void MgAdapt::setMeshOutMed | ( | bool | mybool | ) |
References meshOutMed.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setMeshOutMed().
void MgAdapt::setNoTimeStep | ( | ) |
References myUseChosenTimeStep, myUseLastTimeStep, and myUseNoTimeStep.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setNoTimeStep().
void MgAdapt::setOptionValue | ( | const std::string & | optionName, |
const std::string & | optionValue | ||
) |
References _boolOptions, _charOptions, _customOption2value, _defaultOptionValues, _doubleOptions, _option2value, toBool(), toDbl(), toInt(), and toLowerStr().
Referenced by checkDimensionOptionAdaptation(), and SMESH::MG_ADAPT_i::setOptionValue().
void MgAdapt::setPrintLogInFile | ( | bool | mybool | ) |
References printLogInFile.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setPrintLogInFile().
void MgAdapt::setPublish | ( | bool | mybool | ) |
References publish.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setPublish().
void MgAdapt::setRankTimeStep | ( | int | time, |
int | myRank | ||
) |
References rank, and timeStep.
Referenced by setAll(), SMESH::MG_ADAPT_i::setTimeStepRank(), and updateTimeStepRank().
void MgAdapt::setRemoveOnSuccess | ( | bool | mybool | ) |
References removeOnSuccess.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setRemoveOnSuccess().
void MgAdapt::setSizeMapFile | ( | std::string | mapFile | ) |
References sizeMapFile.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setSizeMapFile().
void MgAdapt::setTimeStep | ( | int | time | ) |
References timeStep.
Referenced by SMESH::MG_ADAPT_i::setTimeStep().
void MgAdapt::setTimeStepRankLast | ( | ) |
References myUseChosenTimeStep, myUseLastTimeStep, and myUseNoTimeStep.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setTimeStepRankLast().
void MgAdapt::setUseBackgroundMap | ( | bool | mybool | ) |
References useBackgroundMap.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setUseBackgroundMap().
void MgAdapt::setUseConstantValue | ( | bool | mybool | ) |
References useConstantValue.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setUseConstantValue().
void MgAdapt::setUseLocalMap | ( | bool | mybool | ) |
References useLocalMap.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setUseLocalMap().
void MgAdapt::setVerbosityLevel | ( | int | verbosity | ) |
References verbosityLevel.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setVerbosityLevel().
void MgAdapt::setWorkingDir | ( | std::string | dir | ) |
References workingDir.
Referenced by setAll(), and SMESH::MG_ADAPT_i::setWorkingDir().
|
private |
References famVec.
Referenced by storeGroupsAndFams().
|
private |
References groupVec.
Referenced by storeGroupsAndFams().
|
private |
References storefams(), and storeGroups().
Referenced by convertMedFile().
|
static |
Converts a string to a bool.
Referenced by getCommandToRun(), and setOptionValue().
|
static |
Converts a string to a real value.
Referenced by setOptionValue().
|
static |
Converts a string to a integer value.
Referenced by setOptionValue().
|
static |
Converts a string to a lower.
Referenced by setOptionValue().
void MgAdapt::updateTimeStepRank | ( | ) |
References fieldName, medFileIn, myUseLastTimeStep, myUseNoTimeStep, setRankTimeStep(), sizeMapFile, and useBackgroundMap.
Referenced by getCommandToRun().
|
private |
Referenced by buildModel(), MgAdapt(), and setOptionValue().
|
private |
Referenced by buildModel(), MgAdapt(), and setOptionValue().
|
private |
Referenced by getCommandToRun(), getCustomOptionValues(), getCustomOptionValuesStrVec(), getOptionValue(), MgAdapt(), and setOptionValue().
|
private |
Referenced by buildModel(), getCommandToRun(), getOptionValue(), MgAdapt(), and setOptionValue().
|
private |
Referenced by buildModel(), MgAdapt(), and setOptionValue().
|
private |
Referenced by addMessage().
|
private |
Referenced by buildModel(), getCommandToRun(), getOptionValue(), getOptionValues(), getOptionValuesStrVec(), MgAdapt(), and setOptionValue().
|
private |
Referenced by addMessage().
|
private |
Referenced by buildConstantSizeMapSolFile(), getConstantValue(), and setConstantValue().
|
private |
Referenced by copyMgAdaptHypothesisData(), getData(), MgAdapt(), setAll(), and ~MgAdapt().
|
private |
Referenced by restorefams(), and storefams().
|
private |
|
private |
Referenced by isFromMedFile(), and setFromMedFile().
|
private |
Referenced by restoreGroups(), and storeGroups().
|
private |
Referenced by appendMsgToLogFile(), cleanUp(), execCmd(), getLogFile(), and setLogFile().
|
private |
Referenced by checkDimensionOptionAdaptation(), convertMedFile(), getMedFileIn(), setMedFileIn(), and updateTimeStepRank().
|
private |
Referenced by convertMeshFile(), getMedFileOut(), setMedFileIn(), and setMedFileOut().
|
private |
Referenced by compute(), and getCommandToRun().
|
private |
Referenced by getMeshName(), and setMeshName().
|
private |
Referenced by convertMedFile(), convertMeshFile(), getMeshNameOut(), and setMeshNameOut().
|
private |
Referenced by getMeshOutMed(), and setMeshOutMed().
|
private |
Referenced by setChosenTimeStepRank(), setNoTimeStep(), and setTimeStepRankLast().
|
private |
Referenced by setChosenTimeStepRank(), setNoTimeStep(), setTimeStepRankLast(), and updateTimeStepRank().
|
private |
Referenced by setChosenTimeStepRank(), setNoTimeStep(), setTimeStepRankLast(), and updateTimeStepRank().
|
private |
Referenced by cleanUp(), execCmd(), getPrintLogInFile(), and setPrintLogInFile().
|
private |
Referenced by getPublish(), and setPublish().
|
private |
Referenced by buildBackGroundMeshAndSolFiles(), checkTimeStepRank(), convertMedFile(), getRank(), and setRankTimeStep().
|
private |
Referenced by cleanUp(), getRemoveOnSuccess(), and setRemoveOnSuccess().
|
private |
|
private |
Referenced by compute(), and getCommandToRun().
|
private |
Referenced by buildBackGroundMeshAndSolFiles(), checkTimeStepRank(), convertMedFile(), getTimeStep(), setRankTimeStep(), and setTimeStep().
|
private |
Referenced by cleanUp(), and getCommandToRun().
|
private |
Referenced by cleanUp(), getKeepWorkingFiles(), and setKeepWorkingFiles().
|
private |
Referenced by convertMedFile(), getCommandToRun(), getUseBackgroundMap(), setAll(), setUseBackgroundMap(), and updateTimeStepRank().
|
private |
Referenced by checkDimensionOptionAdaptation(), getCommandToRun(), getUseConstantValue(), setAll(), and setUseConstantValue().
|
private |
Referenced by checkDimensionOptionAdaptation(), convertMedFile(), getCommandToRun(), getUseLocalMap(), and setUseLocalMap().
|
private |
Referenced by getCommandToRun(), getVerbosityLevel(), and setVerbosityLevel().
|
private |
Referenced by getFileName(), getWorkingDir(), and setWorkingDir().