diffuse_par: Function for parallelzied diffusion

Description Usage Arguments

Description

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

Usage

1
2
3
4
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.


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