libSBML Perl API  libSBML 5.10.0 Perl API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
doc_compartment_both_size_and_volume Class Reference

Detailed Description

In SBML Level 1, compartments are always three-dimensional constructs and only have volumes, whereas in SBML Level 2 and higher, compartments may be other than three-dimensional, and therefore the "volume" attribute is named "size" in Level 2 and above. LibSBML provides both Compartment::getSize() and Compartment::getVolume() for easier support of different SBML Levels.