Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Public Types | |
using | derivative_type = vtb::opencl::Derivative< T, 4 > |
using | panel_type = Ship_hull_panel< T, 3 > |
using | panel_array = std::vector< panel_type > |
using | grid3 = Grid< T, 3 > |
using | grid4 = Grid< T, 4 > |
using | array3 = Array< T, 3 > |
using | array4 = Array< T, 4 > |
using | vec3 = Vector3< T > |
![]() | |
using | panel_type = Ship_hull_panel< T, 3 > |
using | panel_array = std::vector< panel_type > |
using | grid3 = Grid< T, 3 > |
using | grid4 = Grid< T, 4 > |
using | array3 = Array< T, 3 > |
using | array4 = Array< T, 4 > |
using | vec3 = Vector3< T > |
Public Member Functions | |
void | calculate_pressure (const grid4 &grid, const array4 &velocity_potential, const array3 &wavy_surface, Buffer< T > &pressure) |
void | calculate_pressure_force (const grid4 &pressure_grid, Buffer< T > &pressure, panel_array &panels) |
void | solve (const grid3 &wavy_surface_grid, array3 wavy_surface, const grid4 &phi_grid, array4 velocity_potential, panel_array &panels) override |
void | context (Context *rhs) override |
![]() | |
virtual void | solve (const Grid< T, 3 > &wavy_surface_grid, Array< T, 3 > wavy_surface, const Grid< T, 4 > &velocity_potential_grid, Array< T, 4 > velocity_potential, panel_array &panels)=0 |
Compute pressure force applied to the centre of each ship hull panel. More... | |
T | density () const noexcept |
Fluid density. | |
void | density (T rhs) noexcept |
T | g () const noexcept |
Gravitational acceleration. | |
void | g (T rhs) noexcept |
void | clip (bool b) |
bool | clip () const |
Clamp grid to panels? | |
![]() | |
Context * | context () |
const Context * | context () const |
Definition at line 21 of file wave_pressure_opencl.cc.