# fluidsim.solvers.sw1l.exactlin.state¶

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

Provides:

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

The class StateSW1Lexlin 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

 StateSW1LExactLin(sim[, oper]) The class StateSW1Lexlin contains the variables corresponding to the state and handles the access to other fields for the solver SW1L.