4#include "marenv/marenv.h"
5#include <marenv/wave/WaveField.h>
10#include <xsimd/xsimd.hpp>
18enum class SpectrumType
46 WaveComponents(std::vector<double> amplitude, std::vector<double> phaseAngle, std::vector<double> frequency, std::vector<double> direction, SpectrumType spectrumType);
74 using alignedvec = std::vector<double, xsimd::aligned_allocator<double, 64>>;
75 WaveComponents(alignedvec amplitude, alignedvec phaseAngle, alignedvec frequency, alignedvec direction, SpectrumType spectrumType);
80 alignedvec waveNumber;
84 alignedvec remainingAccumulatedAmplitude;
89 SpectrumType spectrumType;
Definition WaveComponents.h:33
WaveComponents(std::vector< double > amplitude, std::vector< double > phaseAngle, std::vector< double > frequency, std::vector< double > direction, SpectrumType spectrumType)
std::string GetSpectrumType() const
Spectrum type.
~WaveComponents()=default
Default destructor.
WaveField::InsecureDatapointers GetInsecureDatapointers() const
Gives access to temporary pointers to internal structures, for performance reasons.
void Sort()
Sorts the wave components.
Represents a wave field.
Definition WaveEnergySpectrum.h:16
Policy mixin: this type is movable but not copyable.
Definition marenv.h:126
Pointers to wave component details.
Definition WaveField.h:46