Skip to contents

This function solves the PDE for a single species including diffusion. It uses an upwind difference scheme.

Usage

project_diffusion(params, species, dt = 0.05, nsteps = 200)

Arguments

params

A MizerParams object

species

The species for which to solve the steady-state equation.

dt

Time step size.

nsteps

Number of time steps to compute.

Value

A matrix (time x size) with the solution of the PDE.

Details

For more details see the vignette vignette("diffusion").