Miind
Public Attributes | List of all members
MPILib::report::ReportValue Struct Reference

#include <libs/MPILib/include/report/ReportValue.hpp>

Collaboration diagram for MPILib::report::ReportValue:
Collaboration graph

Public Attributes

std::string _name_quantity
 
double _time
 
double _value
 

Detailed Description

ReportValue objects cab be added to a Report when a particular quantity, as yet unknown at this stage, needs to be stored into the simulation data file.

Each handler has its own way of dealing with these objects. For the RootReport handler the behavious is as follows: if a TGraph corresponding to the name member does not yet exist, one will be created for the DynamicNode where it is added to the Report. From that moment onwards, every ReportValue added in this node will be added to the TGraph, together with the simulation time of the Report. Hence a plot over time of the quantity in question will be created and stored in the simulation file.

Definition at line 38 of file ReportValue.hpp.

Member Data Documentation

std::string MPILib::report::ReportValue::_name_quantity

The name of the stored quantity

Definition at line 42 of file ReportValue.hpp.

double MPILib::report::ReportValue::_time

The corresponding time point

Definition at line 50 of file ReportValue.hpp.

double MPILib::report::ReportValue::_value

The value stored

Definition at line 46 of file ReportValue.hpp.


The documentation for this struct was generated from the following file: