26 #ifndef SIMULATOR_SIMULATORS_ANSYS_ANSYSSIMULATOR_H 27 #define SIMULATOR_SIMULATORS_ANSYS_ANSYSSIMULATOR_H 54 void getForce(
int index,
double force[3]);
61 virtual void createPml(
const char* inputFile,
const char* pmlFile);
78 #endif // SIMULATOR_SIMULATORS_ANSYS_ANSYSSIMULATOR_H MonitoringManager * monitoringManager
monitoring manager
Definition: Simulator.h:84
An interactive simulator is a simulator that we cannot control step by step (ex: Ansys) Entire simula...
Definition: NonInteractiveSimulator.h:38
virtual void createPml(const char *inputFile, const char *pmlFile)
Create a pml file from an imput file.
Definition: AnsysSimulator.cpp:98
Ansys batch file handler.
Definition: AnsysBatch.h:44
void end()
end simultor
Definition: AnsysSimulator.cpp:83
int getMaxStep()
get the number of steps after simulation
Definition: AnsysSimulator.cpp:156
~AnsysSimulator()
destructor
Definition: AnsysSimulator.cpp:68
double getTime(int step)
get the time of simulation of a given step
Definition: AnsysSimulator.cpp:167
bool doCalc()
make entire simulation ans store results of all step
Definition: AnsysSimulator.cpp:105
AnsysSimulator(MonitoringManager *monitoringManager)
constructor
Definition: AnsysSimulator.cpp:45
void getForce(int index, double force[3])
get current force for one atom
Definition: AnsysSimulator.cpp:150
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
std::string getBatchFile()
get path to batch file
Definition: AnsysSimulator.cpp:180
std::string ansysPath
Ansys binary.
Definition: AnsysSimulator.h:67
void getPosition(int index, double position[3])
get current position for one atom (use parameters)
Definition: AnsysSimulator.cpp:119
AnsysBatch * batch
Ansys batch file creator.
Definition: AnsysSimulator.h:71
void runAnsys()
start ansys with created batch file
Definition: AnsysSimulator.cpp:113
void init()
initialize simulator
Definition: AnsysSimulator.cpp:75
std::string workingDir
Ansys working dir.
Definition: AnsysSimulator.h:69
Simulator class to use Ansys as simulation engine.
Definition: AnsysSimulator.h:40