#include <Superposition.h>
Running composition of deficits by the momentum-flux rule (R95): D = max(C(S), min(1, L)).
Example usage:
const double deficit = sum.
Deficit();
Definition Superposition.h:101
void Add(double deficit)
Definition Superposition.h:106
double Deficit() const
Definition Superposition.h:117
◆ Add()
| void marenv::wake::MomentumFluxSum::Add |
( |
double |
deficit | ) |
|
|
inline |
Adds one deficit.
- Parameters
-
| [in] | deficit | Deficit d_i; clamped to [0, 1]; 0 and NaN add nothing. |
◆ Deficit()
| double marenv::wake::MomentumFluxSum::Deficit |
( |
| ) |
const |
|
inline |
- Returns
- The composed deficit D in [0, 1]; 0 when nothing was added, the deficit itself (bit for bit) when one was.
The documentation for this class was generated from the following file: