|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
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);
73 #endif // SIMULATOR_SIMULATORS_ANSYS_ARTISYNTHSIMULATOR_H
A factory to create Simulator.
Definition: SimulatorFactory.h:40
std::string workingDir
Artisynth working dir.
Definition: ArtiSynthSimulator.h:89
bool doCalc()
make entire simulation ans store results of all step
Definition: ArtiSynthSimulator.cpp:79
Simulator class to use Artisynth as simulation engine.
Definition: ArtiSynthSimulator.h:39
PhysicalModel * getPml()
Definition: MonitoringManager.cpp:263
double getCurrentStep()
Definition: MonitoringManager.cpp:242
#define MML_DECL_CLASS(name)
needed in files to register into factories (because of static lib and windows linking problems)
Definition: Macros.h:31
bool artisynthRegistered
Definition: ArtiSynthSimulator.cpp:38
std::string artisynthPath
Artisynth binary.
Definition: ArtiSynthSimulator.h:87
void init()
initialize simulator
Definition: ArtiSynthSimulator.cpp:61
void getForce(int index, double force[3])
get current force for one atom
Definition: ArtiSynthSimulator.cpp:127
virtual void createPml(const char *inputFile, const char *pmlFile)
Create a pml file from an imput file.
Definition: ArtiSynthSimulator.cpp:72
MonitoringManager * monitoringManager
monitoring manager
Definition: Simulator.h:107
void exportAnsysMesh(std::string filename)
Save the mesh (atoms/cells) of this PhysicalModel in the Ansys format.
Definition: PhysicalModel.cpp:747
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
~ArtisynthSimulator()
destructor
Definition: ArtiSynthSimulator.cpp:57
ArtisynthSimulator(MonitoringManager *monitoringManager)
constructor
Definition: ArtiSynthSimulator.cpp:41
void runArtisynth()
start Artisynth calculations
Definition: ArtiSynthSimulator.cpp:85
double getTime(int step)
get the time of simulation of a given step
Definition: ArtiSynthSimulator.cpp:144
void end()
end simultor
Definition: ArtiSynthSimulator.cpp:68
void getPosition(int index, double position[3])
get current position for one atom (use parameters)
Definition: ArtiSynthSimulator.cpp:96
An interactive simulator is a simulator that we cannot control step by step (ex: Ansys) Entire simula...
Definition: NonInteractiveSimulator.h:38
int getMaxStep()
get the number of steps after simulation
Definition: ArtiSynthSimulator.cpp:133