45 >::names[] = {
"iteration",
"time"};
51 > Foam::functionObjects::fieldAverageItem::baseTypeNames_;
58 fieldName_(
"unknown"),
60 meanFieldName_(
"unknown"),
62 prime2MeanFieldName_(
"unknown"),
74 fieldName_(faItem.fieldName_),
76 meanFieldName_(faItem.meanFieldName_),
77 prime2Mean_(faItem.prime2Mean_),
78 prime2MeanFieldName_(faItem.prime2MeanFieldName_),
80 window_(faItem.window_),
81 windowName_(faItem.windowName_)
93 void Foam::functionObjects::fieldAverageItem::operator=
102 <<
"Attempted assignment to self" <<
nl 107 fieldName_ = rhs.fieldName_;
109 meanFieldName_ = rhs.meanFieldName_;
110 prime2Mean_ = rhs.prime2Mean_;
111 prime2MeanFieldName_ = rhs.prime2MeanFieldName_;
113 window_ = rhs.window_;
114 windowName_ = rhs.windowName_;
fieldAverageItem()
Construct null.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
baseType
Enumeration defining the averaging base type.
Initialise the NamedEnum HashTable from the static list of names.
static const word EXT_PRIME2MEAN
Prime-squared average.
~fieldAverageItem()
Destructor.
A class for handling words, derived from string.
errorManip< error > abort(error &err)
Helper class to describe what form of averaging to apply. A set will be applied to each base field in...
static const word EXT_MEAN
Mean average.