Go to the documentation of this file.
33 void Foam::Function1Types::ramp::read(
const dictionary& coeffs)
35 start_ = coeffs.getOrDefault<scalar>(
"start", 0);
42 const word& entryName,
A class for handling words, derived from Foam::string.
bool read(const char *buf, int32_t &val)
Same as readInt32.
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
ramp(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.
word name(const complex &c)
Return string representation of complex.
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual Ostream & endBlock()
Write end block group.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar duration_
Duration of the ramp function.
scalar start_
Start-time of the ramp function.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...