29 #ifndef CDPL_CONFGEN_STRUCTUREGENERATORSETTINGS_HPP
30 #define CDPL_CONFGEN_STRUCTUREGENERATORSETTINGS_HPP
240 unsigned int generationMode;
242 bool sampleTolRanges;
244 unsigned int fragModeForceFieldType;
245 unsigned int dgModeForceFieldType;
247 double dielectricConst;
249 std::size_t maxNumRefIters;
251 std::size_t maxNumSampledConfs;
252 std::size_t convCheckCycleSize;
253 std::size_t mcRotorBondCountThresh;
Definition of the preprocessor macro CDPL_CONFGEN_API.
#define CDPL_CONFGEN_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Bundle of configuration parameters for single 3D structure generation via class ConfGen::StructureGen...
Definition: StructureGeneratorSettings.hpp:48
void setDGModeForceFieldType(unsigned int type)
Sets the MMFF94 force field variant used for DG-mode structure generation.
unsigned int getGenerationMode() const
Returns the currently configured structure generation mode.
void setDistanceExponent(double exponent)
Sets the distance exponent used in the electrostatic energy term.
void sampleAngleToleranceRanges(bool sample)
Specifies whether torsion-angle tolerance ranges are sampled during structure generation.
std::size_t getTimeout() const
Returns the currently configured timeout in milliseconds.
std::size_t getMaxNumSampledConformers() const
Returns the currently configured maximum number of sampled conformers.
void setTimeout(std::size_t mil_secs)
Sets the timeout for the structure generation pipeline.
double getRefinementTolerance() const
Returns the currently configured refinement tolerance.
double getDielectricConstant() const
Returns the currently configured dielectric constant.
static const StructureGeneratorSettings DEFAULT
A static instance providing configuration parameter default values.
Definition: StructureGeneratorSettings.hpp:52
void setMaxNumSampledConformers(std::size_t max_num)
Sets the maximum number of conformers sampled during structure generation.
void setMacrocycleRotorBondCountThreshold(std::size_t min_count)
Sets the minimum number of rotatable bonds in a macrocycle for it to be considered as flexible.
std::size_t getMacrocycleRotorBondCountThreshold() const
Returns the currently configured flexible macrocycle rotor bond count threshold.
FragmentConformerGeneratorSettings & getFragmentBuildSettings()
Returns the embedded fragment-build settings (mutable).
void generateCoordinatesFromScratch(bool generate)
Specifies whether 3D coordinates should be generated from scratch (vs. reusing existing input coordin...
void strictForceFieldParameterization(bool strict)
Specifies whether force field parameterization should be strict (missing parameters cause failure).
void setRefinementTolerance(double tol)
Sets the convergence tolerance of the force field-based coordinate refinement step.
void setMaxNumRefinementIterations(std::size_t max_iter)
Sets the maximum number of iterations of the force field-based coordinate refinement step.
void setDielectricConstant(double de_const)
Sets the dielectric constant used in the electrostatic energy term.
std::size_t getMaxNumRefinementIterations() const
Returns the currently configured maximum number of refinement iterations.
bool strictForceFieldParameterization() const
Tells whether force field parameterization is strict.
double getDistanceExponent() const
Returns the currently configured distance exponent.
bool generateCoordinatesFromScratch() const
Tells whether 3D coordinates are generated from scratch.
const FragmentConformerGeneratorSettings & getFragmentBuildSettings() const
Returns the embedded fragment-build settings.
void setGenerationMode(unsigned int mode)
Sets the structure generation mode (see ConfGen::StructureGenerationMode).
void setConvergenceCheckCycleSize(std::size_t size)
Sets the cycle size for the convergence check of the structure-sampling loop.
StructureGeneratorSettings()
Constructs the StructureGeneratorSettings instance with default configuration parameter values.
void setFragmentModeForceFieldType(unsigned int type)
Sets the MMFF94 force field variant used for fragment-mode structure generation (see ForceField::MMFF...
unsigned int getFragmentModeForceFieldType() const
Returns the currently configured fragment-mode force field type.
unsigned int getDGModeForceFieldType() const
Returns the currently configured DG-mode force field type.
bool sampleAngleToleranceRanges() const
Tells whether torsion-angle tolerance ranges are sampled during structure generation.
std::size_t getConvergenceCheckCycleSize() const
Returns the currently configured convergence check cycle size.
The namespace of the Chemical Data Processing Library.