The generic function diffusePDE
implements the diffusion by the solving diffusion equation.
diffusePDE(object, init_mat, gridgeometry, lrw = NULL, tstep)# S4 method for Substance
diffusePDE(object, init_mat, gridgeometry, lrw = NULL, tstep)
An object of class Substance.
A matrix with values to be used by the diffusion.
A list specifying the geometry of the Arena
A numeric value needed by solver to estimate array size (by default lwr is estimated in simEnv() by the function estimate_lrw())
A numeric value giving the time step of integration
Partial differential equation is solved to model 2d diffusion process in the arena.