diffuse_par {BacArena}R Documentation

Function for parallelzied diffusion

Description

The generic function diffuse_par computes the media distribution via diffusion in parallel

Usage

diffuse_par(object, lrw, cluster_size, sublb)

## S4 method for signature 'Arena'
diffuse_par(object, lrw, cluster_size, sublb)

Arguments

object

An object of class Arena.

lrw

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

cluster_size

Amount of cores to be used

sublb

A matrix with the substrate concentration for every individual in the environment based on their x and y position.


[Package BacArena version 1.8.2 Index]