|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChemPack CForm TMolForm Internal Representation of Molecular Formulas|
|See also: How to use TMolForm, MolFormula|
Internal Representation of Molecular Formulas
The internal representation of molecular formulas of the class TMolForm is as follows: for each kind of atom the atomic number, the atomic weight, and the number of atoms are stored. These three identifiers are organized as arrays with a maximum length of FormMaxEl. The number of valid entries of these arrays is defined by the property NumAtoms.
Molecular formulas can be input in three different ways: