|
Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Base class for all velocity potential solvers. More...
#include <velocity_potential.hh>
Public Member Functions | |
| T | depth () const noexcept |
| Get water depth. | |
| void | depth (T rhs) |
| Set water depth. | |
| void | wave_number_grid (const Grid< T, 2 > &rhs) |
| const Grid< T, 2 > & | wave_number_grid () const |
| void | assumptions (Assumptions rhs) |
| const Assumptions & | assumptions () const |
| virtual void | solve (const Grid< T, N+1 > &grid_tzxy, const Array< T, N > &wavy_surface, Array< T, N+1 > &velocity_potential)=0 |
| Calculate velocity potential for each grid point. More... | |
| void | operator() (const Grid< T, 4 > &grid_tzxy, const Array< T, 3 > &wavy_surface, Array< T, 4 > &velocity_potential) |
Base class for all velocity potential solvers.
Definition at line 25 of file velocity_potential.hh.
|
pure virtual |
Calculate velocity potential for each grid point.
| [in] | grid_tzxy | Four-dimensional \((t,z,x,y)\) grid for each point of which velocity potential is calculated. This grid includes three-dimensional \((t,x,y)\) wavy surface grid for each point of which wavy surface elevation is given. |
1.8.15