multimodemodel.pressure_gradient_i

multimodemodel.pressure_gradient_i#

multimodemodel.pressure_gradient_i(state, params)[source]#

Compute the pressure gradient along the first dimension.

Using centered differences in space.

Parameters:
  • state (State) – State of the system

  • params (Parameter) – Parameters of the system

Returns:

State