OELigandOptOptions
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
class OELigandOptOptions
This class provides an interface to modify the options for FF optimization of a ligand molecule.
See also
OELigandOptResults class
- The OELigandOptOptions class defines the following public methods:
Constructor
OELigandOptOptions() -> OELigandOptOptions
OELigandOptOptions(arg2: OELigandOptOptions) -> OELigandOptOptions
Default and copy constructors.
Assignment operator.
GetForceField
GetForceField() -> OEForceFieldReturns pointer to the force field used in the optimization. ** Default ** SAGE_OPENFF.
GetForceFieldType
GetForceFieldType() -> intReturns the force field type used for the calculations, as unsigned int from the
OEForceFieldTypenamespace. ** Default ** SAGE_OPENFF.
GetLigandCharge
GetLigandCharge() -> OEChargeEngineBaseReturns the charge engine used for the calculations. See
SetLigandChargemethod. ** Default ** OEChargeEngineNoOp.
GetLigandChargeType
GetLigandChargeType() -> intReturns the charge type to be used for the calculations, as unsigned int from the
OELigandChargeType. Default:OELigandChargeType_CURRENT
GetNonBondCutoff
GetNonBondCutoff() -> floatSee
SetNonBondCutoffmethod
GetGradTolerance
GetGradTolerance() -> floatSee
SetGradTolerancemethod
GetMaxIter
GetMaxIter() -> intSee
SetMaxItermethod
GetSolventModel
GetSolventModel() -> intSee
SetSolventModelmethod
SetForceField
SetForceField(value: int) -> bool SetForceField(value: str) -> bool SetForceField(value: oeistream) -> bool SetForceField(value: OEForceField) -> boolSets force field to be used. Method takes either an unsigned from the
OEForceFieldTypenamespace, or the takes corresponding string value, or a custom forcefield. Available predefined values are: MMFF94, MMFF94S, PARSLEY_OPENFF, and SAGE_OPENFF. Default: sage
SetLigandCharge
SetLigandCharge(value: int) -> bool SetLigandCharge(value: str) -> bool SetLigandCharge(value: oeistream) -> bool SetLigandCharge(value: OEChargeEngineBase) -> boolSelects the method for ligand partial charges assigment. Method takes either an unsigned from the
OELigandChargeTypenamespace, or the takes corresponding string value, or a user-defined instance of OEChargeEngineBase. It returnsfalsewhen the invalid selection is chosen,trueotherwise. The default engine OEChargeEngineNoOp will use the pre-existing charges.
SetNonBondCutoff
SetNonBondCutoff(value: float) -> boolSets the Non-bonded interactions cutoff for optimization. Setting a value of
0.0or less assumes that all interactions should be included without any cutoff. Default: 0.0.
SetGradTolerance
SetGradTolerance(value: float) -> boolSets the gradient tolerance for optimization. Default: 1.e-4.
SetMaxIter
SetMaxIter(value: int) -> boolSets the number of maximum iterations for optimization Default: 400
SetSolventModel
SetSolventModel(value: int) -> boolSets the type of solvent model used for the calculations of solution ligands, as an unsigned int from the
OESolventModelnamespace. Method returnsfalsewhen the invalid selection is chosen,trueotherwise. Default isOESolventModel_NoSolv