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: 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(key, SAVE_IN_DICT=True, RAISE_ERROR=True)[source]

Compute and return a variable.

statespect_from_statephys()[source]

Compute the state in Fourier space.

statephys_from_statespect()[source]

Compute the state in physical space.

return_statephys_from_statespect(state_spect=None)[source]

Return the state in physical space.

init_from_uxuyetafft(ux_fft, uy_fft, eta_fft)[source]

Self explanatory.

init_from_etafft(eta_fft)[source]

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

init_from_uxuyfft(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.