libSBML C API  libSBML 5.8.0 C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SBMLInitialAssignmentConverter Class Reference

Detailed Description

SBML converter for replacing initial assignments.

This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components. It is a class used in the implementation of extra functionality provided by libSBML.

This is an SBML converter for replacing InitialAssignment objects (when possible) by setting the initial value attributes on the model objects being assigned. In other words, for every object that is the target of an initial assignment in the model, it evaluates the mathematical expression of the assignment to get a numerical value, and then sets the corresponding attribute of the object to the value. The effects for different kinds of SBML components are as follows:

Component Effect
Compartment Sets the value of the size attribute.
Species Sets the value of either the initialAmount or the initialConcentration attributes, depending on the value of the Species object's hasOnlySubstanceUnits attribute.
Parameter Sets the value of the value attribute.
SpeciesReference Sets the value of the stoichiometry attribute in the Reaction object where the SpeciesReference object appears.
See Also
SBMLFunctionDefinitionConverter
SBMLLevelVersionConverter
SBMLRuleConverter
SBMLStripPackageConverter
SBMLUnitsConverter