50 #ifndef fieldAverageItem_H 51 #define fieldAverageItem_H 65 namespace functionObjects
69 class fieldAverageItem;
70 Istream&
operator>>(Istream&, fieldAverageItem&);
71 Ostream&
operator<<(Ostream&,
const fieldAverageItem&);
116 word prime2MeanFieldName_;
174 return meanFieldName_;
192 return prime2MeanFieldName_;
198 return baseTypeNames_[base_];
204 return base_ ==
ITER;
210 return base_ ==
TIME;
231 friend bool operator==
238 a.fieldName_ ==
b.fieldName_
239 && a.mean_ ==
b.mean_
240 && a.meanFieldName_ ==
b.meanFieldName_
241 && a.prime2Mean_ ==
b.prime2Mean_
242 && a.prime2MeanFieldName_ ==
b.prime2MeanFieldName_
243 && a.base_ ==
b.base_
244 && a.window_ ==
b.window_
245 && a.windowName_ ==
b.windowName_;
248 friend bool operator!=
fieldAverageItem()
Construct null.
friend Istream & operator>>(Istream &, fieldAverageItem &)
friend Ostream & operator<<(Ostream &, const fieldAverageItem &)
Switch iterBase() const
Return true if base is ITER.
const Switch & mean() const
Return const access to the mean flag.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
baseType
Enumeration defining the averaging base type.
const word & prime2MeanFieldName() const
Return const access to the prime-squared mean field name.
const word & meanFieldName() const
Return const access to the mean field name.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
const word & windowName() const
const word & fieldName() const
Return const access to the field name.
static const word EXT_PRIME2MEAN
Prime-squared average.
~fieldAverageItem()
Destructor.
void operator=(const fieldAverageItem &)
Switch timeBase() const
Return true if base is time.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
A class for handling words, derived from string.
Ostream & operator<<(Ostream &, const fieldAverageItem &)
const word base() const
Return averaging base type name.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const Switch & prime2Mean() const
Return const access to the prime-squared mean flag.
Helper class to describe what form of averaging to apply. A set will be applied to each base field in...
Istream & operator>>(Istream &, fieldAverageItem &)
static const word EXT_MEAN
Mean average.