84 public FieldFunction1<scalar, squarePulse>
126 virtual inline scalar
value(
const scalar t)
const;
const word const dictionary & dict
Square pulse function. Takes a value of 0 before start, then rises instantaneously to 1...
A list of keyword definitions, which are a keyword followed by any number of values (e...
const word & name() const
Return the name of the entry.
virtual scalar value(const scalar t) const
Return value for time t.
virtual ~squarePulse()
Destructor.
virtual scalar integral(const scalar t1, const scalar t2) const
Return the integral between times t1 and t2.
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.
void operator=(const squarePulse &)=delete
Disallow default bitwise assignment.
An Ostream is an abstract base class for all output systems (streams, files, token lists...