fluidsim.solvers.sw1l.output.normal_mode

Normal mode decomposition for SW1L solvers (fluidsim.solvers.sw1l.output.normal_mode) =================================================

Provides:

class fluidsim.solvers.sw1l.output.normal_mode.NormalModeBase(output)[source]

Bases: object

bvecfft_from_qapamfft(self, q_fft, ap_fft, am_fft)[source]

Compute normal mode vector \(\mathbf{B}\) with dimensions of velocity from diagonalized linear modes.

bvecfft_from_uxuyetafft(self, ux_fft, uy_fft, eta_fft)[source]

Compute normal mode vector, \(\mathbf{B}\) with dimensions of velocity from primitive variables.

compute_qda_energies_fft(self)[source]

Compute quadratic geostrophic, divergent and ageostrophic energies.

compute_qapam_energies_fft(self)[source]

Compute quadratic geostrophic, and ageostrophic (+/-) energies.

class fluidsim.solvers.sw1l.output.normal_mode.NormalModeDecomposition(output)[source]

Bases: fluidsim.solvers.sw1l.output.normal_mode.NormalModeBase

qmat

Compute Q matrix to transform q, ap, am (fft) -> b0, b+, b- (fft) with dimensions of velocity.

normalmodefft_from_keyfft(self, key)[source]

Returns the normal mode decomposition for the state_spect key specified.

class fluidsim.solvers.sw1l.output.normal_mode.NormalModeDecompositionModified(output)[source]

Bases: fluidsim.solvers.sw1l.output.normal_mode.NormalModeDecomposition

normalmodefft_from_keyfft(self, key)[source]

Returns the normal mode decomposition for the state_spect key specified.

Classes

NormalModeBase(output)

NormalModeDecomposition(output)

NormalModeDecompositionModified(output)