Go to the documentation of this file.
57 fieldName_(
"unknown"),
59 meanFieldName_(
"unknown"),
61 prime2MeanFieldName_(
"unknown"),
70 active_(faItem.active_),
71 fieldName_(faItem.fieldName_),
73 meanFieldName_(faItem.meanFieldName_),
74 prime2Mean_(faItem.prime2Mean_),
75 prime2MeanFieldName_(faItem.prime2MeanFieldName_),
77 window_(faItem.window_),
78 windowName_(faItem.windowName_)
96 <<
"Attempted assignment to self" <<
nl
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.
fieldAverageItem()
Construct null.
~fieldAverageItem()
Destructor.
scalar window_
Averaging window - defaults to -1 for 'all iters/time'.
Switch mean_
Compute mean flag.
baseType base_
Averaging base type.
word windowName_
Averaging window name - defaults to 'window'.
errorManip< error > abort(error &err)
Switch prime2Mean_
Compute prime-squared mean flag.
Switch active_
Active flag.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
word fieldName_
Field name.
baseType
Enumeration defining the averaging base type.
static const word EXT_PRIME2MEAN
Prime-squared average.
void operator=(const fieldAverageItem &)
static const NamedEnum< baseType, 2 > baseTypeNames_
Averaging base type names.
word prime2MeanFieldName_
Name of prime-squared mean field.
Initialise the NamedEnum HashTable from the static list of names.
word meanFieldName_
Name of mean field.