Chemical Data Processing Library Python API - Version 1.2.0
|
Public Member Functions | |
None | __init__ (MMFF94BondStretchingInteraction iactn) |
Initializes a copy of the MMFF94BondStretchingInteraction instance iactn. More... | |
None | __init__ (int atom1_idx, int atom2_idx, int bond_type_idx, float force_const, float ref_length) |
Initializes the MMFF94BondStretchingInteraction instance. More... | |
int | getAtom1Index () |
int | getAtom2Index () |
int | getBondTypeIndex () |
float | getForceConstant () |
float | getReferenceLength () |
None | setReferenceLength (float length) |
MMFF94BondStretchingInteraction | assign (MMFF94BondStretchingInteraction iactn) |
Replaces the current state of self with a copy of the state of the MMFF94BondStretchingInteraction instance iactn. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
Properties | |
objectID = property(getObjectID) | |
atom1Index = property(getAtom1Index) | |
atom2Index = property(getAtom2Index) | |
bondTypeIndex = property(getBondTypeIndex) | |
forceConstant = property(getForceConstant) | |
referenceLength = property(getReferenceLength, setReferenceLength) | |
None CDPL.ForceField.MMFF94BondStretchingInteraction.__init__ | ( | MMFF94BondStretchingInteraction | iactn | ) |
Initializes a copy of the MMFF94BondStretchingInteraction instance iactn.
iactn | The MMFF94BondStretchingInteraction instance to copy. |
None CDPL.ForceField.MMFF94BondStretchingInteraction.__init__ | ( | int | atom1_idx, |
int | atom2_idx, | ||
int | bond_type_idx, | ||
float | force_const, | ||
float | ref_length | ||
) |
Initializes the MMFF94BondStretchingInteraction instance.
atom1_idx | |
atom2_idx | |
bond_type_idx | |
force_const | |
ref_length |
int CDPL.ForceField.MMFF94BondStretchingInteraction.getAtom1Index | ( | ) |
int CDPL.ForceField.MMFF94BondStretchingInteraction.getAtom2Index | ( | ) |
int CDPL.ForceField.MMFF94BondStretchingInteraction.getBondTypeIndex | ( | ) |
float CDPL.ForceField.MMFF94BondStretchingInteraction.getForceConstant | ( | ) |
float CDPL.ForceField.MMFF94BondStretchingInteraction.getReferenceLength | ( | ) |
None CDPL.ForceField.MMFF94BondStretchingInteraction.setReferenceLength | ( | float | length | ) |
length |
MMFF94BondStretchingInteraction CDPL.ForceField.MMFF94BondStretchingInteraction.assign | ( | MMFF94BondStretchingInteraction | iactn | ) |
Replaces the current state of self with a copy of the state of the MMFF94BondStretchingInteraction instance iactn.
iactn | The MMFF94BondStretchingInteraction instance to copy. |
int CDPL.ForceField.MMFF94BondStretchingInteraction.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python MMFF94BondStretchingInteraction instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b
thus cannot tell reliably whether the two MMFF94BondStretchingInteraction instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID()
.