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

Detailed Description

Note
The attribute "volume" only exists by that name in SBML Level 1. In Level 2 and above, the equivalent attribute is named "size". In SBML Level 1, a compartment's volume has a default value (1.0) and therefore methods such as Compartment::isSetVolume() will always return true for a Level 1 model. In Level 2, a compartment's size (the equivalent of SBML Level 1's "volume") is optional and has no default value, and therefore may or may not be set.