9 #ifndef Tempus_TimeEventIndexRange_decl_hpp
10 #define Tempus_TimeEventIndexRange_decl_hpp
18 #include "Tempus_config.hpp"
29 template<
class Scalar>
45 virtual bool isIndex(
int index)
const;
92 #endif // Tempus_TimeEventIndexRange_decl_hpp
virtual void setIndexStart(int start)
TimeEventRangeIndex specifies a start, stop and stride index.
virtual int getNumEvents() const
virtual ~TimeEventRangeIndex()
Destructor.
virtual int getIndexStride() const
virtual int indexToNextEvent(int index) const
How many indices until the next event. Negative indicating the last event is in the past...
virtual int getIndexStart() const
virtual void setIndexStride(int stride)
This class defines time events which can be used to "trigger" an action. Time events are points in ti...
virtual void setNumEvents()
virtual void setIndexStop(int stop)
TimeEventRangeIndex()
Default constructor.
virtual int getIndexStop() const
virtual void describe() const
Describe member data.
virtual bool eventInRangeIndex(int index1, int index2) const
Test if an event occurs within the index range.
virtual int indexOfNextEvent(int index) const
Index of the next event. Negative indicating the last event is in the past.
virtual bool isIndex(int index) const
Test if index is a time event.
virtual void setIndexRange(int start, int stop, int stride)