99#ifndef Function1Types_Cosine_H
100#define Function1Types_Cosine_H
108namespace 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)
152 virtual tmp<Function1<Type>>
clone()
const
154 return tmp<Function1<Type>>(
new Cosine<Type>(*
this));
165 virtual inline Type
value(
const scalar t)
const
A templated cosine function, with support for offset etc.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
virtual Type value(const scalar t) const
Return value for time t.
virtual ~Cosine()=default
Destructor.
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.
A templated sine function, with support for offset etc.
Sine(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
Type cosValue(const scalar t) const
Return value for time t, using cos form.
const word const dictionary & dict
const word const dictionary const objectRegistry * obrPtr
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Registry of regIOobjects.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.