OEGetAnionicCarbonCount¶
unsigned int OEGetAnionicCarbonCount(const OEChem::OEMolBase &mol)
Returns the number of anionic carbons in a molecule. Anionic carbon is defined as an aromatic carbon that has negative ‘formal charge’.
See also
Anionic Carbon Count subsection describing filter files
OEAtomBase.IsAromatic
andOEAtomBase.GetFormalCharge
methods in the OEChem TK manual