Go to the documentation of this file.
86 namespace Function1Types
96 public Function1<Type>
104 autoPtr<Function1<scalar>> amplitude_;
107 autoPtr<Function1<scalar>> frequency_;
110 autoPtr<Function1<Type>> scale_;
113 autoPtr<Function1<Type>> level_;
122 void operator=(
const Sine<Type>&) =
delete;
145 virtual ~Sine() =
default;
151 virtual inline Type
value(
const scalar t)
const;
A class for handling words, derived from Foam::string.
Sine(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.
Templated sine function with support for an offset level.
const word const dictionary & dict
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual ~Sine()=default
Destructor.
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,...
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,...
virtual void writeData(Ostream &os) const
Write in dictionary format.