Go to the documentation of this file.
63 return meanFieldName_;
81 return prime2MeanFieldName_;
87 return baseTypeNames_[base_];
125 return windowFieldNames_;
131 return allowRestart_;
153 <<
"Unhandled enumeration " << baseTypeNames_[base_]
172 return scalar(totalIter_);
177 <<
"Unhandled enumeration " << baseTypeNames_[base_]
191 return prefix +
':' + fieldName_ +
':' +
Foam::name(totalIter_);
201 return round(t) <= round(window_) + 1;
210 <<
"Unhandled baseType enumeration "
211 << baseTypeNames_[base_]
222 return windowType_ == windowType::EXACT;
228 return (allowRestart_ && window_ > 0);
const FIFOStack< scalar > & windowTimes() const
Return the list of window times (windowType = EXACT)
A class for handling words, derived from Foam::string.
bool writeWindowFields() const
Return true if we wish to write window fields.
scalar dt(const scalar deltaT) const
Return the current time interval.
const word & fieldName() const
Return const access to the field name.
bool allowRestart() const
Return the allow restart flag.
bool storeWindowFields() const
Return true if we wish to store window fields.
label totalIter() const
Return the total number of iterations item has been evolved.
const word & meanFieldName() const
Return const access to the mean field name.
word name(const complex &c)
Return string representation of complex.
bool mean() const
Return const access to the mean flag.
bool inWindow(const scalar t) const
Return true if time is inside window (including boundaries)
const word & windowName() const
Return the (optional) window name.
errorManip< error > abort(error &err)
bool active() const
Return const access to the active flag.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool prime2Mean() const
Return const access to the prime-squared mean flag.
scalar totalTime() const
Return the total time item has been evolved.
scalar window() const
Return the window length (iterations or seconds)
scalar Dt() const
Return the total time interval.
const word & prime2MeanFieldName() const
Return const access to the prime-squared mean field name.
const FIFOStack< word > & windowFieldNames() const
Return the list of window field names (windowType = EXACT)
A FIFO stack based on a singly-linked list.
word windowFieldName(const word &prefix) const
Helper function to construct a window field name.
const word & base() const
Return averaging base type name.