139 virtual scalar
fFraction(
const scalar fraction)
const;
GodaJONSWAP wave spectrum. This is an alternative, approximate parameterisation of the JONSWAP spectr...
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.
virtual autoPtr< waveSpectrum > clone() const
Construct a clone.
TypeName("GodaJONSWAP")
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.
GodaJONSWAP(const GodaJONSWAP &spectrum)
Construct a copy.
virtual tmp< scalarField > S(const scalarField &f) const
Evaluate the wave spectral density at the given frequencies [m^2/Hz].
virtual ~GodaJONSWAP()
Destructor.
scalar g() const
Access the gravitation acceleration [m/s^2].