|
MoorDyn
|
Contains grid based current data. More...
#include <Waves.hpp>


Public Member Functions | |
| CurrentGrid (moordyn::Log *log, const std::vector< real > &px, const std::vector< real > &py, const std::vector< real > &pz, unsigned int nt, real dt) | |
| void | allocateKinematicArrays () |
| void | getCurrentKin (const vec3 &pos, real time, const SeafloorProvider &seafloor, vec3 *vel, vec3 *acc) override |
| Get the velocity and acceleration at a specific position and time. More... | |
| Vec4D< vec3 > & | CurrentVel () |
| const Vec4D< vec3 > & | getCurrentVel () const |
| Vec4D< vec3 > & | CurrentAcc () |
| const Vec4D< vec3 > & | getCurrentAcc () const |
| const std::vector< real > & | Px () const |
| const std::vector< real > & | Py () const |
| const std::vector< real > & | Pz () const |
Public Member Functions inherited from moordyn::GridXYZT | |
| GridXYZT (const std::vector< real > &px, const std::vector< real > &py, const std::vector< real > &pz, unsigned int nt, real dt) | |
Additional Inherited Members | |
Public Attributes inherited from moordyn::GridXYZT | |
| unsigned int | nx |
| number of grid points in x direction | |
| unsigned int | ny |
| number of grid points in y direction | |
| unsigned int | nz |
| number of grid points in z direction | |
| unsigned int | nt = 0 |
| number of time steps used in wave kinematics time series | |
| real | dtWave |
| time step for wave kinematics time series | |
Protected Attributes inherited from moordyn::GridXYZT | |
| std::vector< real > | px |
| grid x coordinate arrays | |
| std::vector< real > | py |
| grid y coordinate arrays | |
| std::vector< real > | pz |
| grid z coordinate arrays | |
Contains grid based current data.
Is an AbstractCurrentKin
|
overridevirtual |
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 |
Implements moordyn::AbstractCurrentKin.