Function1: Optimized field evaluations

This commit is contained in:
Henry Weller
2017-08-08 10:16:08 +01:00
committed by Andrew Heather
parent 2f431ffd3d
commit 3b6eb380d0
43 changed files with 677 additions and 265 deletions

View File

@ -126,12 +126,6 @@ public:
//- Copy constructor
Scale(const Scale<Type>& se);
//- Construct and return a clone
virtual tmp<Function1<Type>> clone() const
{
return tmp<Function1<Type>>(new Scale<Type>(*this));
}
//- Destructor
virtual ~Scale();
@ -140,7 +134,7 @@ public:
// Member Functions
//- Return value for time t
Type value(const scalar t) const;
virtual inline Type value(const scalar t) const;
//- Write in dictionary format
virtual void writeData(Ostream& os) const;
@ -154,6 +148,8 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "ScaleI.H"
#ifdef NoRepository
#include "Scale.C"
#endif