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>&);
156 virtual inline 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.
virtual Type value(const scalar t) const
Return value for time t.
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.
Square(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.