92 public FieldFunction1<Type, Sine<Type>>
97 const autoPtr<Function1<Type>> amplitude_;
100 const scalar frequency_;
106 const autoPtr<Function1<Type>> level_;
109 const bool integrable_;
139 virtual inline Type
value(
const scalar
x)
const;
142 virtual inline Type
integral(
const scalar x1,
const scalar x2)
const;
const word & name() const
Return the name of the entry.
Templated sine function with support for an offset level.
virtual ~Sine()
Destructor.
void operator=(const Sine< 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.
Sine(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 keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
const HashTable< unitConversion > & units()
Get the table of unit conversions.