Marine systems simulation
AiryWaves.h
1
17
18#ifndef AIRY_WAVES
19#define AIRY_WAVES
20
21#include "LinearWaveTheory.h"
22class ISimObjectCreator;
23
25{
26public:
27
28
29 AiryWaves( bool bIrregularWaves, vector<double>& mdWaveAmplitude, vector<double>& mdPhaseAngle, vector<double>& adWaveFrequency, vector<double>& adWaveDirection, ISimObjectCreator* creator);
30 ~AiryWaves(void);
31
32 double ComputeSurfaceElevation(const double dT, const double adPos[2]);
33 void ComputeSurfaceUnitNormal(const double dT, const double adPos[2], double *adUnitNormalOut);
34 void ComputeParticleVelocity(const double dT, const double adPos[3], double *adVelOut);
35 void ComputeParticleAcceleration(const double dT, const double adPos[3], double *adAccOut);
36 double ComputeDynamicPressure(const double dT, const double adPos[3]);
37 double ComputeTotalPressure(const double dT, const double adPos[3]);
38
43 virtual void ComputePointQuery(double T, const double Position[3], double& surface_elevation, double surface_unit_normal[3], double particle_velocity[3], double particle_acceleration[3], double& pressure);
44
45
46};
47
48#endif
Definition: AiryWaves.h:25
virtual void ComputePointQuery(double T, const double Position[3], double &surface_elevation, double surface_unit_normal[3], double particle_velocity[3], double particle_acceleration[3], double &pressure)
Definition: LinearWaveTheory.h:25