diffuse_par: Function for parallelzied diffusion

diffuse_parR 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.


euba/BacArena documentation built on Aug. 29, 2024, 11:15 p.m.