Airy(const objectRegistry &db, const dictionary &dict)
Construct from a database and a dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual autoPtr< waveModel > clone() const
Construct a clone.
TypeName("Airy")
Runtime type information.
Generic base class for waves. Derived classes must implement field functions which return the elevati...
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.
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 ~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.