Public Member Functions | |
INLINE_FUNCTION_HD | timeInterval () |
INLINE_FUNCTION_HD | timeInterval (const timeInterval &)=default |
INLINE_FUNCTION_HD timeInterval & | operator= (const timeInterval &)=default |
FUNCTION_H | timeInterval (const dictionary &dict) |
INLINE_FUNCTION_HD | ~timeInterval ()=default |
INLINE_FUNCTION_HD auto | startTime () const |
INLINE_FUNCTION_HD auto | endTime () const |
INLINE_FUNCTION_HD auto | time () const |
INLINE_FUNCTION_HD void | setTime (real t) |
INLINE_FUNCTION_HD bool | inTimeRange (real t) const |
INLINE_FUNCTION_HD bool | inTimeRange () const |
FUNCTION_H bool | read (const dictionary &dict) |
FUNCTION_H bool | write (dictionary &dict) const |
FUNCTION_H bool | read (iIstream &is) |
FUNCTION_H bool | write (iOstream &os) const |
Protected Attributes | |
real | startTime_ = 0 |
real | endTime_ = largeValue |
real | time_ =0 |
bool | isInInterval_ = true |
Definition at line 16 of file timeInterval.hpp.
|
inline |
Definition at line 30 of file timeInterval.hpp.
|
default |
FUNCTION_H timeInterval | ( | const dictionary & | dict | ) |
Definition at line 7 of file timeInterval.cpp.
References fatalExit, and timeInterval::read().
|
default |
|
default |
|
inline |
Definition at line 45 of file timeInterval.hpp.
References timeInterval::startTime_.
Referenced by vibrating::calculateVelocity().
|
inline |
Definition at line 51 of file timeInterval.hpp.
References timeInterval::endTime_.
|
inline |
Definition at line 57 of file timeInterval.hpp.
References timeInterval::time_.
Referenced by vibrating::calculateVelocity(), and vibrating::setTime().
|
inline |
Definition at line 63 of file timeInterval.hpp.
References timeInterval::inTimeRange(), timeInterval::isInInterval_, and timeInterval::time_.
Referenced by vibrating::setTime().
|
inline |
Definition at line 70 of file timeInterval.hpp.
References timeInterval::endTime_, and timeInterval::startTime_.
|
inline |
Definition at line 76 of file timeInterval.hpp.
References timeInterval::isInInterval_.
Referenced by vibrating::calculateVelocity(), rotatingAxis::linTangentialVelocityPoint(), timeInterval::setTime(), and vibrating::transferPoint().
FUNCTION_H bool read | ( | const dictionary & | dict | ) |
Definition at line 17 of file timeInterval.cpp.
References dictionary::getValOrSet(), and pFlow::largeValue.
Referenced by pFlow::operator>>(), rotatingAxis::read(), vibrating::read(), and timeInterval::timeInterval().
FUNCTION_H bool write | ( | dictionary & | dict | ) | const |
Definition at line 26 of file timeInterval.cpp.
References dictionary::add(), pFlow::endl(), fatalErrorInFunction, and dictionary::globalName().
Referenced by pFlow::operator<<(), rotatingAxis::write(), and vibrating::write().
FUNCTION_H bool read | ( | iIstream & | is | ) |
Definition at line 46 of file timeInterval.cpp.
References pFlow::endl(), FUNCTION_NAME, ioErrorInFile, IOstream::lineNumber(), IOstream::name(), and iIstream::readEndStatement().
FUNCTION_H bool write | ( | iOstream & | os | ) | const |
Definition at line 79 of file timeInterval.cpp.
References IOstream::check(), FUNCTION_NAME, and iOstream::writeWordEntry().
|
protected |
Definition at line 19 of file timeInterval.hpp.
Referenced by timeInterval::inTimeRange(), and timeInterval::startTime().
|
protected |
Definition at line 21 of file timeInterval.hpp.
Referenced by timeInterval::endTime(), and timeInterval::inTimeRange().
|
protected |
Definition at line 23 of file timeInterval.hpp.
Referenced by timeInterval::setTime(), and timeInterval::time().
|
protected |
Definition at line 25 of file timeInterval.hpp.
Referenced by timeInterval::inTimeRange(), and timeInterval::setTime().