Go to the documentation of this file.
69 #ifndef Function1Types_ramp_H
70 #define Function1Types_ramp_H
78 namespace Function1Types
87 public Function1<scalar>
101 inline scalar
linearRamp(
const scalar t)
const
115 void operator=(
const ramp&) =
delete;
132 virtual ~ramp() =
default;
141 virtual scalar
value(
const scalar t)
const = 0;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
virtual void writeData(Ostream &os) const
Ramp function base class for the set of scalar functions starting from 0 and increasing monotonically...
const word const dictionary & dict
scalar linearRamp(const scalar t) const
virtual void userTimeToTime(const Time &t)
label min(const labelHashSet &set, label minValue=labelMax)
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Registry of regIOobjects.
virtual scalar value(const scalar t) const =0
const word const dictionary const objectRegistry * obrPtr
label max(const labelHashSet &set, label maxValue=labelMin)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
void writeEntries(Ostream &os) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
ramp(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)