twicesumbonds

User 870ab5b546

24-07-2006 21:44:28

The JChem API says,
Quote:
twicesumbonds





public int twicesumbonds(boolean countH,


boolean all2)


Calculates the sum of bond orders.


Parameters:


countH - also count bonds to explicit hydrogen atoms


all2 - calculate (two times) the number of bonds instead of the sum of bond orders
Do you mean, countH also counts bonds to implicit H atoms?

ChemAxon 7c2d26e5cf

25-07-2006 15:41:50

Bonds to implicit hydrogens are never counted.

User 870ab5b546

25-07-2006 16:23:05

OK, but the documentation is still confusing. The method calculates twice the sum of the bond orders, as suggested by the name. But the description (incorrectly) says it calculates the sum of the bond orders. Please correct.

ChemAxon 7c2d26e5cf

26-07-2006 18:02:24

We have completed the apidoc of MolAtom.twicesumbonds(boolean,boolean).