RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDMIF::CoulombDielectric Class Reference

class for calculation of electrostatic interaction (Coulomb energy) between probe and molecule by taking a distance-dependent dielectric into account: More...

#include <MIFDescriptors.h>

Public Member Functions

 CoulombDielectric ()
 
 CoulombDielectric (const std::vector< double > &charges, const std::vector< RDGeom::Point3D > &positions, double probeCharge=1.0, bool absVal=false, double alpha=0.0, double cutoff=1.0, double epsilon=80.0, double xi=4.0)
 constructs CoulombDielectric object from vectors of charges and positions
 
 CoulombDielectric (const RDKit::ROMol &mol, int confId=-1, double probeCharge=1.0, bool absVal=false, const std::string &prop="_GasteigerCharge", double alpha=0.0, double cutoff=1.0, double epsilon=80.0, double xi=4.0)
 constructs Coulomb object from a molecule object
 
double operator() (double x, double y, double z, double thres) const
 returns the electrostatic interaction at point pt in the molecule's field in [kJ mol^-1]
 

Detailed Description

class for calculation of electrostatic interaction (Coulomb energy) between probe and molecule by taking a distance-dependent dielectric into account:

Same energy term as used in GRID References: J. Med. Chem. 1985, 28, 849. J. Comp. Chem. 1983, 4, 187.

Definition at line 203 of file MIFDescriptors.h.

Constructor & Destructor Documentation

◆ CoulombDielectric() [1/3]

RDMIF::CoulombDielectric::CoulombDielectric ( )
inline

Definition at line 205 of file MIFDescriptors.h.

◆ CoulombDielectric() [2/3]

RDMIF::CoulombDielectric::CoulombDielectric ( const std::vector< double > &  charges,
const std::vector< RDGeom::Point3D > &  positions,
double  probeCharge = 1.0,
bool  absVal = false,
double  alpha = 0.0,
double  cutoff = 1.0,
double  epsilon = 80.0,
double  xi = 4.0 
)

constructs CoulombDielectric object from vectors of charges and positions

Parameters
chargesvector of charges [e]
posvector of postions [A]
probeChargecharge of probe [e] (default: 1.0)
absValif true, negative (favored) values of interactions are calculated (default: false)
alphasoftcore interaction parameter [A^2]; if zero, a minimum cutoff distance is used (default: 0.0)
cutoffminimum cutoff distance [A] (default: 1.0)
epsilonrelative permittivity of solvent (default: 80.0)
xirelative permittivity of solute (default: 4.0)

◆ CoulombDielectric() [3/3]

RDMIF::CoulombDielectric::CoulombDielectric ( const RDKit::ROMol mol,
int  confId = -1,
double  probeCharge = 1.0,
bool  absVal = false,
const std::string &  prop = "_GasteigerCharge",
double  alpha = 0.0,
double  cutoff = 1.0,
double  epsilon = 80.0,
double  xi = 4.0 
)

constructs Coulomb object from a molecule object

The molecule mol needs to have partial charges set as property of atoms.

Parameters
molmolecule object
confIdconformation id which is used to get positions of atoms (default=-1)
probeChargecharge of probe [e] (default: 1.0)
absValif true, negative (favored) values of interactions are calculated (default: false)
propproperty key for retrieving partial charges of atoms (default: "_GasteigerCharge")
alphasoftcore interaction parameter [A^2], if zero, a minimum cutoff distance is used (default: 0.0)
cutoffminimum cutoff distance [A] (default: 1.0)
epsilonrelative permittivity of solvent (default: 80.0)
xirelative permittivity of solute (default: 4.0)

Member Function Documentation

◆ operator()()

double RDMIF::CoulombDielectric::operator() ( double  x,
double  y,
double  z,
double  thres 
) const

returns the electrostatic interaction at point pt in the molecule's field in [kJ mol^-1]

Parameters
x,y,zcoordinates at which the interaction is calculated
thressquared threshold distance
Returns
electrostatic interaction energy in [kJ mol^-1]

The documentation for this class was generated from the following file: