40 #ifndef OneConstant2_H 41 #define OneConstant2_H 84 virtual inline Type
value(
const scalar
x,
const scalar
y)
const;
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void write(Ostream &os) const
Write in dictionary format.
Templated function of two variables that returns the corresponding 1 (one).
const word const dictionary & dict
virtual ~OneConstant()
Destructor.
const word & name() const
Return the name of the entry.
void operator=(const OneConstant< Type > &)=delete
Disallow default bitwise assignment.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OneConstant(const word &name)
Construct from name.
A class for managing temporary objects.
virtual Type value(const scalar x, const scalar y) const
Return One.