# fluidsim.solvers.sw1l.modified.state¶

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

Provides:

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

Contains the variables corresponding to the state and handles the access to other fields for the solver MSW1L.

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.

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.

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.

Classes

 StateSW1LModified(sim[, oper]) Contains the variables corresponding to the state and handles the access to other fields for the solver MSW1L.