fluidsim.solvers.ns2d.bouss.state

State for the NS2D.bouss solver (fluidsim.solvers.ns2d.bouss.state)

class fluidsim.solvers.ns2d.bouss.state.StateNS2DBouss(sim, oper=None)[source]

Bases: StateNS2D

State for the solver ns2d.strat.

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

static _complete_info_solver(info_solver)[source]

Update info_solver container with the stratification terms.

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

Compute and return a variable

statephys_from_statespect()[source]

Compute state_phys from statespect.

statespect_from_statephys()[source]

Compute state_spect from state_phys.

init_from_rotbfft(rot_fft, b_fft)[source]

Initialize the state from the variable rot_fft and b_fft.

init_from_rotb(rot, b)[source]

Initialize the state from the variable rot and b.

init_from_rotfft(rot_fft)[source]

Initialize the state from the variable rot_fft.

init_statespect_from(**kwargs)[source]

Initializes state_spect using arrays provided as keyword arguments.

Classes

StateNS2DBouss(sim[, oper])

State for the solver ns2d.strat.