Go to the documentation of this file.
75 #ifndef Function1Types_Scale_H
76 #define Function1Types_Scale_H
84 namespace Function1Types
94 public Function1<Type>
99 autoPtr<Function1<scalar>> scale_;
102 autoPtr<Function1<Type>> value_;
138 virtual ~Scale() =
default;
144 virtual inline Type
value(
const scalar t)
const;
TypeName("scale")
Runtime type information.
Scale(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
A class for handling words, derived from Foam::string.
const word const dictionary & dict
virtual void writeData(Ostream &os) const
Write in dictionary format.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Registry of regIOobjects.
Function1 which scales a given 'value' function by a scalar 'scale' function.
const word const dictionary const objectRegistry * obrPtr
virtual Type value(const scalar t) const
Return value for time t.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void operator=(const Scale< Type > &)=delete
No copy assignment.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.
virtual ~Scale()=default
Destructor.