Description Usage Arguments Details See Also

The generic function `diffusePDE`

implements the diffusion by the solving diffusion equation.

1 2 3 4 | ```
diffusePDE(object, init_mat, gridgeometry, lrw = NULL, tstep)
## S4 method for signature 'Substance'
diffusePDE(object, init_mat, gridgeometry, lrw = NULL, tstep)
``` |

`object` |
An object of class Substance. |

`init_mat` |
A matrix with values to be used by the diffusion. |

`gridgeometry` |
A list specifying the geometry of the Arena |

`lrw` |
A numeric value needed by solver to estimate array size (by default lwr is estimated in simEnv() by the function estimate_lrw()) |

`tstep` |
A numeric value giving the time step of integration |

Partial differential equation is solved to model 2d diffusion process in the arena.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.