5#include <marenv/wake/WakeTypes.h>
156 double XStart()
const {
return m_xStart; }
171 double CentrelineAmplitude(
double x,
double pinnedAmplitude)
const;
174 double LinearSigma(
double x)
const;
177 double Sigma(
double x)
const;
182 double m_thrustCoefficient;
183 double m_nearWakeDeficit;
189 double m_farWakeStart;
190 double m_farWakeSigma;
KernelProfile(const ElementarySource &source, const KernelParams ¶ms)
KernelCentreline At(double x) const
Centreline amplitude and sigma at x >= x_start, m along flowDir.
double XStart() const
x_start = max(xStartFactor D, xStartMin), m.
Definition Kernel.h:156
double PeakAmplitude(double xFrom, double xTo) const
double ElementaryDeficit(const ElementarySource &source, const KernelParams ¶ms, const double pos[3])
void Validate(const KernelParams ¶ms)
ImageSet MirrorImages(const KernelParams ¶ms)
ImagePlanes MirrorPlanes(const KernelParams ¶ms)
Definition WakeTypes.h:33
double sign
-1 for a mirror image, +1 for a translated one.
Definition Kernel.h:101
double offset
m.
Definition Kernel.h:100
double QueryDepth(double z) const
Depth at which the source's deficit equals the image's deficit at depth z, m.
Definition Kernel.h:104
double ImageDepth(double z) const
Depth of the image of a source at depth z, m (the inverse of QueryDepth()).
Definition Kernel.h:107
int count
Number of planes, 0 to 2.
Definition Kernel.h:80
double z[2]
Depths of the planes, m: 0 (the free surface) if params.surfaceImage, then params....
Definition Kernel.h:81
ImageMap maps[4]
The images: the first level (MirrorPlanes()), then the second.
Definition Kernel.h:116
int count
Number of images, 0 to 4.
Definition Kernel.h:115
double sigma
Gaussian width sigma across the wake axis, m.
Definition Kernel.h:138
double amplitude
Centreline deficit, the amplitude of the Gaussian.
Definition Kernel.h:137
Definition WakeTypes.h:98