Substance-constructor: Constructor of the S4 class Substance
Description
The constructor to get a new object of class Substance
Usage
Substance(n, m, smax, gridgeometry, difspeed = 1, ...)
Arguments
n
A number giving the horizontal size of the environment.
m
A number giving the vertical size of the environment.
smax
A number representing the start concentration of the substance for each grid cell in the environment.
gridgeometry
A list containing grid geometry parameter
difspeed
A number indicating the diffusion speed (given by cm^2/s).
Value
Object of class Substance