Scine::Sparrow  5.0.0
Library for fast and agile quantum chemical calculations with semiempirical methods.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
TDDFTBSettings.h
Go to the documentation of this file.
1 
8 #ifndef SPARROW_TDDFTBSETTINGS_H
9 #define SPARROW_TDDFTBSETTINGS_H
10 
12 
13 namespace Scine {
14 namespace Sparrow {
16  public:
19  "Sets whether the basis of singly excited determinants should be pruned and with which method.");
20  prunedBasisCalculation.addOption(Utils::SettingsNames::PruningOptions::none);
21  prunedBasisCalculation.addOption(Utils::SettingsNames::PruningOptions::energy);
22  prunedBasisCalculation.setDefaultOption(Utils::SettingsNames::PruningOptions::none);
23 
24  Utils::UniversalSettings::DoubleDescriptor energyThresholdForPruning(
25  "Sets the threshold for pruning with an energy criterion in au.");
26  energyThresholdForPruning.setMinimum(0.0);
27  energyThresholdForPruning.setDefaultValue(0.0);
28 
29  Utils::UniversalSettings::DoubleDescriptor perturbationTheoryThresholdForPruning(
30  "Sets the threshold for pruning with an intensity criterion in au.");
31  perturbationTheoryThresholdForPruning.setMinimum(0.);
32  perturbationTheoryThresholdForPruning.setDefaultValue(1e-4);
33 
35  "Switches on the TDA for the excited states calculation.");
36  TDAApproximation.setDefaultValue(false);
37 
38  _fields.push_back(Utils::SettingsNames::pruneBasis, std::move(prunedBasisCalculation));
39  _fields.push_back(Utils::SettingsNames::energyThreshold, std::move(energyThresholdForPruning));
40  _fields.push_back(Utils::SettingsNames::perturbativeThreshold, std::move(perturbationTheoryThresholdForPruning));
41  _fields.push_back("tda", std::move(TDAApproximation));
42  resetToDefaults();
43  }
44 };
45 } // namespace Sparrow
46 } // namespace Scine
47 
48 #endif // SPARROW_TDDFTBSETTINGS_H
Generic settings for linear response methods, i.e. CIS and TD-DFTB.
Definition: LinearResponseSettings.h:25
Definition: TDDFTBSettings.h:15