76 scalar k(
const scalar t)
const;
79 scalar alpha(
const scalar t)
const;
82 scalar celerity(
const scalar t)
const;
solitary(const solitary &wave)
Construct a copy.
scalar depth() const
Get the depth.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar offset() const
Get the offset.
virtual void write(Ostream &os) const
Write.
Generic base class for waves. Derived classes must implement field functions which return the elevati...
virtual tmp< vector2DField > velocity(const scalar t, const vector2DField &xz) const
Get the wave velocity at a given time and local coordinates. Local.
virtual tmp< scalarField > pressure(const scalar t, const vector2DField &xz) const
Get the wave pressure at a given time and local coordinates. Local.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
Registry of regIOobjects.
virtual autoPtr< waveModel > clone() const
Construct a clone.
virtual ~solitary()
Destructor.
TypeName("solitary")
Runtime type information.
virtual tmp< scalarField > elevation(const scalar t, const scalarField &x) const
Get the wave elevation at a given time and local coordinates. Local.