83 public FieldFunction1<Type, Add<Type>>
88 const autoPtr<Function1<Type>> value1_;
91 const autoPtr<Function1<Type>> value2_;
121 virtual inline Type
value(
const scalar
x)
const;
124 virtual inline Type
integral(
const scalar x1,
const scalar x2)
const;
127 virtual inline bool constant()
const;
const word & name() const
Return the name of the entry.
Function1 which adds the value of two Function1-s.
Add(const word &name, const unitConversions &units, const dictionary &dict)
Construct from name and dictionary.
virtual ~Add()
Destructor.
virtual Type integral(const scalar x1, const scalar x2) const
Integrate between two values.
virtual void write(Ostream &os, const unitConversions &units) const
Write data to dictionary stream.
virtual Type value(const scalar x) const
Return value.
virtual bool constant() const
Is this function guaranteed to be constant?
void operator=(const Add< Type > &)=delete
Disallow default bitwise assignment.
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 HashTable< unitConversion > & units()
Get the table of unit conversions.