OEProteinLigandOptOptions¶
class OEProteinLigandOptOptions : public OELigandChargeOptions
This class provides an interface to setup options required for optimization with OEFixedProteinLigandOptimizer and OEFlexProteinLigandOptimizer.
- The following methods are publicly inherited from OELigandChargeOptions:
- The OEProteinLigandOptOptions class defines the following public methods:
Constructor¶
OEProteinLigandOptOptions();
OEProteinLigandOptOptions(const OEProteinLigandOptOptions &)
Default and copy constructors.
operator=¶
OEProteinLigandOptOptions &operator=(const OEProteinLigandOptOptions &)
SetGradTolerance¶
bool SetGradTolerance(const double)
Sets the gradient tolerance for optimization. Default: 1.e-6.
SetForceField¶
bool SetForceField(const unsigned)
bool SetForceField(const std::string&)
bool SetForceField(const OEFF::OEComplexFF&)
Sets the force field for optimization. The first overload takes an unsigned
from the OEComplexFFType
namespace, and the second overload
takes corresponding string values. The final overload allows the use of a user-defined
OEComplexFF. Method returns false
when the invalid selection
is chosen, true
otherwise.
Default: OEComplexFFType::FF14SB_SAGE
SetMaxIter¶
bool SetMaxIter(const unsigned)
Sets the maximum iterations for optimization. Default: 1000.
SetNonBondCutoff¶
bool SetNonBondCutoff(const double)
Sets the Non-bonded interactions cutoff for optimization.
Setting a value of 0.0
or less assumes that all interactions should be
included without any cutoff.
Default: 0.0.
SetOptimizationType¶
bool SetOptimizationType(const unsigned)
Sets the type for optimization. Allowed methods are defined in the
OEOptimizationType
namespace.
Default is OEOptimizationType::PoseCartesian
.
SetSolventModel¶
bool SetSolventModel(const unsigned)
Sets the solvent model to be used during optimization. Allowed methods are
OESolventModel::NoSolv
and OESolventModel::Sheffield
,
as defined in the OESolventModel
namespace.
Default is OESolventModel::NoSolv
.