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....


Class: TCTab
Declaration: function NrHAtoms (AtIx: integer): integer;

The function NrHAtoms returns the number of hydrogen atoms of the atom with the index AtIx. The hydrogen atoms are calculated from the valence, the state of hybridization and the charge of the atom. Any explicit neighboring hydrogen atoms are also included in the returned count.

Warning: This procedure may fail for exotic molecules !

Last Update: 2012-Okt-20