|
MoorDyn
|
An abstract class representing the capability of providing water current data at some point and time. More...
#include <Waves.hpp>

Public Member Functions | |
| virtual void | getCurrentKin (const vec3 &pos, real time, const SeafloorProvider &seafloor, vec3 *vel, vec3 *acc)=0 |
| Get the velocity and acceleration at a specific position and time. More... | |
An abstract class representing the capability of providing water current data at some point and time.
|
pure virtual |
Get the velocity and acceleration at a specific position and time.
| pos | The location |
| time | The time |
| seafloor | A SeafloorProvider, could be used for kinematic stretching |
| vel | The output velocity, not set if null |
| acc | The output acceleration, not set if null |
Implemented in moordyn::CurrentGrid.