public class Mmff extends Object
assignAtomTypes(IAtomContainer).
The atom type name can be accessed with IAtomType.getAtomTypeName().
partialCharges(IAtomContainer).
Atom types must be assigned before calling this function. Effective formal
charges can also be obtained with effectiveCharges(IAtomContainer)
both charge values are accessed with IAtom.getCharge(). Atoms of
unknown type are assigned a neutral charge - to avoid this check the return
value of assignAtomTypes(IAtomContainer).
IAtomContainer mol = ...;
Mmff mmff = new Mmff();
mmff.assignAtomTypes(mol);
mmff.partialCharges(mol);
mmff.clearProps(mol); // optional
| Constructor and Description |
|---|
Mmff() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
assignAtomTypes(IAtomContainer mol)
Assign MMFF Symbolic atom types.
|
void |
clearProps(IAtomContainer mol)
Clear all transient properties assigned by this class.
|
boolean |
effectiveCharges(IAtomContainer mol)
Assign the effective formal charges used by MMFF in calculating the
final partial charge values.
|
boolean |
partialCharges(IAtomContainer mol)
Assign the partial charges, all existing charges are cleared.
|
public boolean assignAtomTypes(IAtomContainer mol)
IAtomType.getAtomTypeName(). An atom of unknown type is assigned the
symbolic type 'UNK'.
All atoms, including hydrogens must be explicitly represented.mol - moleculepublic boolean effectiveCharges(IAtomContainer mol)
mol - moleculepartialCharges(IAtomContainer),
assignAtomTypes(IAtomContainer)public boolean partialCharges(IAtomContainer mol)
mol - moleculeeffectiveCharges(IAtomContainer),
assignAtomTypes(IAtomContainer)public void clearProps(IAtomContainer mol)
mol - moleculeCopyright © 2022. All rights reserved.