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>&);
162 Type
value(
const scalar t)
const;
const word const dictionary & dict
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual ~Square()
Destructor.
Type value(const scalar t) const
Return value for time t.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Templated square-wave function with support for an offset level.
A class for managing temporary objects.
Square(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.