fluidsim.solvers.sw1l.onlywaves.state

State class for the SW1L.onlywaves solver (fluidsim.solvers.sw1l.onlywaves.state) ====================================================

Provides:

class fluidsim.solvers.sw1l.onlywaves.state.StateSW1LWaves(sim, oper=None)[source]

Bases: fluidsim.solvers.sw1l.state.StateSW1L

The class StateSW1Lwaves contains the variables corresponding to the state and handles the access to other fields for the solver SW1L.

static _complete_info_solver(info_solver)[source]

Complete the ParamContainer info_solver.

This is a static method!

compute(self, key, SAVE_IN_DICT=True, RAISE_ERROR=True)[source]

Compute and return a variable.

statespect_from_statephys(self)[source]

Compute the state in Fourier space.

statephys_from_statespect(self)[source]

Compute the state in physical space.

return_statephys_from_statespect(self, state_spect=None)[source]

Return the state in physical space.

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

Self explanatory.

init_from_etafft(self, eta_fft)[source]

Initialize from \(\hat \eta\) and set velocities to zero.

init_from_uxuyfft(self, ux_fft, uy_fft)[source]

Initialize from velocities and adjust surface displacement by solving a Poisson equation, assuming no mean flow.

Classes

StateSW1LWaves(sim[, oper])

The class StateSW1Lwaves contains the variables corresponding to the state and handles the access to other fields for the solver SW1L.