#include <WakeSampleParts.h>
|
|
void | Add (double share, const WakeSample &sample) |
| | Adds a snapshot's sample with its share of the blend.
|
| |
|
void | Add (double share, const WakeBlendSum &part) |
| | Adds the sums of a state blended from with its share of the blend.
|
| |
| Status | ToSample (const double zeroDeficitVelocity[3], WakeSample &out) const |
| |
|
|
bool | inside = false |
| | True once a snapshot contributed.
|
| |
|
double | deficit = 0.0 |
| | Sum of share d.
|
| |
|
double | weightedVelocity [3] = {0.0, 0.0, 0.0} |
| | Sum of share d u_s, m/s, NED.
|
| |
The sums over the snapshots of a blend that contributed at one point (WakeBlend::Evaluate()).
◆ ToSample()
| Status marenv::wake::WakeBlendSum::ToSample |
( |
const double |
zeroDeficitVelocity[3], |
|
|
WakeSample & |
out |
|
) |
| const |
|
inline |
The field's sample from the sums: d = sum(share d), u_s = sum(share d u_s) / d.
- Parameters
-
| [in] | zeroDeficitVelocity | The source velocity the field reports where d = 0, m/s, NED. |
| [out] | out | The sample; d = 0 and u_s = 0 when no snapshot contributed. |
- Returns
- Status::OK, or Status::ERROR_NOT_SET when no snapshot contributed.
The documentation for this struct was generated from the following file: