94 autoPtr<Function1<scalar>> amplitude_;
108 static scalar readLength
110 const dictionary&
dict,
148 const word& modelName = Airy::typeName,
168 scalar
depth()
const;
180 scalar
phase()
const;
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 list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
scalar g() const
Get the value of gravity.
Calculation engine for the Airy wave model and other models that are a correction on top of the Airy ...
scalar celerity() const
The wave celerity [m/s].
scalar length() const
Get the length.
scalar amplitude() const
Get the amplitude at steady state.
virtual scalar celerity() const
The wave celerity [m/s].
virtual ~Airy()
Destructor.
AiryCoeffs coeffs() const
Return the wave coefficients at steady state.
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.
TypeName("Airy")
Runtime type information.
virtual void write(Ostream &os) const
Write.
virtual tmp< vector2DField > velocity(const scalar t, const vector2DField &xz) const
Get the wave velocity at a given time and local coordinates. Local.
scalar depth() const
Get the depth.
scalar phase() const
Get the phase.
Airy(const Airy &wave)
Construct a copy.
A class for handling words, derived from string.
label wave(const fvMesh &mesh, const List< labelPair > &changedPatchAndFaces, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance, TrackingData &td, GeometricField< DataType, PatchField, GeoMesh > &... data)
Wave distance (and maybe additional) data from faces. If nCorrections is.