OEEonPBFunc
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
class OEEonPBFunc : public OEMolPotential::OEMolFunc0
This class enables computation of electrostatic potential similarity.
The OEEonPBFunc defines the following public methods:
Public methods inherited from the parent class can be found in the OEMolPotential::OEMolFunc0.
Constructors
Default, copy constructors:
OEEonPBFunc(const OEEonPBOptions& opts = OEEonPBOptions())
OEEonPBFunc(const OEEonPBFunc&)
Destructor
~OEEonPBFunc()
Setup
bool Setup(const OEChem::OEMolBase& fitMol)
Sets up the fit molecule for Poisson-Boltzmann overlap calculations. The molecule must have 3D coordinates and partial charges assigned.
SetupRef
bool SetupRef(const OEChem::OEMolBase& refMol)
Sets up the reference molecule for Poisson-Boltzmann overlap calculations. The molecule must have 3D coordinates and partial charges assigned.
NumVar
unsigned NumVar() const
Returns the number of variables (degrees of freedom) for the current fit molecule.
CreateCopy
OEEonPBFunc* CreateCopy() const
Creates and returns a deep copy of this object.
GetFComponents
OESystem::OEIterBase<OEOpt::OEFComponent>* GetFComponents(const double* coords)
Returns an iterator over the force components at the given coordinates.
The fit molecule must have been set up via
Setup.
operator()
double operator()(const double* coords)
Evaluates the Poisson-Boltzmann potential overlap function at the given
coordinates. The fit molecule must have been set up via
Setup.
Overlap
bool Overlap(const double* coords, OEEonPBResults& results)
bool Overlap(const OEChem::OEMolBase& fitMol,
OEEonPBResults& results)
These methods compute Poisson–Boltzmann (PB) potential overlap between reference and fit molecules. The first one assumes that the fit molecule has already been set up using Setup method. The second one directly inputs the fit molecule and does this setup internally.