Structure of the S4 class Substance representing substances in the environment which can be produced or consumed.
smaxA number representing the start concentration of the substance for each grid cell in the environment.
diffmatA sparse matrix containing all concentrations of the substance in the environment.
nameA character vector representing the name of the substance.
idA character vector representing the identifier of the substance.
difuncA character vector ("pde","cpp" or "r") describing the function for diffusion.
difspeedA number indicating the diffusion rate (given by cm^2/h). Default is set to glucose diffusion in a aqueous solution (6.7e-6 cm^2/s * 3600 s/h = 0.02412 cm^2/h ).
advspeedA number indicating the advection rate in x direction (given by cm/h).
diffgeometryDiffusion coefficient defined on all grid cells (initially set by constructor).
pdeChoose diffusion transport reaction to be used (default is diffusion only)
boundSA number defining the attached amount of substance at the boundary (Warning: boundary-function must be set in pde!)