Airy(const Airy &wave)
Construct a copy.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar celerity() const
The wave celerity [m/s].
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual tmp< scalarField > elevation(const scalar t, const scalarField &x) const
Get the wave elevation at a given time and local coordinates. Local.
virtual autoPtr< waveModel > clone() const
Construct a clone.
bool deep() const
Return whether shallow and intermediate effects are to be omitted.
virtual tmp< vector2DField > velocity(const scalar t, const vector2DField &xz) const
Get the wave velocity at a given time and local coordinates. Local.
TypeName("Airy")
Runtime type information.
virtual tmp< scalarField > pressure(const scalar t, const vector2DField &xz) const
Get the wave pressure at a given time and local coordinates. Local.
tmp< scalarField > angle(const scalar t, const scalarField &x) const
Angle of the oscillation [rad].
Generic base class for waves. Derived classes must implement field functions which return the elevati...
scalar phase() const
Get the phase.
scalar k() const
The angular wavenumber [rad/m].
scalar length() const
Get the length.
scalar depth() const
Get the depth.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
tmp< vector2DField > vi(const label i, const scalar t, const vector2DField &xz) const
Return the non-dimensionalised i-th harmonic of the velocity.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual void write(Ostream &os) const
Write.
A class for managing temporary objects.
Registry of regIOobjects.
virtual ~Airy()
Destructor.