|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef MONITOR_MONITORS_FORCE_H
27 #define MONITOR_MONITORS_FORCE_H
32 #include <MonitorIn.hxx>
56 #endif // MONITOR_MONITORS_FORCE_H
A monitor for forces.
Definition: MonitorForce.h:38
unsigned int getNumberOfStructures() const
get the number of structures
Definition: StructuralComponent.h:252
An atom has an unique index in the physical model object, a 3D position, and different basic properti...
Definition: Atom.h:49
PhysicalModel * getPml()
Definition: MonitoringManager.cpp:263
MonitoringManager * monitoringManager
monitoring manager
Definition: Monitor.h:140
std::vector< double > values
the vector which contains data monitored
Definition: Monitor.h:152
unsigned int getIndex() const
get the structure unique index (stored in its property)
Definition: Structure.cpp:30
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:52
A simulator engine is used to compute the displacements of all atoms of the model.
Definition: Simulator.h:46
MonitorForce(mml::Monitor *m, MonitoringManager *monitoringManager)
constructor
Definition: MonitorForce.cpp:33
int getIndex()
Definition: Monitor.cpp:201
virtual void write()
write data stored in values vector into mmlOut file
Definition: Monitor.cpp:171
A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:46
Component * getComponentByName(const std::string n)
get a structural or multi component by its name.
Definition: PhysicalModel.cpp:553
Simulator * getSimulator()
Definition: MonitoringManager.cpp:306
void calculate() override
calculate current followed data and store them in values vector
Definition: MonitorForce.cpp:39
virtual void getForce(int index, double force[3])=0
get current force for one atom
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
std::string getTypeName() override
return a string relative to monitor type
Definition: MonitorForce.cpp:71
Structure * getStructure(const unsigned int) const
get a structure by its index (fisrt structure is at index 0)
Definition: StructuralComponent.h:220
~MonitorForce() override
destructor
Definition: MonitorForce.cpp:36
std::string target
the name of the component targeted by the monitor
Definition: Monitor.h:134
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:49