OETorsionPotential¶
Attention
This API is currently available in C++ and Python.
class OETorsionPotential : public virtual OEMolPotential::OEFFPotential
The OETorsionPotential defines an interface for all torsional force field interaction potentials.
- The following methods are publicly inherited from OEFunc0:
- The following methods are publicly inherited from OEFunc1:
- The following methods are publicly inherited from OEFunc2:
- The following methods are publicly inherited from OEMolFunc:
- The following methods are publicly inherited from OEFFPotential:
- The OETorsionPotential implements the following methods:
Constructors¶
OETorsionPotential(const OEFFParams&)
OETorsionPotential(const OETorsionPotential&)
Constructor and copy constructor.
Set¶
bool Set(const OESystem::OEBinaryPredicate<OEChem::OEBondBase, OEChem::OEBondBase>&)
This method provides interaction-level control of the torsion terms. The method tests the central
bond of a torsion angle. If such a bond returns true from the predicate test then all torsions
that cross the bond are included in the list of interactions to be calculated.
The Set
method must be called before
the Setup
for it to be effective.