36 const word& entryName,
49 const word& entryName,
65 ITstream& is = eptr->stream();
66 if (is.peek().isWord())
71 dict.checkITstream(is, entryName);
78 dict.readEntry(
"value", value_);
86 const word& entryName,
Templated function that returns a constant value.
virtual void writeData(Ostream &os) const
Write as primitive (inline) format.
Constant(const word &entryName, const Type &value, const objectRegistry *obrPtr=nullptr)
Construct from components.
virtual Type value(const scalar) const
Return constant value.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual void writeData(Ostream &os) const
Write in dictionary format.
Function1(const word &entryName, const objectRegistry *obrPtr=nullptr)
Construct from entry name.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A keyword and a list of tokens is an 'entry'.
virtual bool isStream() const noexcept
True if this entry is a stream.
Registry of regIOobjects.
A traits class, which is primarily used for primitives and vector-space.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
static constexpr const zero Zero
Global zero (0).