88 namespace Function1Types
98 public Function1<Type>
109 autoPtr<Function1<scalar>> amplitude_;
112 autoPtr<Function1<scalar>> frequency_;
115 autoPtr<Function1<Type>> scale_;
118 autoPtr<Function1<Type>> level_;
127 void operator=(
const Square<Type>&);
143 const word& ext =
"Coeffs" 163 Type
value(
const scalar t)
const;
const word const dictionary & dict
Square(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 ~Square()
Destructor.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
A class for handling words, derived from string.
virtual void writeData(Ostream &os) const
Write in dictionary format.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Type value(const scalar t) const
Return value for time t.
Templated square-wave function with support for an offset level.
A class for managing temporary objects.