|
Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Public Types | |
| 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 > |
Public Member Functions | |
| virtual void | solve (const ship_type &ship, const grid_type &grid_txyz, Array3< T > wavy_surface)=0 |
| Determine underwater hull panels (faces) taking into account ship position and orientation. More... | |
| virtual void | solve (const ship_type &ship, const grid_type &grid_txyz, Array3< vertex_type > wavy_surface)=0 |
| 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). | |
Protected Attributes | |
| panel_array | _all_panels |
| panel_array | _wetted_panels |
| panel_array | _dry_panels |
| mask_array | _wetted_vertices_mask |
| waterline_type | _waterline |
Definition at line 51 of file core/types.hh.
|
pure virtual |
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) |
Implemented in vtb::core::Wetted_surface_solver_opencl< T, N >, and vtb::core::Wetted_surface_solver_openmp< T, N >.
1.8.15