Public Member Functions | |
timeControl (const dictionary &dict) | |
timeControl (dictionary &dict, real startTime, real endTime, real saveInterval, word startTimeName) | |
virtual | ~timeControl ()=default |
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 | sortTime () const |
bool | setOutputToFile (real writeTime, const word &timeName) |
bool | operator++ (int) |
void | setSaveTimeFolder (bool saveToFile, const word &timeName="wrongTimeFolder") |
int32 | timePrecision () const |
timeInfo | TimeInfo () const |
Private Member Functions | |
void | checkForOutputToFile () |
bool | screenReport () const |
Private 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_ |
Logical | performSorting_ |
realStridedRange | sortingInterval_ |
int32StridedRagne | screenReportInterval_ ={0,100} |
bool | outputToFile_ = false |
Definition at line 37 of file timeControl.hpp.
|
explicit |
Definition at line 32 of file timeControl.cpp.
timeControl | ( | dictionary & | dict, |
real | startTime, | ||
real | endTime, | ||
real | saveInterval, | ||
word | startTimeName | ||
) |
Definition at line 78 of file timeControl.cpp.
References timeControl::checkForOutputToFile().
|
virtualdefault |
|
private |
Definition at line 151 of file timeControl.cpp.
References pFlow::abs(), pFlow::algorithms::KOKKOS::min(), and pFlow::pow().
Referenced by timeControl::timeControl().
|
private |
Definition at line 26 of file timeControl.cpp.
References timeControl::currentIter_, stridedRange< T >::isMember(), and timeControl::screenReportInterval_.
|
inline |
Definition at line 104 of file timeControl.hpp.
References timeControl::dt_.
pFlow::real setTime | ( | real | t | ) |
Definition at line 120 of file timeControl.cpp.
|
inline |
Definition at line 112 of file timeControl.hpp.
References timeControl::managedExternaly_, and timeControl::stopAt_.
|
inline |
Definition at line 120 of file timeControl.hpp.
References timeControl::startTime_.
pFlow::word timeName | ( | ) | const |
Definition at line 129 of file timeControl.cpp.
Referenced by timeControl::setOutputToFile().
|
inline |
Definition at line 127 of file timeControl.hpp.
References timeControl::currentTime_.
Referenced by pFlow::PFtoVTK::convertTimeFolderPointFields(), pFlow::PFtoVTK::convertTimeFolderPointFieldsSelected(), pFlow::TSFtoVTK::convertTimeFolderTriSurfaceFields(), and timeControl::currentTimeWord().
|
inline |
Definition at line 132 of file timeControl.hpp.
References timeControl::currentTime(), pFlow::real2FixedStripZeros(), and timeControl::timePrecision().
|
inline |
Definition at line 148 of file timeControl.hpp.
References timeControl::currentIter_.
Referenced by pointField< pFlow::VectorSingle, pFlow::AB3History >::updateBoundaries().
bool finalTime | ( | ) | const |
Definition at line 137 of file timeControl.cpp.
References pFlow::abs().
bool reachedStopAt | ( | ) | const |
Definition at line 144 of file timeControl.cpp.
References pFlow::abs().
|
inline |
Definition at line 157 of file timeControl.hpp.
References timeControl::outputToFile_.
bool timersReportTime | ( | ) | const |
Definition at line 181 of file timeControl.cpp.
bool sortTime | ( | ) | const |
Definition at line 187 of file timeControl.cpp.
Definition at line 166 of file timeControl.hpp.
References timeControl::managedExternaly_, timeControl::timeName(), timeControl::timeName_, and timeControl::writeTime_.
bool operator++ | ( | int | ) |
Definition at line 203 of file timeControl.cpp.
References Cyan_Text, END_REPORT, and REPORT.
void setSaveTimeFolder | ( | bool | saveToFile, |
const word & | timeName = "wrongTimeFolder" |
||
) |
Definition at line 192 of file timeControl.cpp.
Referenced by systemControl::setSaveTimeFolder().
|
inline |
Definition at line 182 of file timeControl.hpp.
References timeControl::timePrecision_.
Referenced by timeControl::currentTimeWord().
|
inline |
Definition at line 188 of file timeControl.hpp.
References timeControl::currentIter_, timeControl::currentTime_, and timeControl::dt_.
|
private |
Definition at line 45 of file timeControl.hpp.
Referenced by timeControl::dt(), and timeControl::TimeInfo().
|
private |
Definition at line 48 of file timeControl.hpp.
Referenced by timeControl::startTime().
|
private |
Definition at line 51 of file timeControl.hpp.
|
private |
Definition at line 54 of file timeControl.hpp.
Referenced by timeControl::setStopAt().
|
private |
Definition at line 57 of file timeControl.hpp.
Referenced by timeControl::currentTime(), and timeControl::TimeInfo().
|
private |
Definition at line 60 of file timeControl.hpp.
|
private |
Definition at line 63 of file timeControl.hpp.
|
private |
Definition at line 66 of file timeControl.hpp.
Referenced by timeControl::currentIter(), timeControl::screenReport(), and timeControl::TimeInfo().
|
private |
Definition at line 69 of file timeControl.hpp.
Referenced by timeControl::timePrecision().
|
private |
Definition at line 71 of file timeControl.hpp.
Referenced by timeControl::setOutputToFile(), and timeControl::setStopAt().
|
private |
Definition at line 73 of file timeControl.hpp.
Referenced by timeControl::setOutputToFile().
|
private |
Definition at line 75 of file timeControl.hpp.
Referenced by timeControl::setOutputToFile().
|
private |
Definition at line 77 of file timeControl.hpp.
|
private |
Definition at line 79 of file timeControl.hpp.
|
private |
Definition at line 81 of file timeControl.hpp.
|
private |
Definition at line 83 of file timeControl.hpp.
Referenced by timeControl::screenReport().
|
private |
Definition at line 85 of file timeControl.hpp.
Referenced by timeControl::outputToFile().