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 autoPtr< waveModel > clone() const
Construct a clone.
bool deep() const
Return whether shallow and intermdiate effects are to be omitted.
TypeName("Airy")
Runtime type information.
Generic base class for waves. Derived classes must implement field functions which return the elevati...
scalar phase() const
Get the phase.
tmp< scalarField > angle(const scalar t, const scalar u, const scalarField &x) const
Angle of the oscillation [rad].
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...
virtual tmp< vector2DField > velocity(const scalar t, const scalar u, const vector2DField &xz) const
Get the wave velocity at a given time, mean velocity and local.
tmp< vector2DField > vi(const label i, const scalar t, const scalar u, const vector2DField &xz) const
Return the non-dimensionalised i-th harmonic of the velocity.
virtual tmp< scalarField > pressure(const scalar t, const scalar u, const vector2DField &xz) const
Get the wave pressure at a given time, mean velocity and local.
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.
virtual tmp< scalarField > elevation(const scalar t, const scalar u, const scalarField &x) const
Get the wave elevation at a given time, mean velocity and local.