|
FhSim
3.1.0
Marine systems simulation
|
#include <WakeSampleParts.h>
Public Member Functions | |
| 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 |
The sums over the snapshots of a blend that contributed at one point (WakeBlend::Evaluate()).
|
inline |
The field's sample from the sums: d = sum(share d), u_s = sum(share d u_s) / d.
| [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; the shading weight and the inflow ratio are the deficit-weighted means sum(share d w_e) / d and sum(share d m) / d, so d w_e and d m blend in time like d u_s (MENV-0097); 0 and 1 where d = 0. |