setSpectralForcing

Modify tendencies for a spectral-amplitude constraint.

Developer documentation: this item describes internal implementation details.


Declaration

 [Fp,Fm,F0] = setSpectralForcing(wvt,Fp,Fm,F0)

Parameters

  • wvt transform evaluating the forcing
  • Fp accumulated Ap tendency
  • Fm accumulated Am tendency
  • F0 accumulated A0 tendency

Returns

  • Fp updated Ap tendency
  • Fm updated Am tendency
  • F0 updated A0 tendency

Discussion

Subclasses declaring SpectralAmplitude override this hook to cancel or replace the tendency of constrained coefficients.


This site uses Just the Docs, a documentation theme for Jekyll.