totalEnergy

Total energy computed from wave-vortex coefficients.


Description

Real valued property with no dimensions and units of \(\mathrm{m^{3}\,s^{-2}}\).

Discussion

Total energy computed from wave-vortex coefficients.

The horizontally-averaged depth-integrated energy computed from the wave-vortex coefficients

\[\sum_{jkl} \alpha_{jkl}A_+^2 + \alpha_{jkl} A_-^2 + \beta_{jkl} A_0^2\]

In code,

App = self.Ap; Amm = self.Am; A00 = self.A0;
energy = sum(sum(sum( self.Apm_TE_factor.*( App.*conj(App) + Amm.*conj(Amm) ) + self.A0_TE_factor.*( A00.*conj(A00) ) )));

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