public static int getTotalFormalCharge ( IAtomContainer atomContainer ) { int chargeP = getTotalNegativeFormalCharge ( atomContainer ) ; int chargeN = getTotalPositiveFormalCharge ( atomContainer ) ; return chargeP + chargeN ; }
Get the total formal charge on a molecule .