v2DM-DOCI  1.0
Options.h
Go to the documentation of this file.
1 /*
2  CheMPS2: a spin-adapted implementation of DMRG for ab initio quantum chemistry
3  Copyright (C) 2013, 2014 Sebastian Wouters
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19 
20 #ifndef OPTIONS_CHEMPS2_H
21 #define OPTIONS_CHEMPS2_H
22 
23 #include <stdlib.h>
24 #include <string>
25 
26 using std::string;
27 
28 namespace CheMPS2{
29 
30  const int DMRGSCF_maxIterations = 100;
31  const double DMRGSCF_gradientNormThreshold = 1e-6;
32  const bool DMRGSCF_storeUnitary = true;
33  const string DMRGSCF_unitaryStorageName = "CheMPS2_CASSCF.h5";
34  const int DMRGSCF_maxlinsizeCutoff = 100;
35  const bool DMRGSCF_debugPrint = false;
36  const bool DMRGSCF_stateAveraged = true;
37 
38  const int DMRGSCF_whichActiveSpace = 0;
39  const bool DMRGSCF_dumpCorrelations = false;
40  const bool DMRGSCF_startLocRandom = false;
41 
42  const bool DMRGSCF_doDIIS = false;
43  const double DMRGSCF_DIISgradientBranch = 1e-2;
44  const int DMRGSCF_numDIISvecs = 7;
45  const bool DMRGSCF_storeDIIS = true;
46  const string DMRGSCF_DIISstorageName = "CheMPS2_DIIS.h5";
47 
48  const string TMPpath = "/tmp";
49  const bool DMRG_printDiscardedWeight = false;
50  const bool DMRG_storeRenormOptrOnDisk = true;
51  const bool DMRG_storeMpsOnDisk = false;
52  const string DMRG_MPS_storage_prefix = "CheMPS2_MPS";
53  const string DMRG_OPERATOR_storage_prefix = "CheMPS2_Operators_";
54 
55  const bool HAMILTONIAN_debugPrint = false;
56  const string HAMILTONIAN_TmatStorageName = "CheMPS2_Ham_Tmat.h5";
57  const string HAMILTONIAN_VmatStorageName = "CheMPS2_Ham_Vmat.h5";
58  const string HAMILTONIAN_ParentStorageName = "CheMPS2_Ham_parent.h5";
59 
60  const string TWODM_2DM_A_storagename = "CheMPS2_2DM-A.h5";
61  const string TWODM_2DM_B_storagename = "CheMPS2_2DM-B.h5";
62 
63  const bool HEFF_debugPrint = true;
64  const int HEFF_DAVIDSON_NUM_VEC = 32;
66  const double HEFF_DAVIDSON_PRECOND_CUTOFF = 1e-12;
67  const double HEFF_DAVIDSON_RTOL_BASE = 1e-10;
68 
69  const bool SYBK_debugPrint = false;
70  const int SYBK_dimensionCutoff = 262144;
71 
72  const double TENSORT_orthoComparison = 1e-13;
73 
74  const bool CORRELATIONS_debugPrint = false;
75  const double CORRELATIONS_discardEig = 1e-100;
76 
77  const double EDMISTONRUED_gradThreshold = 1e-8;
78  const int EDMISTONRUED_maxIter = 1000;
80 
81  const bool Orbopt_debugPrint = false;
82 }
83 
84 #endif
85 
const int EDMISTONRUED_maxIterBackTfo
Definition: Options.h:79
const string DMRG_OPERATOR_storage_prefix
Definition: Options.h:53
const bool DMRGSCF_storeUnitary
Definition: Options.h:32
const double HEFF_DAVIDSON_PRECOND_CUTOFF
Definition: Options.h:66
const double DMRGSCF_gradientNormThreshold
Definition: Options.h:31
const bool HAMILTONIAN_debugPrint
Definition: Options.h:55
const int DMRGSCF_whichActiveSpace
Definition: Options.h:38
const string TWODM_2DM_A_storagename
Definition: Options.h:60
const string TMPpath
Definition: Options.h:48
const bool DMRG_storeRenormOptrOnDisk
Definition: Options.h:50
const bool SYBK_debugPrint
Definition: Options.h:69
const bool HEFF_debugPrint
Definition: Options.h:63
const int DMRGSCF_numDIISvecs
Definition: Options.h:44
const bool DMRGSCF_stateAveraged
Definition: Options.h:36
const bool DMRGSCF_startLocRandom
Definition: Options.h:40
const int DMRGSCF_maxlinsizeCutoff
Definition: Options.h:34
const double CORRELATIONS_discardEig
Definition: Options.h:75
const string HAMILTONIAN_ParentStorageName
Definition: Options.h:58
const bool DMRG_storeMpsOnDisk
Definition: Options.h:51
const double TENSORT_orthoComparison
Definition: Options.h:72
const bool DMRG_printDiscardedWeight
Definition: Options.h:49
const int EDMISTONRUED_maxIter
Definition: Options.h:78
const bool DMRGSCF_doDIIS
Definition: Options.h:42
const bool DMRGSCF_dumpCorrelations
Definition: Options.h:39
const string DMRG_MPS_storage_prefix
Definition: Options.h:52
const bool Orbopt_debugPrint
Definition: Options.h:81
const int DMRGSCF_maxIterations
Definition: Options.h:30
const bool CORRELATIONS_debugPrint
Definition: Options.h:74
const double HEFF_DAVIDSON_RTOL_BASE
Definition: Options.h:67
const int HEFF_DAVIDSON_NUM_VEC_KEEP
Definition: Options.h:65
const int SYBK_dimensionCutoff
Definition: Options.h:70
const string HAMILTONIAN_VmatStorageName
Definition: Options.h:57
const int HEFF_DAVIDSON_NUM_VEC
Definition: Options.h:64
const double DMRGSCF_DIISgradientBranch
Definition: Options.h:43
const string DMRGSCF_DIISstorageName
Definition: Options.h:46
const string DMRGSCF_unitaryStorageName
Definition: Options.h:33
const double EDMISTONRUED_gradThreshold
Definition: Options.h:77
const string TWODM_2DM_B_storagename
Definition: Options.h:61
const bool DMRGSCF_debugPrint
Definition: Options.h:35
const bool DMRGSCF_storeDIIS
Definition: Options.h:45
const string HAMILTONIAN_TmatStorageName
Definition: Options.h:56