40 #ifndef ZeroConstant2_H
41 #define ZeroConstant2_H
89 virtual inline Type
value(
const scalar
x,
const scalar
y)
const;
const word & name() const
Return the name of the entry.
Templated function of two variables that returns the corresponding 0 (zero).
ZeroConstant(const word &name)
Construct from name.
void operator=(const ZeroConstant< Type > &)=delete
Disallow default bitwise assignment.
virtual void write(Ostream &os, const unitConversions &units) const
Write in dictionary format.
virtual ~ZeroConstant()
Destructor.
virtual Type value(const scalar x, const scalar y) const
Return Zero.
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 managing temporary objects.
A class for handling words, derived from string.
const HashTable< unitConversion > & units()
Get the table of unit conversions.