104 #ifndef Function1Types_Square_H 105 #define Function1Types_Square_H 113 namespace Function1Types
123 public Function1Types::Sine<Type>
142 void operator=(
const Square<Type>&) =
delete;
152 const objectRegistry*
obrPtr =
nullptr 156 explicit Square(
const Square<Type>& rhs);
159 virtual tmp<Function1<Type>>
clone()
const 161 return tmp<Function1<Type>>(
new Square<Type>(*this));
172 virtual inline Type
value(
const scalar t)
const void operator=(const Square< Type > &)=delete
No copy assignment.
const word const dictionary & dict
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual ~Square()=default
Destructor.
virtual void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
OBJstream os(runTime.globalPath()/outputName)
Square(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 squareValue(const scalar t, const scalar posFrac) const
Return value for time t, using square form.
virtual Type value(const scalar t) const
Return value for time t.