84 namespace Function1Types
94 public Function1<Type>
102 autoPtr<Function1<scalar>> amplitude_;
105 autoPtr<Function1<scalar>> frequency_;
108 autoPtr<Function1<Type>> scale_;
111 autoPtr<Function1<Type>> level_;
120 void operator=(
const Sine<Type>&);
136 const word& ext =
"Coeffs" 156 Type
value(
const scalar t)
const;
const word const dictionary & dict
Sine(const word &entryName, const dictionary &dict, const word &ext="Coeffs")
Construct from entry name and dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~Sine()
Destructor.
Templated sine function with support for an offset level.
Type value(const scalar t) const
Return value for time t.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
virtual void writeData(Ostream &os) const
Write in dictionary format.
A class for managing temporary objects.