Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

diffusePDE

Function for diffusion of the Substance matrix


Description

The generic function diffusePDE implements the diffusion by the solving diffusion equation.

Usage

diffusePDE(object, init_mat, gridgeometry, lrw = NULL, tstep)

## S4 method for signature 'Substance'
diffusePDE(object, init_mat, gridgeometry, lrw = NULL, tstep)

Arguments

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

Details

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

See Also


BacArena

Modeling Framework for Cellular Communities in their Environments

v1.8.2
GPL-3 | file LICENSE
Authors
Eugen Bauer [aut], Johannes Zimmermann [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.