Go to the documentation of this file.
63 return meanFieldName_;
72 meanFieldName_ =
name;
91 return prime2MeanFieldName_;
100 prime2MeanFieldName_ =
name;
106 return baseTypeNames_[base_];
144 return windowFieldNames_;
150 return allowRestart_;
172 <<
"Unhandled enumeration " << baseTypeNames_[base_]
191 return scalar(totalIter_);
196 <<
"Unhandled enumeration " << baseTypeNames_[base_]
210 return prefix +
':' + fieldName_ +
':' +
Foam::name(totalIter_);
220 return round(t) <= round(window_) + 1;
229 <<
"Unhandled baseType enumeration "
230 << baseTypeNames_[base_]
241 return windowType_ == windowType::EXACT;
247 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.
void setPrime2MeanFieldName(const word &name)
Set the prime-squared mean field name.
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.
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.
void setMeanFieldName(const word &name)
Set the mean field name.
#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.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
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.