11#ifndef RD_MMFFCONVENIENCE_H
12#define RD_MMFFCONVENIENCE_H
49 std::pair<int, double>
res = std::make_pair(-1, -1);
82 std::vector<std::pair<int, double>> &
res,
83 int numThreads = 1,
int maxIters = 1000,
89 std::unique_ptr<ForceFields::ForceField>
ff(
97 res[i] = std::make_pair(
static_cast<int>(-1),
static_cast<double>(-1));
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)