Go to the documentation of this file.
99 #ifndef Function1Types_Cosine_H
100 #define Function1Types_Cosine_H
108 namespace Function1Types
118 public Function1Types::Sine<Type>
129 void operator=(
const Cosine<Type>&) =
delete;
139 const objectRegistry*
obrPtr =
nullptr
146 explicit Cosine(
const Cosine<Type>& rhs)
159 virtual inline Type
value(
const scalar t)
const
Sine(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
A class for handling words, derived from Foam::string.
A templated sine function, with support for offset etc.
const word const dictionary & dict
Registry of regIOobjects.
Cosine(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
void operator=(const Cosine< Type > &)=delete
No copy assignment.
Cosine(const Cosine< Type > &rhs)
Copy construct.
const word const dictionary const objectRegistry * obrPtr
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual Type value(const scalar t) const
Return value for time t.
A templated cosine function, with support for offset etc.
Type cosValue(const scalar t) const
Return value for time t, using cos form.
virtual ~Cosine()=default
Destructor.