TimeEventRange specifies a start, stop and stride time.
More...
#include <Tempus_TimeEventRange_decl.hpp>
|
| | TimeEventRange () |
| | Default constructor. More...
|
| |
| | TimeEventRange (std::string name, Scalar start, Scalar stop, Scalar stride, Scalar relTol, bool landOnExactly) |
| | Construct with full argument list of data members. More...
|
| |
| | TimeEventRange (std::string name, Scalar start, Scalar stop, int numEvents, Scalar relTol, bool landOnExactly) |
| | Construct with full argument list of data members. More...
|
| |
| virtual | ~TimeEventRange () |
| | Destructor. More...
|
| |
|
| virtual bool | isTime (Scalar time) const |
| | Test if time is near a TimeEvent (within tolerance). More...
|
| |
| virtual Scalar | timeToNextEvent (Scalar time) const |
| | How much time until the next event. Negative indicating the last event is in the past. More...
|
| |
| virtual Scalar | timeOfNextEvent (Scalar time) const |
| | Time of the next event. Negative indicating the last event is in the past. More...
|
| |
| virtual bool | eventInRange (Scalar time1, Scalar time2) const |
| | Test if an event occurs within the time range. More...
|
| |
| | TimeEventBase () |
| | Constructor. More...
|
| |
| virtual | ~TimeEventBase () |
| | Destructor. More...
|
| |
| virtual bool | isIndex (int index) const |
| | Test if index is a time event. More...
|
| |
| virtual int | indexToNextEvent (int index) const |
| | How many indices until the next event. Negative indicating the last event is in the past. More...
|
| |
| virtual int | indexOfNextEvent (int index) const |
| | Index of the next event. Negative indicating the last event is in the past. More...
|
| |
| virtual bool | eventInRangeIndex (int index1, int index2) const |
| | Test if an event occurs within the time range. More...
|
| |
| virtual std::string | getName () const |
| |
| virtual void | setName (std::string name) |
| |
| virtual Scalar | getDefaultTime () const |
| |
| virtual Scalar | getDefaultTol () const |
| |
| virtual int | getDefaultIndex () const |
| |
|
| Scalar | start_ |
| | Start of time range. More...
|
| |
| Scalar | stop_ |
| | Stop of time range. More...
|
| |
| Scalar | stride_ |
| | Stride of time range. More...
|
| |
| unsigned | numEvents_ |
| | Number of events in time range. More...
|
| |
| Scalar | timeScale_ |
| | A reference time scale, max(abs(start_,stop_)). More...
|
| |
| Scalar | relTol_ |
| | Relative time tolerance for matching time events. More...
|
| |
| Scalar | absTol_ |
| | Absolute time tolerance, relTol_*timeScale_. More...
|
| |
| bool | landOnExactly_ |
| | Should these time events be landed on exactly, i.e, adjust the timestep to hit time event, versus stepping over and keeping the time step unchanged. More...
|
| |
| virtual void | setTimeRange (Scalar start, Scalar stop, Scalar stride) |
| |
| virtual void | setTimeRange (Scalar start, Scalar stop, int numEvents) |
| |
| virtual Scalar | getTimeStart () const |
| |
| virtual void | setTimeStart (Scalar start) |
| |
| virtual Scalar | getTimeStop () const |
| |
| virtual void | setTimeStop (Scalar stop) |
| |
| virtual Scalar | getTimeStride () const |
| |
| virtual void | setTimeStride (Scalar stride) |
| |
| virtual int | getNumEvents () const |
| |
| virtual void | setNumEvents (int numEvents) |
| |
| virtual Scalar | getRelTol () const |
| |
| virtual void | setRelTol (Scalar relTol) |
| |
| virtual Scalar | getAbsTol () const |
| |
| virtual bool | getLandOnExactly () const |
| |
| virtual void | setLandOnExactly (bool LOE) |
| |
| virtual void | describe () const |
| | Describe member data. More...
|
| |
| virtual void | setTimeScale () |
| |
template<class Scalar>
class Tempus::TimeEventRange< Scalar >
TimeEventRange specifies a start, stop and stride time.
Definition at line 29 of file Tempus_TimeEventRange_decl.hpp.
◆ TimeEventRange() [1/3]
◆ TimeEventRange() [2/3]
◆ TimeEventRange() [3/3]
◆ ~TimeEventRange()
◆ describe()
◆ eventInRange()
◆ getAbsTol()
◆ getLandOnExactly()
◆ getNumEvents()
◆ getRelTol()
◆ getTimeStart()
◆ getTimeStop()
◆ getTimeStride()
◆ isTime()
◆ setLandOnExactly()
◆ setNumEvents()
◆ setRelTol()
◆ setTimeRange() [1/2]
◆ setTimeRange() [2/2]
◆ setTimeScale()
◆ setTimeStart()
◆ setTimeStop()
◆ setTimeStride()
◆ timeOfNextEvent()
◆ timeToNextEvent()
◆ absTol_
◆ landOnExactly_
Should these time events be landed on exactly, i.e, adjust the timestep to hit time event, versus stepping over and keeping the time step unchanged.
Definition at line 106 of file Tempus_TimeEventRange_decl.hpp.
◆ numEvents_
◆ relTol_
◆ start_
◆ stop_
◆ stride_
◆ timeScale_
The documentation for this class was generated from the following files: