MoorDyn
Public Member Functions | List of all members
moordyn::AbstractWaveKin Class Referenceabstract

An abstract class representing having the capability of providing wave kinematics data. More...

#include <Waves.hpp>

Inheritance diagram for moordyn::AbstractWaveKin:
Inheritance graph
[legend]

Public Member Functions

virtual void getWaveKin (const vec3 &pos, real time, const SeafloorProvider &seafloor, real *zeta, vec3 *vel, vec3 *acc, real *pdyn)=0
 Get the velocity, acceleration, wave height and dynamic pressure at a specific position and time. More...
 

Detailed Description

An abstract class representing having the capability of providing wave kinematics data.

Member Function Documentation

◆ getWaveKin()

virtual void moordyn::AbstractWaveKin::getWaveKin ( const vec3 pos,
real  time,
const SeafloorProvider seafloor,
real zeta,
vec3 vel,
vec3 acc,
real pdyn 
)
pure virtual

Get the velocity, acceleration, wave height and dynamic pressure at a specific position and time.

Parameters
posThe location
timeThe time
seafloorA SeafloorProvider used for kinematic stretching
zetaThe output wave height, not set if null
UThe output velocity, not set if null
UdThe output acceleration, not set if null
PDynThe output dynamic pressure, not set if null

Implemented in moordyn::WaveGrid, and moordyn::SpectrumKinWrapper.


The documentation for this class was generated from the following file: