fluidsim_ocean.sw2l.output

Output SW2L (fluidsim_ocean.sw2l.output)

Todo

Implement the ouput package (the most important methods)… See what is done in fluidsim.solvers.sw1l.output (in the __init__ file).

The methods of this class are only used in the specialized specific outputs (in particular in print_stdout).

class fluidsim_ocean.sw2l.output.OutputSW2L(sim)[source]

Bases: fluidsim.base.output.base.OutputBasePseudoSpectral

static _complete_info_solver(info_solver)[source]

Complete the ParamContainer info_solver with child classes to be instantiated under sim.output.

This is a static method!

static _complete_params_with_default(params, info_solver)[source]

This static method is used to complete the params container.

compute_potential_enstrophy(self)[source]

Compute total enstrophy.

compute_energy(self)[source]

Compute total energy

compute_energyK(self)[source]

Compute kinetic energy

compute_energyP(self)[source]

Compute potential energy

compute_energyA(self)[source]

Compute potential energy

compute_energyPref(self)[source]

Compute reference potential energy

print_stdout

Specialized print_stdout for SW2L

Classes

OutputSW2L(sim)