|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 CStruct Class TCTab Methods NrHAtoms|
|See also: CalcMissingH, CalcChemMolweight, RemoveHydrogen|
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 !