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[]);
150 std::auto_ptr<mml::MonitoringOut>
mmlOut;
165 #endif // REFRENCE_REFERENCE_H
Reference(mml::Reference reference, MonitoringManager *monitoringManager)
constructor
PhysicalModel * pml
pml of the reference
Definition: Reference.h:156
bool getNearest(double pos[3], double time, double ref[3])
get the nearest reference point in the "target" using "Position" monitor at given time ...
int CurrentIndex
current data index, stored to avoid search from beginning in the data vector
Definition: Reference.h:161
std::vector< timeStep * > data
vector which contain alls monitors for each time step
Definition: Reference.h:159
std::auto_ptr< mml::MonitoringOut > mmlOut
Object in the file generated by xsdcxx.
Definition: Reference.h:150
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:46
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
A reference is used to compare to simulated data.
Definition: Reference.h:63
private structure with monitors for a time step
Definition: Reference.h:142
virtual ~Reference()
destructor
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.
MonitoringManager * monitoringManager
monitoring manager
Definition: Reference.h:152
std::string toString()
return a string relative to Reference type
This is the main class of this project.
Definition: PhysicalModel.h:74
std::string target
target
Definition: Reference.h:154
double time
Definition: Reference.h:143
std::string mmlOutFile
the mmlOut document
Definition: Reference.h:148
std::multimap< std::string, Monitor * > monitorsMap
Definition: Reference.h:144
bool getDistanceToTriangularMesh(double pos[3], double &dist)
get distance to a triangular mesh, the target of the reference must contain triangles.