Public Member Functions | |
timeControl (const dictionary &dict) | |
timeControl (dictionary &dict, real startTime, real endTime, real saveInterval, word startTimeName) | |
virtual | ~timeControl () |
real | dt () const |
real | setTime (real t) |
void | setStopAt (real sT) |
real | startTime () const |
word | timeName () const |
real | currentTime () const |
word | currentTimeWord (bool forSave=true) const |
int32 | currentIter () const |
bool | finalTime () const |
bool | reachedStopAt () const |
bool | outputToFile () const |
bool | timersReportTime () const |
bool | setOutputToFile (real writeTime, const word &timeName) |
bool | operator++ (int) |
void | setSaveTimeFolder (bool saveToFile, const word &timeName="wrongTimeFolder") |
int32 | timePrecision () const |
Protected Member Functions | |
void | checkForOutputToFile () |
bool | screenReport () const |
Protected Attributes | |
real | dt_ |
real | startTime_ |
real | endTime_ |
real | stopAt_ |
real | currentTime_ |
real | saveInterval_ |
real | lastSaved_ |
int32 | currentIter_ |
int32 | timePrecision_ |
bool | managedExternaly_ = false |
word | timeName_ = "wrongSettings" |
real | writeTime_ = 0 |
realStridedRange | timersReportInterval_ |
int32StridedRagne | screenReportInterval_ ={0,100} |
bool | outputToFile_ = false |
Definition at line 37 of file timeControl.hpp.
timeControl | ( | const dictionary & | dict | ) |
Definition at line 32 of file timeControl.cpp.
timeControl | ( | dictionary & | dict, |
real | startTime, | ||
real | endTime, | ||
real | saveInterval, | ||
word | startTimeName | ||
) |
Definition at line 70 of file timeControl.cpp.
References timeControl::checkForOutputToFile().
|
inlinevirtual |
Definition at line 98 of file timeControl.hpp.
|
protected |
Definition at line 125 of file timeControl.cpp.
References pFlow::abs(), pFlow::min(), and pFlow::pow().
Referenced by timeControl::setTime(), and timeControl::timeControl().
|
protected |
Definition at line 26 of file timeControl.cpp.
References timeControl::currentIter_, stridedRange< T >::isMember(), and timeControl::screenReportInterval_.
|
inline |
Definition at line 102 of file timeControl.hpp.
References timeControl::dt_.
Referenced by demComponent::dt().
Definition at line 107 of file timeControl.hpp.
References timeControl::checkForOutputToFile(), timeControl::currentTime_, and timeControl::lastSaved_.
|
inline |
Definition at line 116 of file timeControl.hpp.
References timeControl::managedExternaly_, and timeControl::stopAt_.
|
inline |
Definition at line 124 of file timeControl.hpp.
References timeControl::startTime_.
pFlow::word timeName | ( | ) | const |
Definition at line 103 of file timeControl.cpp.
Referenced by Time::localPath(), and timeControl::setOutputToFile().
|
inline |
Definition at line 131 of file timeControl.hpp.
References timeControl::currentTime_.
Referenced by demComponent::currentTime(), and timeControl::currentTimeWord().
|
inline |
Definition at line 136 of file timeControl.hpp.
References timeControl::currentTime(), pFlow::real2FixedStripZeros(), and timeControl::timePrecision().
|
inline |
Definition at line 152 of file timeControl.hpp.
References timeControl::currentIter_.
bool finalTime | ( | ) | const |
Definition at line 111 of file timeControl.cpp.
References pFlow::abs().
bool reachedStopAt | ( | ) | const |
Definition at line 118 of file timeControl.cpp.
References pFlow::abs().
|
inline |
Definition at line 161 of file timeControl.hpp.
References timeControl::outputToFile_.
bool timersReportTime | ( | ) | const |
Definition at line 157 of file timeControl.cpp.
Definition at line 168 of file timeControl.hpp.
References timeControl::managedExternaly_, timeControl::timeName(), timeControl::timeName_, and timeControl::writeTime_.
bool operator++ | ( | int | ) |
Definition at line 174 of file timeControl.cpp.
void setSaveTimeFolder | ( | bool | saveToFile, |
const word & | timeName = "wrongTimeFolder" |
||
) |
Definition at line 163 of file timeControl.cpp.
Referenced by systemControl::setSaveTimeFolder().
|
inline |
Definition at line 184 of file timeControl.hpp.
References timeControl::timePrecision_.
Referenced by timeControl::currentTimeWord().
|
protected |
Definition at line 45 of file timeControl.hpp.
Referenced by timeControl::dt().
|
protected |
Definition at line 48 of file timeControl.hpp.
Referenced by timeControl::startTime().
|
protected |
Definition at line 51 of file timeControl.hpp.
|
protected |
Definition at line 54 of file timeControl.hpp.
Referenced by timeControl::setStopAt().
|
protected |
Definition at line 57 of file timeControl.hpp.
Referenced by timeControl::currentTime(), and timeControl::setTime().
|
protected |
Definition at line 60 of file timeControl.hpp.
|
protected |
Definition at line 63 of file timeControl.hpp.
Referenced by timeControl::setTime().
|
protected |
Definition at line 66 of file timeControl.hpp.
Referenced by timeControl::currentIter(), and timeControl::screenReport().
|
protected |
Definition at line 69 of file timeControl.hpp.
Referenced by timeControl::timePrecision().
|
protected |
Definition at line 71 of file timeControl.hpp.
Referenced by timeControl::setOutputToFile(), and timeControl::setStopAt().
|
protected |
Definition at line 73 of file timeControl.hpp.
Referenced by timeControl::setOutputToFile().
|
protected |
Definition at line 75 of file timeControl.hpp.
Referenced by timeControl::setOutputToFile().
|
protected |
Definition at line 77 of file timeControl.hpp.
|
protected |
Definition at line 79 of file timeControl.hpp.
Referenced by timeControl::screenReport().
|
protected |
Definition at line 81 of file timeControl.hpp.
Referenced by timeControl::outputToFile().