totalEnergyOfFlowComponent

Compute the energy carried by one flow component.


Declaration

 energy = totalEnergyOfFlowComponent(flowComponent)

Parameters

  • flowComponent component whose coefficient masks select the energy

Returns

  • energy horizontally averaged, depth-integrated energy per unit reference density

Discussion

Compute the energy carried by one flow component.

The calculation applies the component’s maskAp, maskAm, and maskA0 to the transform coefficients and sums the corresponding energy factors.

waveEnergy = wvt.totalEnergyOfFlowComponent(wvt.waveComponent);
geostrophicEnergy = wvt.totalEnergyOfFlowComponent(wvt.geostrophicComponent);

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