26 #ifndef SIMULATOR_SIMULATORS_ANSYS_ARTISYNTHSIMULATOR_H
27 #define SIMULATOR_SIMULATORS_ANSYS_ARTISYNTHSIMULATOR_H
53 void getForce(
int index,
double force[3]);
60 virtual void createPml(
const char* inputFile,
const char* pmlFile);
64 std::string artisynthPath;
66 std::string workingDir;
Simulator class to use Artisynth as simulation engine.
Definition: ArtiSynthSimulator.h:39
double getTime(int step)
get the time of simulation of a given step
Definition: ArtiSynthSimulator.cpp:144
ArtisynthSimulator(MonitoringManager *monitoringManager)
constructor
Definition: ArtiSynthSimulator.cpp:41
void getForce(int index, double force[3])
get current force for one atom
Definition: ArtiSynthSimulator.cpp:127
~ArtisynthSimulator()
destructor
Definition: ArtiSynthSimulator.cpp:57
void getPosition(int index, double position[3])
get current position for one atom (use parameters)
Definition: ArtiSynthSimulator.cpp:96
void init()
initialize simulator
Definition: ArtiSynthSimulator.cpp:61
bool doCalc()
make entire simulation ans store results of all step
Definition: ArtiSynthSimulator.cpp:79
void end()
end simultor
Definition: ArtiSynthSimulator.cpp:68
int getMaxStep()
get the number of steps after simulation
Definition: ArtiSynthSimulator.cpp:133
virtual void createPml(const char *inputFile, const char *pmlFile)
Create a pml file from an imput file.
Definition: ArtiSynthSimulator.cpp:72
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