Go to the documentation of this file.
50 #ifndef fieldAverageItem_H
51 #define fieldAverageItem_H
66 class fieldAverageItem;
67 Istream&
operator>>(Istream&, fieldAverageItem&);
68 Ostream&
operator<<(Ostream&,
const fieldAverageItem&);
244 friend bool operator==
261 friend bool operator!=
Helper class to describe what form of averaging to apply. A set will be applied to each base field in...
const word & fieldName() const
Return const access to the field name.
static const word EXT_MEAN
Mean average.
fieldAverageItem()
Construct null.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
const Switch & mean() const
Return const access to the mean flag.
A class for handling words, derived from string.
~fieldAverageItem()
Destructor.
Switch & mean()
Return non-const access to the mean flag.
scalar window_
Averaging window - defaults to -1 for 'all iters/time'.
Switch mean_
Compute mean flag.
Switch & active()
Return non-const access to the active flag.
const word & meanFieldName() const
Return const access to the mean field name.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const word & windowName() const
baseType base_
Averaging base type.
const word base() const
Return averaging base type name.
friend Ostream & operator<<(Ostream &, const fieldAverageItem &)
Ostream & operator<<(Ostream &, const edgeMesh &)
word windowName_
Averaging window name - defaults to 'window'.
const Switch & prime2Mean() const
Return const access to the prime-squared mean flag.
Switch prime2Mean_
Compute prime-squared mean flag.
Switch iterBase() const
Return true if base is ITER.
const word & prime2MeanFieldName() const
Return const access to the prime-squared mean field name.
Switch active_
Active flag.
friend Istream & operator>>(Istream &, fieldAverageItem &)
word fieldName_
Field name.
baseType
Enumeration defining the averaging base type.
const Switch & active() const
Return const access to the active flag.
Istream & operator>>(Istream &, edgeMesh &)
static const word EXT_PRIME2MEAN
Prime-squared average.
void operator=(const fieldAverageItem &)
static const NamedEnum< baseType, 2 > baseTypeNames_
Averaging base type names.
Switch & prime2Mean()
Return non-const access to the prime-squared mean flag.
word prime2MeanFieldName_
Name of prime-squared mean field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Switch timeBase() const
Return true if base is time.
word meanFieldName_
Name of mean field.