OutFlux_by_PoolIndex,function,numeric-method {SoilR} | R Documentation |
constructor from a PoolIndex (integer like) objects and a function with vector argument
Description
constructor from a PoolIndex (integer like) objects and a function with vector argument
Usage
## S4 method for signature ''function',numeric'
OutFlux_by_PoolIndex(func, sourceIndex)
Arguments
func |
A function f(X,t) where X is a vector of the state variables. |
sourceIndex |
index of source pool
This form is required internally by the solvers and supported for backward compatibility with earlier versions of SoilR.
Note that the function func given in this form can not be transformed to a different ordering of state variables, since the location of a state variable in the vector argument depends on a specific order and will be 'hardcoded' into your function.
See |