Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Public Member Functions | |
void | context (Context *rhs) override |
void | solve (const ship_type &ship, const grid_type &grid_txyz, Array3< T > wavy_surface) override |
Determine underwater hull panels (faces) taking into account ship position and orientation. More... | |
void | solve (const ship_type &ship, const grid_type &grid_txyz, Array3< vertex_type > wavy_surface) override |
Determine underwater hull panels (faces) for irregular grid. | |
![]() | |
const panel_array & | wetted_panels () const |
Wetted ship hull faces. | |
panel_array & | wetted_panels () |
const panel_array & | dry_panels () const |
Wetted ship hull faces. | |
panel_array & | dry_panels () |
const panel_array & | all_panels () const |
All ship hull faces. | |
panel_array & | all_panels () |
const mask_array & | wetted_vertices_mask () const noexcept |
Wetted panels mask. | |
const waterline_type & | waterline () const |
Waterline polyline (line segment array). | |
![]() | |
Context * | context () |
const Context * | context () const |
Additional Inherited Members | |
![]() | |
using | panel_type = Ship_hull_panel< T, N > |
using | panel_array = std::vector< panel_type > |
using | ship_type = Ship< T > |
using | grid_type = Grid< T, 4 > |
using | vertex_type = blitz::TinyVector< T, N > |
using | waterline_type = vtb::geometry::Polyline< T, 3 > |
![]() | |
panel_array | _all_panels |
panel_array | _wetted_panels |
panel_array | _dry_panels |
mask_array | _wetted_vertices_mask |
waterline_type | _waterline |
Definition at line 23 of file wetted_surface_solver_opencl.cc.
|
overridevirtual |
Determine underwater hull panels (faces) taking into account ship position and orientation.
[in] | offset | ship position in the Earth-fixed coordinate system |
[in] | angle | ship angular displacement (orientation) in the Earth-fixed coordinate system |
[in] | wavy_surface_grid | spatio-tempoaral wavy surface \((t,x,y)\) grid |
[in] | wavy_surface | wavy surface |
[in] | grid_xyz | spatial \((x,y,z)\) grid (the first two dimensions equal the last two dimensions of the wavy_surface_grid ) |
Implements vtb::core::Wetted_surface_solver< T, N >.
Definition at line 180 of file wetted_surface_solver_opencl.cc.
References vtb::core::Grid< T, N >::size().