Skip to content

Commit fdfae3c

Browse files
committed
Expose CreateSpectrum() for irregular waves
1 parent c77e1b0 commit fdfae3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/hydroc/wave_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ class IrregularWaves : public WaveBase {
286286
IrregularWaves(const IrregularWaveParams& params);
287287
void Initialize() override {}
288288

289+
void CreateSpectrum();
289290
std::vector<double> GetSpectrum();
290291
std::vector<double> GetFreeSurfaceElevation();
291292
std::vector<double> GetEtaTimeData();
@@ -386,7 +387,6 @@ class IrregularWaves : public WaveBase {
386387

387388
void InitializeIRFVectors();
388389
void ReadEtaFromFile();
389-
void CreateSpectrum();
390390
void CreateFreeSurfaceElevation();
391391

392392
Eigen::MatrixXd GetExcitationIRF(int b) const;

0 commit comments

Comments
 (0)