Go to the documentation of this file.
90 namespace Function1Types
100 public Function1<Type>
111 autoPtr<Function1<scalar>> amplitude_;
114 autoPtr<Function1<scalar>> frequency_;
117 autoPtr<Function1<Type>> scale_;
120 autoPtr<Function1<Type>> level_;
129 void operator=(
const Square<Type>&) =
delete;
158 virtual inline Type
value(
const scalar t)
const;
A class for handling words, derived from Foam::string.
virtual void writeData(Ostream &os) const
Write in dictionary format.
const word const dictionary & dict
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Templated square-wave function with support for an offset level.
virtual Type value(const scalar t) const
Return value for time t.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Square(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.
virtual ~Square()=default
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...