Skip to contents

Solves the PDE with an initial condition where all individuals are in the smallest size class.

Usage

getGreens(pars, l_max, Delta_l = 1, t_max = 10, Delta_t = 0.05)

Arguments

pars

A list containing the model parameters: k, L_inf, d, m.

l_max

The maximum size

Delta_l

The size step size (cm).

t_max

The maximum simulation time.

Delta_t

The time step size (years). Default is 0.05.

Value

A matrix holding the Green's function u(l, t). Rows correspond to size points and columns to time points.