Marine systems simulation
Loading...
Searching...
No Matches
BathymetryWavesSpec.h
1#pragma once
3
4#include <cstdint>
5#include <vector>
6
7namespace marenv::seafloor
8{
17{
18 float sinDir;
19 float cosDir;
20 float amplitude;
21 float omega;
22
30 BathymetryWave(double angleRad, double amplitude, double omega);
31};
32
40{
43 std::vector<BathymetryWave> waves;
44
49 std::vector<float> GetData();
50
58 void AddWave(double angleRad, double amplitude, double waveLength);
59
71 int numComponents,
72 double sumAmplitudes,
73 double minWavelength,
74 double maxWavelength,
75 uint32_t seed);
76};
77} // namespace marenv::seafloor
Definition BathymetryWavesSpec.h:17
float amplitude
Wave amplitude [m].
Definition BathymetryWavesSpec.h:20
float cosDir
Cosine of the wave propagation direction.
Definition BathymetryWavesSpec.h:19
float omega
Angular frequency [rad/s].
Definition BathymetryWavesSpec.h:21
float sinDir
Sine of the wave propagation direction.
Definition BathymetryWavesSpec.h:18
BathymetryWave(double angleRad, double amplitude, double omega)
Definition BathymetryWavesSpec.h:40
void AddWave(double angleRad, double amplitude, double waveLength)
float averageDepth
Average water depth [m].
Definition BathymetryWavesSpec.h:41
BathymetryWavesSpec(double averageDepth, int numComponents, double sumAmplitudes, double minWavelength, double maxWavelength, uint32_t seed)
float sumAmplitudes
Total sum of amplitudes across all components.
Definition BathymetryWavesSpec.h:42
std::vector< BathymetryWave > waves
Collection of bathymetry wave components.
Definition BathymetryWavesSpec.h:43