Chemical Data Processing Library C++ API - Version 1.2.0
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
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.
Definition of the class CDPL::ConfGen::FragmentConformerGeneratorSettings.
Definition: FragmentConformerGeneratorSettings.hpp:44
Definition: StructureGeneratorSettings.hpp:45
void setDGModeForceFieldType(unsigned int type)
std::size_t getMaxNumSampledConformers() const
void setTimeout(std::size_t mil_secs)
static const StructureGeneratorSettings DEFAULT
Definition: StructureGeneratorSettings.hpp:48
void setMaxNumSampledConformers(std::size_t max_num)
void setMacrocycleRotorBondCountThreshold(std::size_t min_count)
std::size_t getMacrocycleRotorBondCountThreshold() const
FragmentConformerGeneratorSettings & getFragmentBuildSettings()
void generateCoordinatesFromScratch(bool generate)
void strictForceFieldParameterization(bool strict)
void setMaxNumRefinementIterations(std::size_t max_iter)
void setDielectricConstant(double de_const)
std::size_t getMaxNumRefinementIterations() const
const FragmentConformerGeneratorSettings & getFragmentBuildSettings() const
void setGenerationMode(unsigned int mode)
void setConvergenceCheckCycleSize(std::size_t size)
void setFragmentModeForceFieldType(unsigned int type)
unsigned int getFragmentModeForceFieldType() const
unsigned int getDGModeForceFieldType() const
std::size_t getConvergenceCheckCycleSize() const
The namespace of the Chemical Data Processing Library.