38 fieldName_(
"unknown"),
40 meanFieldName_(
"unknown"),
42 prime2MeanFieldName_(
"unknown")
46 "Foam::Istream& Foam::operator>>"
47 "(Foam::Istream&, Foam::functionObjects::fieldAverageItem&)"
52 fieldName_ = wd.
first();
75 prime2MeanFieldName_ =
word group() const
Return group (extension part of name)
word member() const
Return member (name without the extension)
static word groupName(Name name, const word &group)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
const Type2 & second() const
Return second.
const Type1 & first() const
Return first.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T, if not found return the given default.
static const word meanExt
Mean average.
static const word prime2MeanExt
Prime-squared average.
fieldAverageItem()
Construct null.
Calculates average quantities for a user-specified selection of volumetric and surface fields.
Switch prime2Mean_
Compute prime-squared mean flag.
scalar window_
Averaging window - defaults to -1 for 'all iters/time'.
Switch mean_
Compute mean flag.
word windowName_
Averaging window name - defaults to 'window'.
Tuple of a word and dictionary, used to read in per-field options for function objects in the followi...