Templated function of two variables that returns a constant value.
Constant(const word &name, const Type &val)
Construct from name and value.
virtual void write(Ostream &os, const unitSets &units) const
Write in dictionary format.
virtual ~Constant()
Destructor.
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
Type readAndConvert(Istream &, const unitSet &)
Read a type which supports unit conversion.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)
const typeUnitsType< Type >::type & typeUnits(const unitSet &)
unitSet value
Unit conversion for result values.