@@ -24,34 +24,22 @@ int NLOCAL = 0; // total number of local basis.
2424int NSPIN = 1 ; // LDA
2525bool TWO_EFERMI = false ; // two fermi energy, exist only magnetization is fixed.
2626double nupdown = 0.0 ;
27- double FORCE_THR = 1.0e-3 ;
2827bool CAL_STRESS = false ;
29- double PRESSURE = 0.0 ;
3028std::string RELAX_METHOD = " bfgs" ;
31- std::string OUT_LEVEL = " ie" ;
32- bool relax_new = true ;
33- bool fixed_atoms = false ;
34- int SCF_NMAX = 100 ;
3529
36- bool use_paw = false ;
3730bool use_uspp = false ;
38- bool double_grid = false ;
3931std::string KS_SOLVER = " cg" ; // xiaohui add 2013-09-01
4032double SEARCH_RADIUS = -1.0 ;
4133
42- int PW_DIAG_NMAX = 30 ;
4334int PW_DIAG_NDIM = 4 ;
4435double PW_DIAG_THR = 1.0e-2 ;
4536int NB2D = 1 ;
4637
47- int SCF_THR_TYPE = 1 ;
4838
4939double DQ = 0.010 ; // space between Q points of the reciprocal radial tab
5040int NQX = 10000 ; // number of points describing reciprocal radial tab
5141int NQXQ = 10000 ; // number of points describing reciprocal radial tab for Q
5242
53- bool COLOUR = false ;
54- bool GAMMA_ONLY_LOCAL = false ; // mohan add 2010-10-20
5543bool GAMMA_ONLY_PW = false ; // mohan add 2012-06-05
5644
5745int ZEEMAN_IN_H = 1 ;
@@ -65,7 +53,6 @@ bool out_mul = false; // qifeng add 2019/9/10
6553int NPROC = 1 ; // /< global number of process
6654int KPAR = 1 ; // /< global number of pools
6755int KPAR_LCAO = 1 ; // /< global number of pools for LCAO diagonalization only
68- int NSTOGROUP = 1 ;
6956int MY_RANK = 0 ; // /< global index of process
7057int MY_POOL = 0 ; // /< global index of pool (count in pool)
7158int MY_STOGROUP = 0 ;
@@ -145,7 +132,6 @@ bool DOMAG = false;
145132bool DOMAG_Z = false ;
146133int NPOL = 1 ;
147134
148- bool FINAL_SCF = false ; // LiuXh add 20180619
149135
150136bool deepks_out_labels = false ; // caoyu add 2021-10-16 for DeePKS, wenfei 2022-1-16
151137bool deepks_scf = false ; // caoyu add 2021-10-16 for DeePKS, wenfei 2022-1-16
@@ -157,44 +143,13 @@ bool deepks_equiv = false;
157143bool deepks_setorb = false ;
158144
159145
160- bool imp_sol = false ; // implicit solvation. sunml added 2022-04-04
161- double eb_k = 80.0 ;
162146
163- int dft_plus_u = 0 ; // DFTU control
164147
165148// Xinyang Dong added for rpa
166- bool rpa_setorb = false ;
167149std::vector<std::string> rpa_orbitals;
168150
169- std::string of_kinetic = " wt" ;
170- std::string of_method = " tn" ;
171- std::string of_conv = " energy" ;
172- double of_tole = 2e-6 ;
173- double of_tolp = 1e-5 ;
174- double of_tf_weight = 1 .;
175- double of_vw_weight = 1 .;
176- double of_wt_alpha = 5 . / 6 .;
177- double of_wt_beta = 5 . / 6 .;
178- double of_wt_rho0 = 0 .;
179- bool of_hold_rho0 = false ;
180- double of_lkt_a = 1.3 ;
181- bool of_full_pw = true ;
182- int of_full_pw_dim = 0 ;
183- bool of_read_kernel = false ;
184- std::string of_kernel_file = " WTkernel.txt" ;
185151
186152// mixing parameters
187- std::string MIXING_MODE = " broyden" ;
188- double MIXING_BETA = 0.7 ;
189- int MIXING_NDIM = 8 ;
190- double MIXING_RESTART = 0.0 ;
191- double MIXING_GG0 = 1.00 ;
192- double MIXING_BETA_MAG = 1.6 ;
193- double MIXING_GG0_MAG = 1.00 ;
194- double MIXING_GG0_MIN = 0.1 ;
195- double MIXING_ANGLE = 0.0 ;
196- bool MIXING_TAU = false ;
197- bool MIXING_DMR = false ;
198153
199154// ==========================================================
200155// device flags added by denghui
@@ -203,30 +158,20 @@ std::string device_flag = "unknown";
203158// ==========================================================
204159// precision flags added by denghui
205160// ==========================================================
206- std::string precision_flag = " unknown" ;
207161
208- std::string chg_extrap = " " ;
209162int out_pot = 0 ;
210163
211- std::string init_chg = " " ;
212164
213- std::string init_wfc = " atomic" ;
214- bool psi_initializer = false ;
215165
216166double nelec = 0 ;
217- bool out_bandgap = false ; // QO added for bandgap printing
218167
219168// ==========================================================
220169// Deltaspin related
221170// ==========================================================
222- double sc_thr = 1.0e-6 ;
223171
224172// ==========================================================
225173// Quasiatomic orbital related
226174// ==========================================================
227- double qo_thr = 1.0e-6 ;
228- std::vector<double > qo_screening_coeff = {};
229175
230176// on-site orbitals
231- double onsite_radius = 0.0 ;
232177} // namespace GlobalV
0 commit comments