mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Function1: Optimized field evaluations
This commit is contained in:
committed by
Andrew Heather
parent
2f431ffd3d
commit
3b6eb380d0
@ -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
|
||||
|
||||
Reference in New Issue
Block a user