41 void Foam::Function1s::squarePulse::read(
const dictionary& dict)
43 start_ = dict.lookupOrDefault<scalar>(
"start", 0);
44 duration_ = dict.lookup<scalar>(
"duration");
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~squarePulse()
Destructor.
makeScalarFunction1(halfCosineRamp)
bool read(const char *, int32_t &)
A class for handling words, derived from string.
virtual void write(Ostream &os) const
Write data to dictionary stream.
squarePulse(const word &name, const dictionary &dict)
Construct from name and dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
word name(const complex &)
Return a string representation of a complex.