OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
SolverElectrostatics Class Reference

#include "SolverElectrostatics.h"

Inheritance diagram for SolverElectrostatics:
SolverBase SolverBase

Public Member Functions

 SolverElectrostatics ()
 
virtual ~SolverElectrostatics ()
 
virtual void writeInputFile (std::ofstream &controlFile, Application *app) override
 
virtual std::string runSolver (const std::string &tempDirPath, ot::components::UiComponent *uiComponent) override
 
virtual void convertResults (const std::string &tempDirPath, Application *app, EntityBase *solverEntity) override
 
 SolverElectrostatics ()
 
virtual ~SolverElectrostatics ()
 
virtual void writeInputFile (std::ofstream &controlFile, Application *) override
 
virtual std::string runSolver (const std::string &tempDirPath, ot::components::UiComponent *uiComponent) override
 
virtual void convertResults (const std::string &tempDirPath, Application *app, EntityBase *solverEntity) override
 
- Public Member Functions inherited from SolverBase
 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)
 
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)
 
void runSolverExe (const std::string &inputFileName, const std::string &solvTarget, const std::string &postTarget, const std::string &workingDirectory, ot::components::UiComponent *uiComponent)
 

Additional Inherited Members

- Protected Member Functions inherited from SolverBase
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 inherited from SolverBase
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
 

Constructor & Destructor Documentation

◆ SolverElectrostatics() [1/2]

SolverElectrostatics::SolverElectrostatics ( )
inline

◆ ~SolverElectrostatics() [1/2]

virtual SolverElectrostatics::~SolverElectrostatics ( )
inlinevirtual

◆ SolverElectrostatics() [2/2]

SolverElectrostatics::SolverElectrostatics ( )
inline

◆ ~SolverElectrostatics() [2/2]

virtual SolverElectrostatics::~SolverElectrostatics ( )
inlinevirtual

Member Function Documentation

◆ convertResults() [1/2]

void SolverElectrostatics::convertResults ( const std::string & tempDirPath,
Application * app,
EntityBase * solverEntity )
overridevirtual

Implements SolverBase.

◆ convertResults() [2/2]

virtual void SolverElectrostatics::convertResults ( const std::string & tempDirPath,
Application * app,
EntityBase * solverEntity )
overridevirtual

Implements SolverBase.

◆ runSolver() [1/2]

std::string SolverElectrostatics::runSolver ( const std::string & tempDirPath,
ot::components::UiComponent * uiComponent )
overridevirtual

Implements SolverBase.

◆ runSolver() [2/2]

virtual std::string SolverElectrostatics::runSolver ( const std::string & tempDirPath,
ot::components::UiComponent * uiComponent )
overridevirtual

Implements SolverBase.

◆ writeInputFile() [1/2]

virtual void SolverElectrostatics::writeInputFile ( std::ofstream & controlFile,
Application *  )
overridevirtual

Implements SolverBase.

◆ writeInputFile() [2/2]

void SolverElectrostatics::writeInputFile ( std::ofstream & controlFile,
Application * app )
overridevirtual

Implements SolverBase.


The documentation for this class was generated from the following files: