nonlinearFluxWithMask
returns the flux of each coefficient as determined by the nonlinear flux
Declaration
[Fp,Fm,F0] = nonlinearFluxWithMask(mask)
Parameters
maskmask applied to all constituents
Returns
Fpflux into the Ap coefficientsFmflux into the Am coefficientsF0flux into the A0 coefficients
Discussion
operation and the given mask.
The mask is applied to the coefficients Ap,Am,A0 before computing the nonlinear flux. This is useful for zeroing wavenumbers at given total wavenumber or frequency, for example.
The nonlinear flux used is the unforced, invicid equations.