Virtual Testbed
Ship dynamics simulator for extreme conditions
Public Types | Public Member Functions | List of all members
vtb::core::Plain_wave_generator< T, N, Wave, P > Class Template Referenceabstract

Wavy surface generator that produces elevation grid for individual wave. More...

#include <plain_wave_generator.hh>

Inheritance diagram for vtb::core::Plain_wave_generator< T, N, Wave, P >:
[legend]
Collaboration diagram for vtb::core::Plain_wave_generator< T, N, Wave, P >:
[legend]

Public Types

using wave_type = Wave
 
using grid_type = Grid< T, N >
 
using array_type = Array< T, N >
 
- Public Types inherited from vtb::core::Wavy_surface_generator< T, N >
using grid_type = Grid< T, N >
 
using array_type = Array< T, N >
 

Public Member Functions

 Plain_wave_generator (const Plain_wave_generator &)=default
 
Plain_wave_generatoroperator= (const Plain_wave_generator &)=default
 
 Plain_wave_generator (const Wave &wave)
 
virtual void generate (const grid_type &grid, array_type &result)=0
 
const Wave & wave () const
 
grid_type acf_grid () const override
 
- Public Member Functions inherited from vtb::core::Wavy_surface_generator< T, N >
 Wavy_surface_generator (const Wavy_surface_generator &)=default
 
Wavy_surface_generatoroperator= (const Wavy_surface_generator &)=default
 
array_type generate (const grid_type &grid)
 
array_type operator() (const grid_type &grid)
 
void operator() (const grid_type &grid, array_type &result)
 

Detailed Description

template<class T, int N, class Wave, Policy P = Policy::OpenMP>
class vtb::core::Plain_wave_generator< T, N, Wave, P >

Wavy surface generator that produces elevation grid for individual wave.

Date
2018-08-01
Author
Ivan Gankevich
Template Parameters
Wavea function that returns wavy surface elevation for given point

Definition at line 69 of file plain_wave_generator.hh.