99#ifndef Foam_Function1Types_Cosine_H
100#define Foam_Function1Types_Cosine_H
118 public Function1Types::Sine<Type>
137 const word& entryName,
139 const objectRegistry* obrPtr =
nullptr
152 virtual tmp<Function1<Type>>
clone()
const
165 virtual inline Type
value(
const scalar t)
const
171 virtual Type
integrate(
const scalar x1,
const scalar x2)
const
A templated cosine function, with support for offset etc.
virtual tmp< Function1< Type > > clone() const
Return a clone.
virtual Type value(const scalar t) const
Return value for time t.
virtual ~Cosine()=default
Destructor.
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
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.
Type sinValue(const scalar t) const
Return value for time t, using sin form.
static tmp< Function1< Type > > Clone(const Derived &fun)
Clone a Function1.
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.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.