Chemical Data Processing Library C++ API - Version 1.1.1
StructureGeneratorSettings.hpp
Go to the documentation of this file.
1 /*
2  * StructureGeneratorSettings.hpp
3  *
4  * This file is part of the Chemical Data Processing Toolkit
5  *
6  * Copyright (C) 2003 Thomas Seidel <thomas.seidel@univie.ac.at>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; see the file COPYING. If not, write to
20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
29 #ifndef CDPL_CONFGEN_STRUCTUREGENERATORSETTINGS_HPP
30 #define CDPL_CONFGEN_STRUCTUREGENERATORSETTINGS_HPP
31 
32 #include <cstddef>
33 
36 
37 
38 namespace CDPL
39 {
40 
41  namespace ConfGen
42  {
43 
45  {
46 
47  public:
49 
51 
52  void setGenerationMode(unsigned int mode);
53 
54  unsigned int getGenerationMode() const;
55 
56  void generateCoordinatesFromScratch(bool generate);
57 
59 
60  void sampleAngleToleranceRanges(bool sample);
61 
63 
64  void setTimeout(std::size_t mil_secs);
65 
66  std::size_t getTimeout() const;
67 
68  void setFragmentModeForceFieldType(unsigned int type);
69 
70  unsigned int getFragmentModeForceFieldType() const;
71 
72  void setDGModeForceFieldType(unsigned int type);
73 
74  unsigned int getDGModeForceFieldType() const;
75 
77 
79 
80  void setDielectricConstant(double de_const);
81 
82  double getDielectricConstant() const;
83 
84  void setDistanceExponent(double exponent);
85 
86  double getDistanceExponent() const;
87 
88  void setMaxNumRefinementIterations(std::size_t max_iter);
89 
90  std::size_t getMaxNumRefinementIterations() const;
91 
92  void setRefinementTolerance(double tol);
93 
94  double getRefinementTolerance() const;
95 
96  void setMaxNumSampledConformers(std::size_t max_num);
97 
98  std::size_t getMaxNumSampledConformers() const;
99 
100  void setConvergenceCheckCycleSize(std::size_t size);
101 
102  std::size_t getConvergenceCheckCycleSize() const;
103 
104  void setMacrocycleRotorBondCountThreshold(std::size_t min_count);
105 
107 
109 
111 
112  private:
113  unsigned int generationMode;
114  bool fromScratch;
115  bool sampleTolRanges;
116  std::size_t timeout;
117  unsigned int fragModeForceFieldType;
118  unsigned int dgModeForceFieldType;
119  bool strictParam;
120  double dielectricConst;
121  double distExponent;
122  std::size_t maxNumRefIters;
123  double refTolerance;
124  std::size_t maxNumSampledConfs;
125  std::size_t convCheckCycleSize;
126  std::size_t mcRotorBondCountThresh;
127  FragmentConformerGeneratorSettings fragBuildSettings;
128  };
129  }; // namespace ConfGen
130 } // namespace CDPL
131 
132 #endif // CDPL_CONFGEN_STRUCTUREGENERATORSETTINGS_HPP
CDPL::ConfGen::StructureGeneratorSettings::getConvergenceCheckCycleSize
std::size_t getConvergenceCheckCycleSize() const
CDPL::ConfGen::StructureGeneratorSettings::setFragmentModeForceFieldType
void setFragmentModeForceFieldType(unsigned int type)
CDPL::ConfGen::StructureGeneratorSettings
Definition: StructureGeneratorSettings.hpp:45
CDPL::ConfGen::StructureGeneratorSettings::generateCoordinatesFromScratch
void generateCoordinatesFromScratch(bool generate)
CDPL::ConfGen::StructureGeneratorSettings::getDistanceExponent
double getDistanceExponent() const
CDPL::ConfGen::StructureGeneratorSettings::getMaxNumSampledConformers
std::size_t getMaxNumSampledConformers() const
CDPL::ConfGen::StructureGeneratorSettings::setConvergenceCheckCycleSize
void setConvergenceCheckCycleSize(std::size_t size)
CDPL::ConfGen::StructureGeneratorSettings::setDielectricConstant
void setDielectricConstant(double de_const)
CDPL::ConfGen::StructureGeneratorSettings::setDistanceExponent
void setDistanceExponent(double exponent)
CDPL::ConfGen::StructureGeneratorSettings::getMacrocycleRotorBondCountThreshold
std::size_t getMacrocycleRotorBondCountThreshold() const
CDPL::ConfGen::StructureGeneratorSettings::getDGModeForceFieldType
unsigned int getDGModeForceFieldType() const
CDPL::ConfGen::StructureGeneratorSettings::setDGModeForceFieldType
void setDGModeForceFieldType(unsigned int type)
CDPL::ConfGen::StructureGeneratorSettings::setMaxNumRefinementIterations
void setMaxNumRefinementIterations(std::size_t max_iter)
CDPL::ConfGen::StructureGeneratorSettings::getDielectricConstant
double getDielectricConstant() const
CDPL::ConfGen::StructureGeneratorSettings::sampleAngleToleranceRanges
bool sampleAngleToleranceRanges() const
CDPL::ConfGen::StructureGeneratorSettings::StructureGeneratorSettings
StructureGeneratorSettings()
CDPL::ConfGen::StructureGeneratorSettings::getMaxNumRefinementIterations
std::size_t getMaxNumRefinementIterations() const
CDPL::ConfGen::StructureGeneratorSettings::strictForceFieldParameterization
void strictForceFieldParameterization(bool strict)
CDPL::ConfGen::StructureGeneratorSettings::getFragmentBuildSettings
FragmentConformerGeneratorSettings & getFragmentBuildSettings()
APIPrefix.hpp
Definition of the preprocessor macro CDPL_CONFGEN_API.
CDPL::ConfGen::StructureGeneratorSettings::generateCoordinatesFromScratch
bool generateCoordinatesFromScratch() const
CDPL::ConfGen::StructureGeneratorSettings::strictForceFieldParameterization
bool strictForceFieldParameterization() const
CDPL::ConfGen::StructureGeneratorSettings::DEFAULT
static const StructureGeneratorSettings DEFAULT
Definition: StructureGeneratorSettings.hpp:48
CDPL::ConfGen::StructureGeneratorSettings::getFragmentBuildSettings
const FragmentConformerGeneratorSettings & getFragmentBuildSettings() const
CDPL_CONFGEN_API
#define CDPL_CONFGEN_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
CDPL::ConfGen::StructureGeneratorSettings::setMacrocycleRotorBondCountThreshold
void setMacrocycleRotorBondCountThreshold(std::size_t min_count)
CDPL
The namespace of the Chemical Data Processing Library.
FragmentConformerGeneratorSettings.hpp
Definition of the class CDPL::ConfGen::FragmentConformerGeneratorSettings.
CDPL::ConfGen::StructureGeneratorSettings::setTimeout
void setTimeout(std::size_t mil_secs)
CDPL::ConfGen::StructureGeneratorSettings::sampleAngleToleranceRanges
void sampleAngleToleranceRanges(bool sample)
CDPL::ConfGen::StructureGeneratorSettings::setRefinementTolerance
void setRefinementTolerance(double tol)
CDPL::ConfGen::StructureGeneratorSettings::setGenerationMode
void setGenerationMode(unsigned int mode)
CDPL::ConfGen::StructureGeneratorSettings::getTimeout
std::size_t getTimeout() const
CDPL::ConfGen::StructureGeneratorSettings::getGenerationMode
unsigned int getGenerationMode() const
CDPL::ConfGen::StructureGeneratorSettings::getFragmentModeForceFieldType
unsigned int getFragmentModeForceFieldType() const
CDPL::ConfGen::StructureGeneratorSettings::setMaxNumSampledConformers
void setMaxNumSampledConformers(std::size_t max_num)
CDPL::ConfGen::StructureGeneratorSettings::getRefinementTolerance
double getRefinementTolerance() const
CDPL::ConfGen::FragmentConformerGeneratorSettings
Definition: FragmentConformerGeneratorSettings.hpp:44