98 public FieldFunction1<Type, Square<Type>>
103 autoPtr<Function1<Type>> amplitude_;
112 autoPtr<Function1<Type>> level_;
155 virtual inline Type
value(
const scalar
x)
const;
158 virtual inline Type
integral(
const scalar x1,
const scalar x2)
const;
virtual ~Square()
Destructor.
virtual Type integral(const scalar x1, const scalar x2) const
Integrate between two values.
const word const dictionary & dict
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 Type value(const scalar x) const
Return value.
void operator=(const Square< Type > &)=delete
Disallow default bitwise assignment.
virtual void write(Ostream &os) const
Write data to dictionary stream.
Templated square-wave function with support for an offset level.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Square(const word &name, const dictionary &dict)
Construct from name and dictionary.