22 #ifndef NANDRAD_OutputGridH 23 #define NANDRAD_OutputGridH 27 #include "NANDRAD_Interval.h" 28 #include "NANDRAD_CodeGenMacros.h" 40 NANDRAD_COMPARE_WITH_NAME
89 #endif // NANDRAD_OutputGridH bool isActive(double t) const
Returns true, if the time point t matches an output grid point defined by this grid.
NANDRAD_READWRITE NANDRAD_COMPARE_WITH_NAME void checkIntervalDefinition() const
Checks input parameters and throws an IBK::Exception if some input values are wrong.
std::string m_name
Descriptive name for this output grid.
IBK::Parameter lastIntervalParameter(Interval::para_t p) const
Returns a parameter of the last interval handled in this OutputGrid, if needed, parameters are create...
An OutputGrid defines time intervals with a given output step size per interval.
IBK::Parameter intervalParameter(unsigned int intervalIndex, Interval::para_t p) const
Returns a parameter of the intervals handled in this OutputGrid, if needed, parameters are created/co...
std::vector< Interval > m_intervals
The start/duration/end of each interval in [s].
void setupIntervals()
Computes START parameters in all intervals.
The namespace NANDRAD contains the data model classes that make up the NANDRAD solver input data...
double computeNextOutputTime(double tOutCurrent) const
Computes and returns next output time point past tOutCurrent that is scheduled with this output grid...