#include "SolverBase.h"
Public Member Functions | |
SolverBase () | |
virtual | ~SolverBase () |
void | setData (EntityBase *_solverEntity, const std::string &_meshDataName, std::map< ot::UID, ot::EntityInformation > &_meshItemInfo, std::map< ot::UID, EntityProperties > &_entityProperties, std::map< std::string, size_t > &_groupNameToIdMap, std::map< std::string, EntityProperties > &_materialProperties) |
virtual void | writeInputFile (std::ofstream &controlFile, Application *app)=0 |
virtual std::string | runSolver (const std::string &tempDirPath, ot::components::UiComponent *uiComponent)=0 |
virtual void | convertResults (const std::string &tempDirPath, Application *app, EntityBase *solverEntity)=0 |
void | runSolverExe (const std::string &inputFileName, const std::string &solvTarget, const std::string &postTarget, const std::string &workingDirectory, ot::components::UiComponent *uiComponent) |
SolverBase () | |
virtual | ~SolverBase () |
void | setData (EntityBase *_solverEntity, const std::string &_meshDataName, std::map< ot::UID, ot::EntityInformation > &_meshItemInfo, std::map< ot::UID, EntityProperties > &_entityProperties, std::map< std::string, size_t > &_groupNameToIdMap, std::map< std::string, EntityProperties > &_materialProperties) |
virtual void | writeInputFile (std::ofstream &controlFile, Application *app)=0 |
virtual std::string | runSolver (const std::string &tempDirPath, ot::components::UiComponent *uiComponent)=0 |
virtual void | convertResults (const std::string &tempDirPath, Application *app, EntityBase *solverEntity)=0 |
void | runSolverExe (const std::string &inputFileName, const std::string &solvTarget, const std::string &postTarget, const std::string &workingDirectory, ot::components::UiComponent *uiComponent) |
Protected Member Functions | |
bool | runExecutableAndWaitForCompletion (std::string commandLine, std::string workingDirectory, ot::components::UiComponent *uiComponent) |
std::string | readEnvironmentVariable (const std::string &variableName) |
bool | isPECMaterial (const std::string &materialName) |
void | ReadFromPipe (HANDLE g_hChildStd_OUT_Rd, ot::components::UiComponent *uiComponent) |
bool | runExecutableAndWaitForCompletion (std::string commandLine, std::string workingDirectory, ot::components::UiComponent *uiComponent) |
std::string | readEnvironmentVariable (const std::string &variableName) |
bool | isPECMaterial (const std::string &materialName) |
void | ReadFromPipe (HANDLE g_hChildStd_OUT_Rd, ot::components::UiComponent *uiComponent) |
Protected Attributes | |
EntityBase * | solverEntity |
std::string | meshDataName |
std::map< ot::UID, ot::EntityInformation > | meshItemInfo |
std::map< ot::UID, EntityProperties > | entityProperties |
std::map< std::string, size_t > | groupNameToIdMap |
std::map< std::string, EntityProperties > | materialProperties |
std::stringstream | solverOutput |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in SolverElectrostatics, and SolverElectrostatics.
|
pure virtual |
Implemented in SolverElectrostatics, and SolverElectrostatics.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
pure virtual |
Implemented in SolverElectrostatics, and SolverElectrostatics.
|
pure virtual |
Implemented in SolverElectrostatics, and SolverElectrostatics.
void SolverBase::runSolverExe | ( | const std::string & | inputFileName, |
const std::string & | solvTarget, | ||
const std::string & | postTarget, | ||
const std::string & | workingDirectory, | ||
ot::components::UiComponent * | uiComponent ) |
void SolverBase::runSolverExe | ( | const std::string & | inputFileName, |
const std::string & | solvTarget, | ||
const std::string & | postTarget, | ||
const std::string & | workingDirectory, | ||
ot::components::UiComponent * | uiComponent ) |
void SolverBase::setData | ( | EntityBase * | _solverEntity, |
const std::string & | _meshDataName, | ||
std::map< ot::UID, ot::EntityInformation > & | _meshItemInfo, | ||
std::map< ot::UID, EntityProperties > & | _entityProperties, | ||
std::map< std::string, size_t > & | _groupNameToIdMap, | ||
std::map< std::string, EntityProperties > & | _materialProperties ) |
void SolverBase::setData | ( | EntityBase * | _solverEntity, |
const std::string & | _meshDataName, | ||
std::map< ot::UID, ot::EntityInformation > & | _meshItemInfo, | ||
std::map< ot::UID, EntityProperties > & | _entityProperties, | ||
std::map< std::string, size_t > & | _groupNameToIdMap, | ||
std::map< std::string, EntityProperties > & | _materialProperties ) |
|
pure virtual |
Implemented in SolverElectrostatics, and SolverElectrostatics.
|
pure virtual |
Implemented in SolverElectrostatics, and SolverElectrostatics.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |