82 #ifndef PiersonMoskowitz_H
83 #define PiersonMoskowitz_H
129 virtual autoPtr<waveSpectrum>
clone()
const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pierson-Moskowitz wave spectrum. This spectrum has the following form:
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.
virtual autoPtr< waveSpectrum > clone() const
Construct a clone.
virtual ~PiersonMoskowitz()
Destructor.
PiersonMoskowitz(const PiersonMoskowitz &spectrum)
Construct a copy.
TypeName("PiersonMoskowitz")
Runtime type information.
virtual scalar fFraction(const scalar fraction) const
Return the frequency below which a given fraction of the spectrum's.
virtual void write(Ostream &os) const
Write.
virtual tmp< scalarField > integralS(const scalarField &f) const
Evaluate the integral of the wave spectral density at the given.
virtual tmp< scalarField > S(const scalarField &f) const
Evaluate the wave spectral density at the given frequencies [m^2/Hz].
scalar g() const
Access the gravitation acceleration [m/s^2].