5#include <marenv/marenv.h>
6#include <marenv/wake/WakeField.h>
7#include <marenv/wake/WakeSampleParts.h>
33 for (
int i = 0; i < 3; ++i)
41 for (
int i = 0; i < 3; ++i)
50 for (
int i = 0; i < 3; ++i)
Definition JetField.h:129
virtual bool MayReach(const WakeQueryRegion ®ion) const
Definition JetField.h:163
virtual JetSampleParts SampleParts(double t, const double pos[3]) const
Definition JetField.h:147
virtual Status Sample(double t, const double pos[3], JetSample &out) const =0
Status
Definition marenv.h:40
@ ERROR_NOT_SET
No valid data (outside a field's horizontal extent, a NaN position, no field); the value is not set (...
double BlendWeight(double t, double start, double time)
Definition WakeSampleParts.h:13
Policy mixin: this type is neither copyable nor movable.
Definition marenv.h:96
JetBlendSum previous
The state blended from at full weight (a single snapshot, R22); not inside without one.
Definition JetField.h:63
JetBlendSum At(double t) const
The sum at t: the snapshot blended to with BlendWeight(t), the state blended from with 1 - BlendWeigh...
Definition JetField.h:68
JetSample current
The snapshot blended to, unweighted.
Definition JetField.h:62
double time
Duration of the blend, s.
Definition JetField.h:65
bool currentInside
The snapshot blended to has extent at the point.
Definition JetField.h:61
double start
Start of the blend, s.
Definition JetField.h:64
Status ToSample(JetSample &out) const
Definition JetField.h:48
void Add(double share, const JetSample &sample)
Adds a snapshot's sample with its share of the blend.
Definition JetField.h:30
double velocity[3]
Sum of share Δu, m/s, NED.
Definition JetField.h:27
void Add(double share, const JetBlendSum &part)
Adds the sum of a state blended from with its share of the blend.
Definition JetField.h:38
bool inside
True once a snapshot contributed.
Definition JetField.h:26
JetBlendSamples blend
Blending: the samples of the blend's snapshots at the sample time.
Definition JetField.h:91
bool blending
True: the field blends at or after the sample time and At(t) weighs the blend at t.
Definition JetField.h:88
Status status
Not blending: the status of JetField::Sample() at the sample time.
Definition JetField.h:89
Status At(double t, JetSample &out) const
Definition JetField.h:97
JetSample sample
Not blending: JetField::Sample() at the sample time.
Definition JetField.h:90
double velocity[3]
Excess velocity Δu, m/s, NED.
Definition JetField.h:16
Definition WakeField.h:17