Helper function that can be used to modify MEND2013_fluxes. To help test out different structural configurations of MEND.

modify_fluxes_func(params, state, flux_func, replace_with)

Arguments

params

data.table containing the following columns: parameter, value, and units

state

a vector of the intial state values, must be named

flux_func

a MEND flux object such as the MEND2013_fluxes

replace_with

a list containing the new elements of the functions

See also

Other helper function: solver()