26 #ifndef SIMULATOR_NONINTERACTIVESIMULATOR_H
27 #define SIMULATOR_NONINTERACTIVESIMULATOR_H
48 virtual void init() = 0;
50 virtual void end() = 0;
52 virtual void getPosition(
int index,
double position[3])=0;
59 virtual double getTime(
int step)=0;
64 virtual void createPml(
const char* inputFile,
const char* pmlFile)=0;
70 #endif // SIMULATOR_NONINTERACTIVESIMULATOR_H
MonitoringManager * monitoringManager
monitoring manager
Definition: Simulator.h:82
virtual ~NonInteractiveSimulator()
destructor
An interactive simulator is a simulator that we cannot control step by step (ex: Ansys) Entire simula...
Definition: NonInteractiveSimulator.h:38
virtual void end()=0
end simultor
A simulator engine is used to compute the displacements of all atoms of the model.
Definition: Simulator.h:44
virtual int getMaxStep()=0
get the number of steps after simulation
virtual void createPml(const char *inputFile, const char *pmlFile)=0
Create a pml file from an imput file.
virtual double getTime(int step)=0
get the time of simulation of a given step
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
virtual void getPosition(int index, double position[3])=0
get current position for one atom (use parameters)
virtual void init()=0
initialize simulator
virtual bool doCalc()=0
make entire simulation ans store results of all step
NonInteractiveSimulator(MonitoringManager *monitoringManager)
constructor