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