diffuseR: Function for naive diffusion (neighbourhood) of the Substance...

Description Usage Arguments Details See Also

Description

The generic function diffuseR implements the diffusion in the Moore neighbourhood in R.

Usage

1
2
3
4
diffuseR(object)

## S4 method for signature 'Substance'
diffuseR(object)

Arguments

object

An object of class Substance.

Details

The diffusion is implemented by iterating through each cell in the grid and taking the cell with the lowest concentration in the Moore neighbourhood to update the concentration of both by their mean.

See Also

Substance-class and diffusePDE


BacArena documentation built on July 2, 2020, 3:16 a.m.