5#include <marenv/wake/WakeField.h>
6#include <marenv/wake/WakeTypes.h>
75double OnsetRamp(
double x,
double xStart,
double length);
218 double XStart()
const {
return m_xStart; }
234 double UnrampedAmplitude(
double x)
const;
237 double CentrelineAmplitude(
double x,
double pinnedAmplitude)
const;
240 double LinearSigma(
double x)
const;
243 double Sigma(
double x)
const;
249 double m_thrustCoefficient;
250 double m_nearWakeDeficit;
256 double m_farWakeStart;
257 double m_farWakeSigma;
KernelProfile(const ElementarySource &source, const KernelParams ¶ms)
KernelCentreline At(double x) const
Centreline amplitude, the onset ramp included, and sigma at x >= x_start, m along flowDir.
double XStart() const
x_start = max(xStartFactor D, xStartMin), m.
Definition Kernel.h:218
double PeakAmplitude(double xFrom, double xTo) const
ImageQueries MakeImageQueries(const ImageSet &images, const double pos[3], const double shift[3])
double OnsetRamp(double x, double xStart, double length)
double ElementaryDeficit(const ElementarySource &source, const KernelParams ¶ms, const double pos[3])
void Validate(const KernelParams ¶ms)
ImageSet MirrorImages(const KernelParams ¶ms)
ElementarySource ImageOf(const ImageMap &map, const ElementarySource &source)
ImagePlanes MirrorPlanes(const KernelParams ¶ms)
Definition WakeTypes.h:36
double sign
-1 for a mirror image, +1 for a translated one.
Definition Kernel.h:118
double offset
m.
Definition Kernel.h:117
double QueryDepth(double z) const
Depth at which the source's deficit equals the image's deficit at depth z, m.
Definition Kernel.h:121
double ImageDepth(double z) const
Depth of the image of a source at depth z, m (the inverse of QueryDepth()).
Definition Kernel.h:124
int count
Number of planes, 0 to 2.
Definition Kernel.h:97
double z[2]
Depths of the planes, m: 0 (the free surface) if params.surfaceImage, then params....
Definition Kernel.h:98
double point[1+ImageSet::kMaxImages][3]
The query points, relative to the source at t0.
Definition Kernel.h:159
int count
1 + the number of images.
Definition Kernel.h:158
double sign[1+ImageSet::kMaxImages]
1 for index 0, ImageMap::sign for an image (a jet flips its vertical velocity with it).
Definition Kernel.h:160
WakeQueryRegion region[1+ImageSet::kMaxImages]
The regions, the first count of them used.
Definition Kernel.h:182
int count
1 + the number of images.
Definition Kernel.h:181
int count
Number of images, 0 to kMaxImages.
Definition Kernel.h:134
static constexpr int kMaxImages
The most images a source has (two levels, R98).
Definition Kernel.h:132
ImageMap maps[kMaxImages]
The images: the first level (MirrorPlanes()), then the second.
Definition Kernel.h:135
double sigma
Gaussian width sigma across the wake axis, m.
Definition Kernel.h:199
double amplitude
Centreline deficit, the amplitude of the Gaussian.
Definition Kernel.h:198
Definition WakeTypes.h:102
Definition WakeField.h:23