Skip to contents

Attaches a named list of conservation expressions to the eqnlist. They replace the detected basis, also as parameters of Pimpl(). Each expression must be linear in the states and conserved by the reactions, and together they must span as many quantities as conservedQuantities() finds.

Usage

customTotals(eqnlist, totals)

Arguments

eqnlist

object of class eqnlist.

totals

named list of expressions, or NULL or list() to return to the detected basis.

Value

The eqnlist with $totals updated.