35 #ifndef Foam_functionObjects_fieldInfo_H 36 #define Foam_functionObjects_fieldInfo_H 46 namespace functionObjects
140 is >> fi.name_ >> fi.component_ >> fi.found_;
145 os << fi.name_ <<
' ' 146 << fi.component_ <<
' ' dimensioned< cmptType > component(const direction d) const
Return a component as a dimensioned<cmptType>
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
friend bool operator==(const fieldInfo &a, const fieldInfo &b)
Helper class to store a wordRe and label used by Foam::functionObjects::fieldSelection.
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
friend Ostream & operator<<(Ostream &os, const fieldInfo &fi)
bool found() const noexcept
Return the found state.
static const char * name(const bool b) noexcept
A string representation of bool as "false" / "true".
Ostream & operator<<(Ostream &, const fieldInfo &)
friend Istream & operator>>(Istream &is, fieldInfo &fi)
Istream & operator>>(Istream &, fieldInfo &)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
~fieldInfo()=default
Destructor.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
const word & name() const noexcept
Return const reference to name.
const wordRe & name() const noexcept
Return the selector pattern for the field name(s)
fieldInfo()
Default construct.
friend bool operator!=(const fieldInfo &a, const fieldInfo &b)
label component() const noexcept
Return the component.