87 public FieldFunction1<Type, Repeat<Type>>
98 const autoPtr<Function1<Type>> value_;
104 static scalar readPeriod
106 const unitConversions&
units,
107 const dictionary&
dict
138 virtual inline Type
value(
const scalar
x)
const;
141 virtual inline Type
integral(
const scalar x1,
const scalar x2)
const;
const word & name() const
Return the name of the entry.
Function1 which repeats a given 'value' function with a given period or frequency,...
void operator=(const Repeat< Type > &)=delete
Disallow default bitwise assignment.
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 ~Repeat()
Destructor.
Repeat(const word &name, const unitConversions &units, const dictionary &dict)
Construct from name and dictionary.
virtual Type value(const scalar x) const
Return value.
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.