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)
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 const word const dictionary & dict
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
Sine(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
virtual ~Cosine()=default
Destructor.
virtual Type value(const scalar t) const
Return value for time t.
Cosine(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
const word const dictionary const objectRegistry * obrPtr
Type cosValue(const scalar t) const
Return value for time t, using cos form.
void operator=(const Cosine< Type > &)=delete
No copy assignment.