33 const word& entryName,
45 const word& entryName,
61 const word& entryName,
104 return (x2 - x1)*value_;
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Constant(const word &entryName, const Type &val)
Construct from entry name and value.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void size(const label)
Override size to be inconsistent with allocated storage.
virtual Type value(const scalar) const
Return constant value.
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two values.
virtual ~Constant()
Destructor.
virtual void writeData(Ostream &os) const
Write in dictionary format.
A class for handling words, derived from string.
Templated function that returns a constant value.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void writeData(Ostream &os) const
Write in dictionary format.
A class for managing temporary objects.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.