11#ifndef RD_MMFFCONVENIENCE_H
12#define RD_MMFFCONVENIENCE_H
49 std::pair<int, double>
res = std::make_pair(-1, -1);
83 std::vector<std::pair<int, double>> &
res,
84 int numThreads = 1,
int maxIters = 1000,
99 res[i] = std::make_pair(
static_cast<int>(-1),
static_cast<double>(-1));
A class to store forcefields and handle minimization.
unsigned int getNumConformers() const
void OptimizeMoleculeConfs(ROMol &mol, ForceFields::ForceField &ff, std::vector< std::pair< int, double > > &res, int numThreads=1, int maxIters=1000)
std::pair< int, double > OptimizeMolecule(ForceFields::ForceField &ff, int maxIters=1000)
std::pair< int, double > MMFFOptimizeMolecule(ROMol &mol, int maxIters=1000, std::string mmffVariant="MMFF94", double nonBondedThresh=10.0, int confId=-1, bool ignoreInterfragInteractions=true)
Convenience function for optimizing a molecule using MMFF.
RDKIT_FORCEFIELDHELPERS_EXPORT ForceFields::ForceField * constructForceField(ROMol &mol, double nonBondedThresh=100.0, int confId=-1, bool ignoreInterfragInteractions=true)
Builds and returns a MMFF force field for a molecule.
void MMFFOptimizeMoleculeConfs(ROMol &mol, std::vector< std::pair< int, double > > &res, int numThreads=1, int maxIters=1000, std::string mmffVariant="MMFF94", double nonBondedThresh=10.0, bool ignoreInterfragInteractions=true)
bool rdvalue_is(const RDValue_cast_t)