26 #ifndef REFRENCE_REFERENCE_H
27 #define REFRENCE_REFERENCE_H
78 bool getNearest(
double pos[3],
double time,
double ref[3]);
123 bool getMonitoredData(std::string type,
double time,
double& realTime,
double ref[]);
134 bool getMonitoredData(std::string type,
double time,
int index,
double& realTime,
double ref[]);
144 std::multimap<std::string, Monitor*> monitorsMap;
148 std::string mmlOutFile;
150 std::unique_ptr<mml::MonitoringOut> mmlOut;
159 std::vector<timeStep*> data;
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:49
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
This is the main class of this project.
Definition: PhysicalModel.h:86
A reference is used to compare to simulated data.
Definition: Reference.h:63
virtual ~Reference()
destructor
Definition: Reference.cpp:97
bool getMonitoredData(std::string type, double ref[])
get the the values of a given monitor which do not depend of time or an atom (e.g.
Definition: Reference.cpp:166
bool getNearest(double pos[3], double time, double ref[3])
get the nearest reference point in the "target" using "Position" monitor at given time
Definition: Reference.cpp:115
std::string toString()
return a string relative to Reference type
Definition: Reference.cpp:311
bool getDistanceToTriangularMesh(double pos[3], double &dist)
get distance to a triangular mesh, the target of the reference must contain triangles.
Definition: Reference.cpp:262
Reference(mml::Reference reference, MonitoringManager *monitoringManager)
constructor
Definition: Reference.cpp:45