ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
input_parameter.h
Go to the documentation of this file.
1#ifndef INPUT_PARAMETER_H
2#define INPUT_PARAMETER_H
3#include "md_parameter.h"
5
6#include <cmath>
7#include <string>
8#include <vector>
9
10// It stores all input parameters both defined in INPUT file and not defined in
11// INPUT file
13{
14 // ---------------------------------------------------------------
15 // -------------- INPUT Parameters ----------------
16 // ---------------------------------------------------------------
17 // ============== #Parameters (1.System) =====================
18 std::string suffix = "ABACUS";
19 int ntype = 0;
20 std::string calculation = "scf";
23 bool socket_driver = false;
24 std::string esolver_type = "ksdft";
25 /* symmetry level:
26 -1, no symmetry at all;
27 0, only basic time reversal would be considered;
28 1, point group symmetry would be considered*/
29 std::string symmetry = "default";
30 double symmetry_prec = 1.0e-6;
31 bool symmetry_autoclose = true;
33 bool cal_force = false;
34 bool cal_stress = false;
35 int kpar = 1;
36 int bndpar = 1;
37 std::string latname = "user_defined_lattice";
38 std::string assume_isolated = "none";
39 int pcc_2d_axis = 2;
40 double ecutwfc = 0;
41 double ecutrho = 0;
42
43 int nx = 0, ny = 0, nz = 0;
44 int ndx = 0, ndy = 0, ndz = 0;
45
46 double cell_factor = 1.2;
47 double erf_ecut = 0;
48 double erf_height = 0;
49 double erf_sigma = 0.1;
50 int fft_mode = 0;
51 std::string init_wfc = "atomic";
52 std::string init_wfc_file_format = "";
53 int pw_seed = 0;
54 std::string init_chg = "atomic";
55 bool dm_to_rho = false;
56 std::string chg_extrap = "default";
57 bool init_vel = false;
58
59 std::string input_file = "INPUT";
60 std::string stru_file = "STRU";
61 std::vector<int> cell_replica = {1, 1, 1};
63 std::string kpoint_file = "KPT";
64 std::string pseudo_dir = "";
65 std::string orbital_dir = "";
66 std::string read_file_dir = "auto";
67 bool restart_load = false;
68 std::string wannier_card = "none";
69 int mem_saver = 0;
70 int diago_proc = 0;
71 int nbspline = -1;
72 std::vector<double> kspacing = {0.0, 0.0, 0.0};
73 std::vector<double> koffset = {0.0, 0.0, 0.0};
74 std::string kmesh_type = "gamma";
75 double min_dist_coef = 0.2;
76
77 std::string device = "cpu";
78 std::string precision = "double";
79 std::string gint_precision = "double";
80 bool timer_enable_nvtx = false;
81
82 // ============== #Parameters (2.Electronic structure) ===========================
83 std::string ks_solver = "default";
84 double lcao_sk_cut = 0.0;
85 std::string basis_type = "pw";
86 int nbands = 0;
87 double nelec = 0.0;
88 double nelec_delta = 0.0;
89 double nupdown = 0.0;
90 std::string dft_functional = "default";
91 std::string device_xc = "cpu";
92 int gga_grad = 0;
93 double xc_temperature = 0.0;
94 double pseudo_rcut = 15.0;
95 bool pseudo_mesh = false;
97 int nspin = 1;
98 int pw_diag_nmax = 50;
99 double pw_diag_thr = 0.01;
100 bool diago_smooth_ethr = false;
101 int pw_diag_ndim = 4;
102 std::string lobpcg_locking = "hard";
104 int diag_subspace = 0; // 0: Lapack, 1: elpa, 2: scalapack
105 bool use_k_continuity = false;
106
107 std::string smearing_method = "gauss";
111 double smearing_sigma = 0.015;
112
113 std::string mixing_mode = "broyden";
114 double mixing_beta = -1.0;
115 int mixing_ndim = 8;
116 double mixing_restart = 0.0;
118 double mixing_gg0 = 1.0;
119 double mixing_beta_mag = -10.0;
120 double mixing_gg0_mag = 0.0;
121 double mixing_gg0_min = 0.1;
122 double mixing_angle = -10.0;
123 bool mixing_tau = false;
124 bool mixing_dftu = false;
125 bool mixing_dmr = false;
126
127 bool gamma_only = false;
128 int scf_nmax = 100;
129 double scf_thr = -1.0;
130 double scf_ene_thr = -1.0;
131 int scf_thr_type = -1;
132 // bool final_scf = false; ///< whether to do final scf
133 bool scf_os_stop = false;
134 double scf_os_thr = -0.01;
135 int scf_os_ndim = 0;
136 int sc_os_ndim = 5;
137
138 bool lspinorb = false;
139 bool noncolin = false;
140 double soc_lambda = 1.0;
142 int dfthalf_type = 0;
143
144 // ============== #Parameters (3.LCAO) ===========================
145 int nb2d = 0;
146 int lmaxmax = 2;
147 double lcao_ecut = 0.0;
148 double lcao_dk = 0.01;
149 double lcao_dr = 0.01;
150 double lcao_rmax = 30.0;
151 double search_radius = -1.0;
152 int bx = 0, by = 0, bz = 0;
154 int nstream = 4;
155 std::string bessel_nao_ecut = "default";
156 double bessel_nao_tolerence = 1e-12;
157 std::vector<double> bessel_nao_rcuts = {};
158 bool bessel_nao_smooth = true;
159 double bessel_nao_sigma = 0.1;
160 // ==========================================================
161 // spherical bessel Peize Lin added on 2022-12-15
162 // ==========================================================
163 // the following are used when generating orb_matrix.dat
164 // int bessel_nao_lmax; ///< lmax used in descriptor
165
166 // ============== #Parameters (4.Relaxation) ===========================
167 std::string relax_method = "cg";
168
170 {
171 return relax_method == "cg";
172 }
173 bool relax = false;
174 double relax_scale_force = 0.5;
175 int relax_nmax = -1;
176 double relax_cg_thr = 0.5;
177 double force_thr = -1;
178 double force_thr_ev = -1;
179 double force_zero_out = 0;
180 double stress_thr = 0.5;
181 double press1 = 0;
182 double press2 = 0;
183 double press3 = 0;
184 double relax_bfgs_w1 = 0.01;
185 double relax_bfgs_w2 = 0.5;
186 double relax_bfgs_rmax = 0.2;
187 double relax_bfgs_rmin = 1e-05;
188 double relax_bfgs_init = 0.5;
189 std::string fixed_axes = "None";
190 bool fixed_ibrav = false;
192 bool fixed_atoms = false;
193
194 // ============== #Parameters (5.Molecular dynamics) ===========================
196 // FIXME(liuyu): ref_cell_factor is currently DISABLED. Setting any
197 // non-1.0 value triggers WARNING_QUIT in read_input_item_md.cpp.
198 // The reference-cell mechanism has design problems: when
199 // ref_cell_factor > 1, PW_Basis::lat0/tpiba/G/GGT/omega hold
200 // reference-cell values, but external code (sum_rho, get_local_pp_energy,
201 // cal_delta_escf, makov_payne, wfc IO, DFPT, OFDFT) reads them as
202 // physical-cell quantities, producing wrong results in variable-cell
203 // (NPT) calculations. To re-enable, PW_Basis must be refactored to
204 // separate reference-cell grid (FFT dims nx/ny/nz) from physical-cell
205 // lattice quantities (lat0/tpiba/G/GGT/omega).
206 double ref_cell_factor = 1;
208 std::vector<int> cal_syns = {0, 8};
209 double dmax = 0.01;
210
211 // ============== #Parameters (6.OFDFT) ===========================
212 // OFDFT sunliang added on 2022-05-05
213 std::string of_kinetic = "wt";
214 std::string of_method = "tn";
215 std::string of_conv = "energy";
217 double of_tole = 1e-06;
219 double of_tolp = 1e-05;
221 double of_tf_weight = 1.0;
222 double of_vw_weight = 1.0;
223 double of_wt_alpha = 5. / 6.;
224 double of_wt_beta = 5. / 6.;
225 double of_extwt_kappa = 1.0 / (2.0 * std::pow(4. / 3., 1. / 3.) - 1.0);
227 double of_wt_rho0 = 0.0;
228 bool of_hold_rho0 = false;
231 double of_lkt_a = 1.3;
232 bool of_full_pw = true;
236 bool of_read_kernel = false;
239 std::string of_kernel_file = "WTkernel.txt";
240 double of_xwm_kappa = 0.0;
241 double of_xwm_rho_ref = 0.0;
242
243 // ML KEDF, sunliang added on 2022-11-07
244 bool of_ml_gene_data = false;
245 // device
246 std::string of_ml_device = "cpu";
247 int of_ml_feg = 0;
248 // kernel
250 std::vector<int> of_ml_kernel = {1};
251 std::vector<double> of_ml_kernel_scaling
252 = {1.0};
253 std::vector<double> of_ml_yukawa_alpha = {1.0};
254 std::vector<std::string> of_ml_kernel_file = {"none"};
255 // semi-local descriptors
256 bool of_ml_gamma = false;
257 bool of_ml_p = false;
258 bool of_ml_q = false;
259 bool of_ml_tanhp = false;
260 bool of_ml_tanhq = false;
261 double of_ml_chi_p = 1.0;
262 double of_ml_chi_q = 1.0;
263 // non-local descriptors
264 // of_ml_gammanl should be a vector of bool, but here we use a vector of int for convinience
265 std::vector<int> of_ml_gammanl = {0};
266 std::vector<int> of_ml_pnl = {0};
267 std::vector<int> of_ml_qnl = {0};
268 std::vector<int> of_ml_xi = {0};
269 std::vector<int> of_ml_tanhxi = {0};
270 std::vector<int> of_ml_tanhxi_nl = {0};
271 std::vector<int> of_ml_tanh_pnl = {0};
272 std::vector<int> of_ml_tanh_qnl = {0};
273 std::vector<int> of_ml_tanhp_nl = {0};
274 std::vector<int> of_ml_tanhq_nl = {0};
275 std::vector<double> of_ml_chi_xi = {1.0};
276 std::vector<double> of_ml_chi_pnl = {1.0};
277 std::vector<double> of_ml_chi_qnl = {1.0};
278 bool of_ml_local_test = false;
279
280 // ============== #Parameters (7.stochastic DFT) ===========================
281 int method_sto = 2;
283 int npart_sto = 1;
284 int nbands_sto = 256;
285 int nche_sto = 100;
287 double emin_sto = 0;
288 double emax_sto = 0;
289 int seed_sto = 0;
290 double initsto_ecut = 0.0;
291 int initsto_freq = 0;
292 bool ml_exx = false;
293
294 // ============== #Parameters (8.DeepKS) ===========================
295 //==========================================================
296 // DeepKS -- added by caoyu and mohan
297 //==========================================================
302 std::string deepks_out_base = "none";
303 bool deepks_scf = false;
306 std::vector<int> deepks_band_range = {-1, 0};
308 bool deepks_equiv = false;
309 bool deepks_out_unittest = false;
311 std::string deepks_model = "None";
312
314 std::string bessel_descriptor_ecut = "default";
319
320 // ============== #Parameters (9.rt-tddft) ===========================
321 double td_dt = -1.0;
323 int td_scf_nmax = 100;
324 int estep_per_md = 1;
325 std::string lin_solver = "gmres";
326 std::string td_orthonormal = "cholesky";
327 bool td_out_stat = false;
328 std::string td_out_mag = "voronoi";
329 bool td_out_torque = false;
330 bool td_out_spincur = false;
332 bool td_cn_init = true;
333 bool lin_reconstruct = true;
334 std::string lin_precond = "kinetic_recycle";
335 double lin_thr = 0.0;
336 int lin_maxiter = 500;
337 double td_force_dt = 0.02;
338 bool td_vext = false;
339 // std::string td_vext_dire = "1"; ///< vext direction
340 std::vector<int> td_vext_dire = {1};
341
342 bool init_vecpot = false;
343 double td_print_eij = -1.0;
344 int td_edm = 0;
345 int propagator = 0;
346 std::string td_exp_method = "lanczos";
347 int td_exp_order = 4;
348 double td_exp_thr = 0.0;
350 int td_stype = 0;
351 std::vector<int> td_ttype = {0};
357 int td_tstart = 1;
358 int td_tend = 1000;
359
362 double td_lcut1 = 0.05;
363 double td_lcut2 = 0.95;
364
367 std::vector<double> td_gauss_freq = {22.13};
368 std::vector<double> td_gauss_phase = {0.0};
369 std::vector<double> td_gauss_sigma = {30.0};
370 std::vector<double> td_gauss_t0 = {100.0};
371 std::vector<double> td_gauss_amp = {0.25};
372
374 std::vector<double> td_trape_freq = {1.60};
375 // Trapezoidal
376 std::vector<double> td_trape_phase = {0.0};
377 std::vector<double> td_trape_t1 = {1875.0};
378 std::vector<double> td_trape_t2 = {5625.0};
379 std::vector<double> td_trape_t3 = {7500.0};
380 std::vector<double> td_trape_amp = {2.74}; // V/A
381
382 // Trigonometric
383 std::vector<double> td_trigo_freq1 = {1.164656}; // time(fs)^-1
384 std::vector<double> td_trigo_freq2 = {0.029116}; // time(fs)^-1
385 std::vector<double> td_trigo_phase1 = {0.0};
386 std::vector<double> td_trigo_phase2 = {0.0};
387 std::vector<double> td_trigo_amp = {2.74}; // V/A
388
389 // Heaviside
390 std::vector<double> td_heavi_t0 = {100.0};
391 std::vector<double> td_heavi_amp = {1.0}; // V/A
392
393 // Supersine
394 std::vector<double> td_supsine_amp = {0.27};
395 std::vector<double> td_supsine_freq = {0.18737028625};
396 std::vector<double> td_supsine_phase = {0.0};
397 std::vector<double> td_supsine_sigma = {0.75};
398 std::vector<int> td_supsine_tstart = {1};
399 std::vector<int> td_supsine_tend = {1000};
400
401 bool ocp = false;
402 // std::string ocp_set = "";
403 std::vector<double> ocp_kb = {};
404
405 // ============== #Parameters (10.lr-tddft) ===========================
406 int lr_nstates = 1;
408 std::string lr_target_spin = "singlet";
410 = 0.0;
411 std::string lr_degen_mode = "state";
412 std::string lr_grad_solver = "cg";
413 std::vector<std::string> lr_init_xc_kernel = {};
414 int nocc = -1;
415 int nvirt = 1;
416 std::string xc_kernel = "LDA";
417 std::string lr_solver = "dav";
418 double lr_thr = 1e-2;
419 bool out_wfc_lr = false;
420 bool lr_unrestricted = false;
421 std::vector<double> abs_wavelen_range = {};
422 double abs_broadening = 0.01;
423 std::string abs_gauge = "velocity";
424 std::string ri_hartree_benchmark = "none";
426 std::vector<int> aims_nbasis = {};
427 std::string bse_tda = "tda";
428 std::vector<std::string> bse_spin_types = {"singlet", "triplet"};
429 bool bse_mem_save = false;
430 bool bse_ri_hartree = true;
434 bool out_bse_ab = false;
435 int bse_continue = 0;
437 int plot_istate = 0;
438 std::string exciton_plot_type = "average";
439 std::string exciton_plot_format = "cube";
440 std::vector<double> exciton_fixed_coordinate = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0};
441 std::string exciton_slice_plane = "ab";
442 double exciton_slice_pos = 0.0;
444 std::vector<int> exciton_slice_range = {-1, 2, -1, 2};
445
446 // ============== #Parameters (10b.dfpt) ===========================
447 std::vector<int> dfpt_qmesh = {1, 1, 1};
448 std::string dfpt_qfile = "";
449 bool dfpt_compute_q0 = false;
450 bool dfpt_loto = false;
451 bool dfpt_out_dyn = false;
452 double dfpt_conv_thr = 1.0e-8;
453 int dfpt_max_iter = 100;
454 double dfpt_lin_conv_thr = -1.0;
456 double dfpt_mix_beta = 0.4;
457 std::string dfpt_asr = "no";
458 std::string dfpt_mix_type = "v_sc_broyden";
459 double dfpt_kerker_a2 = 1.0;
461
462 // ============== #Parameters (11.Output) ===========================
463 int out_stru = 1;
466 int out_freq_ion = 0;
469 std::vector<int> out_chg = {0, 3};
470 bool out_occ_mat = true;
472 std::vector<int> out_xc_r = {-1, 3};
473 std::vector<int> out_pot = {0, 8};
474 std::vector<int> out_sol = {0, 8};
475 int out_wfc_pw = 0;
476 std::vector<int> out_band = {0, 8};
477 std::vector<int> out_dos = {0, 6};
478 std::vector<int> out_ldos = {0, 3};
479 bool out_mul = false;
480 bool out_proj_band = false;
481 std::string out_level = "ie";
482 std::vector<int> out_dmr = {0, 8};
483 std::vector<int> out_dmk = {0, 8};
484 bool out_bandgap = false;
485 std::vector<int> out_hsk = {0, 8};
486 std::vector<int> out_hsr = {0, 8};
487 bool out_hsr_npz_compat = false;
488 std::vector<int> out_mat_hs = {0, 8};
489 std::vector<int> out_mat_tk = {0, 8};
490 std::vector<int> out_mat_l = {0, 8};
491 std::vector<int> out_mat_hs2 = {0, 8};
492 std::vector<int> out_mat_h_t = {0, 8};
493 std::vector<int> out_mat_vnlk = {0, 8};
494 std::vector<int> out_mat_vlk = {0, 8};
495 std::vector<int> out_mat_vhk = {0, 8};
496 std::vector<int> out_mat_vxck = {0, 8};
497 std::vector<int> out_mat_exxk = {0, 8};
498 std::vector<int> out_mat_h_vnl = {0, 8};
499 std::vector<int> out_mat_h_vl = {0, 8};
500 std::vector<int> out_mat_h_vh = {0, 8};
501 std::vector<int> out_mat_h_vxc = {0, 8};
502 std::vector<int> out_mat_h_exx = {0, 8};
503 std::vector<int> out_mat_dh = {0, 8};
504 std::vector<int> out_mat_dh_t = {0, 8};
505 std::vector<int> out_mat_dh_vl = {0, 8};
506 std::vector<int> out_mat_dh_vnl = {0, 8};
507 std::vector<int> out_mat_dh_vh = {0, 8};
508 std::vector<int> out_mat_dh_vxc = {0, 8};
509 std::vector<int> out_mat_ds = {0, 8};
510 std::vector<int> out_mat_xc = {0, 8};
512 std::vector<int> out_mat_xc2 = {0, 8};
513 bool out_eband = false;
515 bool out_hr_npz = false;
516 bool out_hsr_npz = false;
517 bool out_dm_npz = false;
518 int out_app_flag = 0;
522 std::vector<int> out_mat_t = {0, 8};
523 bool out_element_info = false;
524 std::vector<int> out_mat_r = {0, 8};
525 int out_wfc_lcao = 0;
526 bool out_dipole = false;
527 bool out_efield = false;
528 int out_current = 0;
529 bool out_current_k = false;
530 bool out_vecpot = false;
531 std::vector<int> cal_symm_repr = {0, 3};
532 bool restart_save = false;
533 bool rpa = false;
534 bool rpa_out_vel = false;
535 std::string rpa_outdir = "OUT.librpa";
536 std::vector<int> out_pchg = {};
537 std::vector<int> out_wfc_norm = {};
538 std::vector<int> out_wfc_re_im = {};
539 bool if_separate_k = false;
540 std::vector<int> out_elf = {0, 3};
541 int out_spillage = 0;
542 std::string spillage_outdir = "./";
543
544 // ============== #Parameters (12.Postprocess) ===========================
545 double dos_emin_ev = -15.0;
546 double dos_emax_ev = 15.0;
547 double dos_edelta_ev = 0.03;
548 double dos_scale = 0.01;
549 double dos_sigma = 0.07;
550 int dos_nche = 100;
551 std::vector<double> stm_bias = {1.0, 0.1, 1};
552 std::vector<double> ldos_line
553 = {0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 100};
554
555 bool cal_cond = false;
556 double cond_che_thr = 1e-8;
558 double cond_dw = 0.1;
559 double cond_wcut = 10;
560 double cond_dt = 0.02;
561 int cond_dtbatch = 0;
562 int cond_smear = 1;
563 double cond_fwhm = 0.4;
564 bool cond_nonlocal = true;
565 bool cond_mgga_vel = true;
566
567 bool berry_phase = false;
568 int gdir = 3;
570
574 bool towannier90 = false;
576 std::string nnkpfile = "seedname.nnkp";
578 std::string wannier_spin = "up";
581 bool out_wannier_mmn = true;
582 bool out_wannier_amn = true;
583 bool out_wannier_unk = false;
584 bool out_wannier_eig = true;
585 bool out_wannier_spn = false;
587
588 // ============== #Parameters (13.Model) ===========================
589 // ==========================================================
590 // efield and dipole correction
591 // Yu Liu add 2022-05-18
592 // ==========================================================
593 bool efield_flag = false;
594 bool dip_cor_flag = false;
595 int efield_dir = 2;
596 double efield_pos_max = -1;
598 double efield_pos_dec = -1;
599 double efield_amp = 0;
600
601 // ==========================================================
602 // gatefield (compensating charge)
603 // Yu Liu add 2022-09-13
604 // ==========================================================
605 bool gate_flag = false;
606 double zgate = 0.5;
607 bool block = false;
608 double block_down = 0.45;
609 double block_up = 0.55;
610 double block_height = 0.1;
611
612 // implicit solvation model Menglin Sun added on 2022-04-04
613 int imp_sol = 0;
614 double eb_k = 80;
615 double tau = 1.0798e-05;
616 double sigma_k = 0.6;
617 double nc_k = 0.00037;
618 std::string sccs_preset = "custom";
619 double sccs_epsilon = 1.0; // Environ env_static_permittivity default
620 double sccs_rho_min = 1e-4;
621 double sccs_rho_max = 5e-3;
622 double sccs_gamma = 0.0; // dyn/cm
623 double sccs_pressure = 0.0; // GPa
624 int sccs_maxiter = 200;
625 double sccs_tol_rms = 1e-10;
626 double sccs_tol_max = 1e-8;
627 double sccs_surface_eta = 1e-8; // Bohr^-1
628 double sccs_lowpass_p1 = -1.0; // PCC switching-derivative filter slope
629 double sccs_lowpass_p2 = -1.0; // PCC switching-derivative filter offset
630 double sccs_start_drho = 0.0;
632 int sccs_debug = 0; // 0: silent, 1: iteration summary, 2: full diagnostics
633 std::string sccs_solvent_mode = "electronic";
634 std::vector<double> sccs_corespread = {0.5}; // Bohr: one value or one per atom
635 double sccs_solvent_radius = 0.0; // Bohr: solvent-aware cavity, 0 is off
636 double sccs_radial_scale = 2.0; // solvent-aware probe radius over sccs_solvent_radius
637 double sccs_radial_spread = 0.5; // Bohr: erfc spread of the solvent-aware probe
638 double sccs_filling_thr = 0.825; // probe solute fraction that fills a point
639 double sccs_filling_spread = 0.02; // erfc width of the solvent-aware filling
640
641 // ============== #Parameters (14.vdW Correction) ===========================
642 // ==========================================================
643 // vdw
644 // Peize Lin add 2014-03-31, jiyy update 2019-08-01
645 // ==========================================================
646 std::string vdw_method = "none";
647 std::string vdw_s6 = "default";
648 std::string vdw_s8 = "default";
649 std::string vdw_a1 = "default";
650 std::string vdw_a2 = "default";
651 double vdw_d = 20.0;
652 bool vdw_abc = false;
653 std::string vdw_C6_file = "default";
654 std::string vdw_C6_unit = "Jnm6/mol";
655 std::string vdw_R0_file = "default";
656 std::string vdw_R0_unit = "A";
657 std::string vdw_cutoff_type = "radius";
659 std::string vdw_cutoff_radius = "default";
660 std::string vdw_radius_unit = "Bohr";
661 double vdw_cutoff_width2 = 0.05;
662 double vdw_cutoff_width3 = 0.0;
663 double vdw_cn_thr = 40.0;
664 std::string vdw_cn_thr_unit = "Bohr";
665 std::string vdw_d4_xc = "default";
666 std::string vdw_d4_model = "d4";
668
669 // ============== #Parameters (15.exx) ====================
670 // ==========================================================
671 // exx
672 // Peize Lin add 2018-06-20
673 // ==========================================================
674 std::vector<std::string> exx_fock_alpha = {"default"};
675 std::vector<std::string> exx_fock_lambda = {"default"};
677 std::vector<std::string> exx_erfc_alpha = {"default"};
678 std::vector<std::string> exx_erfc_omega = {"default"};
679 bool exx_separate_loop = true;
681 std::string exx_singularity_correction = "default";
682 int exx_hybrid_step = 100;
684 double exx_mixing_beta = 1.0;
685 std::string exx_real_number = "default";
686 std::string device_exx = "cpu";
687 double exx_pca_threshold = 0.0001;
688 double exx_c_threshold = 0.0001;
689 double exx_v_threshold = 0.1;
690 double exx_dm_threshold = 0.0001;
691 double exx_c_grad_threshold = 0.0001;
692 double exx_v_grad_threshold = 0.1;
693 double exx_c_grad_r_threshold = 0.0001;
695 std::string exx_ccp_rmesh_times = "default";
698 double exx_opt_orb_ecut = 0.0;
702 double rpa_ccp_rmesh_times = 10.0;
704 std::string rpa_cut_coulomb = "hard";
705 std::string rpa_cut_radius = "legacy";
706 double rpa_cut_width = 1.091868692359;
707 double exx_cs_inv_thr = -1;
709 double shrink_LU_inv_thr = 1e-6;
710 bool out_ri_cv = false;
711 bool out_unshrinked_v = false;
713 bool exx_coul_moment = false;
714 bool exx_rotate_abfs = false;
716 // ============== #Parameters (16.dft+u) ======================
717 // DFT+U Xin Qu added on 2020-10-29
718 int dft_plus_u = 0;
719 bool dft_plus_dmft = false;
720 bool yukawa_potential = false;
721 double yukawa_lambda = -1.0;
722 double uramping_eV = -1.0;
723 int init_occ_mat = 0;
726 int omc = 0;
727 double onsite_radius = 0.0;
728 std::vector<double> hubbard_u_eV = {};
729 std::vector<int> l_channel = {};
731
732 // ============== #Parameters (17.non-collinear spin-constrained DFT) =========
737 bool sc_mag_switch = false;
739 bool decay_grad_switch = false;
741 double sc_thr = 1e-06;
742 int nsc = 100;
743 int nsc_min = 2;
744 double alpha_trial = 0.01;
745 double sccut = 3.0;
746 double sc_scf_thr = 1e-3;
747 double sc_drop_thr = 1e-3;
749 = "bfgs";
750 bool sc_direction_only = false;
751 // linear_scan parameters
752 double sc_scan_lambda_start = 0.0;
753 double sc_scan_lambda_end = 1.0;
754 int sc_scan_steps = 20;
755
756 // ============== #Parameters (18.Quasiatomic Orbital analysis) =========
760 bool qo_switch = false;
761 std::string qo_basis = "szv";
763 double qo_thr = 1e-06;
764 std::vector<std::string> qo_strategy = {};
765 std::vector<double> qo_screening_coeff = {};
766
767 // ============== #Parameters (19.PEXSI) =====================
768 int pexsi_npole = 40;
769 bool pexsi_inertia = true;
770 int pexsi_nmax = 80;
771 bool pexsi_comm = true;
772 bool pexsi_storage = true;
775 int pexsi_nproc = 1;
776 bool pexsi_symm = true;
777 bool pexsi_trans = false;
780 double pexsi_temp = 0.015;
781 double pexsi_gap = 0;
782 double pexsi_delta_e = 20.0;
783 double pexsi_mu_lower = -10;
784 double pexsi_mu_upper = 10;
785 double pexsi_mu = 0.0;
786 double pexsi_mu_thr = 0.05;
787 double pexsi_mu_expand = 0.3;
788 double pexsi_mu_guard = 0.2;
789 double pexsi_elec_thr = 0.001;
790 double pexsi_zero_thr = 1e-10;
791
792 // ============== #Parameters (20.Test) ====================
793 bool out_alllog = false;
794 int nurse = 0;
795 bool t_in_h = true;
796 bool vl_in_h = true;
797 bool vnl_in_h = true;
798 bool vh_in_h = true;
799 bool vion_in_h = true;
801 bool test_force = false;
802 bool test_stress = false;
803 bool test_skip_ewald = false;
804 int test_atom_input = false;
805 int test_symmetry = false;
806 int test_wf = 0;
807 int test_grid = false;
808 int test_charge = false;
809 int test_energy = false;
810 int test_gridt = false;
811 int test_pseudo_cell = false;
812 int test_pp = 0;
813 int test_relax_method = false;
814 int test_deconstructor = false;
815
816 // ============== #Parameters (21.RDMFT) =====================
817 // RDMFT jghan added on 2024-07-06
818 bool rdmft = false; // rdmft, reduced density matrix funcional theory
819 double rdmft_power_alpha = 0.656; // the alpha parameter of power-functional, g(occ_number) = occ_number^alpha
820 // double rdmft_wp22_omega; // the omega parameter of wp22-functional = exx_erfc_omega
821
822 // ============== #Parameters (22.EXX PW) =====================
823 // EXX for planewave basis, rhx0820 2025-03-10
824 bool exxace = true; // exxace, exact exchange for planewave basis, https://doi.org/10.1021/acs.jctc.6b00092
825 bool exx_gamma_extra = true; // gamma point extrapolation for exx, https://doi.org/10.1103/PhysRevB.79.205114
826 std::string exx_thr_type = "density";
827 double exx_ene_thr = 1e-5;
828 double ecutexx = 0.0;
830
831 // ==== #Parameters (23.XC external parameterization) ========
832 /*
833 * the following two sets of parameters are for the XC parameterization.
834 * The first element should be the LibXC id, to assign the analytical
835 * form of the eXchange and Correlation part of the functional.
836 *
837 * Starting from the second parameter, the parameters are the coefficients
838 * of the functional. For example the M06-L functional, one should refer
839 * to the source file (source code of LibXC)
840 *
841 * src/mgga_x_m06l.c
842 *
843 * the implementation can be found in the file
844 *
845 * src/maple2c/mgga_exc/mgga_x_m06l.c.
846 *
847 * There are 18 parameters for the exchange part, so the whole length of
848 * the xc_exch_ext should be 19. (MGGA_X_M06L, id = 203)
849 *
850 * Likewise, the correlation part can be found in corresponding files.
851 *
852 * These vectors are empty unless the user explicitly requests an
853 * override. This leaves the version-specific default parameters under
854 * Libxc's control.
855 */
856 std::vector<double> xc_exch_ext = {};
857 std::vector<double> xc_corr_ext = {};
858
859 // ============== #Parameters (24.td-ofdft) ===========================
860 bool of_cd = false;
861 double of_mCD_alpha = 1.0;
862
863 // ============== #Parameters (25.uncommon hardware) ==================
864 int dsp_count = 4;
865};
866#endif
3 elements vector
Definition vector3.h:21
Reduced Density Matrix Functional Theory (RDMFT).
Definition rdmft.cpp:29
Definition input_parameter.h:13
bool noncolin
using non-collinear-spin
Definition input_parameter.h:139
double sccs_radial_spread
Definition input_parameter.h:637
bool bse_ri_hartree
whether to use RI approximation for Hartree term in BSE
Definition input_parameter.h:430
double lcao_dr
dr used in two center integral
Definition input_parameter.h:149
bool out_alllog
output all logs.
Definition input_parameter.h:793
double relax_bfgs_w2
wolfe condition 2
Definition input_parameter.h:185
double exx_opt_orb_tolerence
Definition input_parameter.h:699
std::string ri_hartree_benchmark
Definition input_parameter.h:424
bool test_skip_ewald
variables for test only
Definition input_parameter.h:803
int sccs_debug
Definition input_parameter.h:632
std::vector< int > of_ml_tanhxi_nl
Descriptor: tanhxi_nl = int{tanhxi(r') * w(r-r') dr'}.
Definition input_parameter.h:270
bool mixing_tau
whether to mix tau in mgga
Definition input_parameter.h:123
bool relax
allow relaxation along the specific direction
Definition input_parameter.h:173
int deepks_v_delta
for v_delta label. xuan added
Definition input_parameter.h:307
int nocc
the number of occupied orbitals to form the 2-particle basis
Definition input_parameter.h:414
std::string sccs_preset
Definition input_parameter.h:618
int nurse
used for debug.
Definition input_parameter.h:794
double dfpt_kerker_a2
Kerker screening parameter a^2 in 1/lat0^2 (kerker only).
Definition input_parameter.h:459
int plot_istate
the index of excited state to be plotted (starting from 0)
Definition input_parameter.h:437
std::vector< double > td_gauss_t0
Definition input_parameter.h:370
double erf_height
the height of the energy step for reciprocal vectors
Definition input_parameter.h:48
double lcao_ecut
ecut of two center integral
Definition input_parameter.h:147
double bessel_descriptor_tolerence
tolerance for spherical bessel root
Definition input_parameter.h:315
bool out_wannier_spn
output formatted spin matrices for Wannier90
Definition input_parameter.h:585
int out_librpa_ver
0: legacy ABACUS LibRPA text files; 1: LibRPA reader-v1 binary files
Definition input_parameter.h:712
bool exx_gamma_extra
Definition input_parameter.h:825
bool out_mul
qifeng add 2019-9-10
Definition input_parameter.h:479
std::vector< double > td_supsine_freq
time(fs)^-1
Definition input_parameter.h:395
std::string relax_method
geometry optimization method
Definition input_parameter.h:167
std::string gint_precision
Definition input_parameter.h:79
double td_lcut2
Definition input_parameter.h:363
double emin_sto
Emin to normalize H.
Definition input_parameter.h:287
double alpha_trial
initial trial step size for lambda in eV/uB^2
Definition input_parameter.h:744
bool out_wannier_amn
output .amn file or not
Definition input_parameter.h:582
std::vector< double > td_supsine_phase
rad
Definition input_parameter.h:396
std::vector< double > abs_wavelen_range
the range of wavelength(nm) to output the absorption spectrum
Definition input_parameter.h:421
std::vector< int > out_mat_h_vnl
legacy alias for out_mat_vnlk
Definition input_parameter.h:498
int nvirt
the number of virtual orbitals to form the 2-particle basis (nocc + nvirt <= nbands)
Definition input_parameter.h:415
std::vector< double > td_trape_amp
Definition input_parameter.h:380
std::vector< int > out_mat_xc
Definition input_parameter.h:510
std::vector< std::string > exx_erfc_omega
range-separation parameter in HSE functional
Definition input_parameter.h:678
double block_height
height of the block
Definition input_parameter.h:610
int lin_maxiter
maximum iterations per linear solve
Definition input_parameter.h:336
double tau
the effective surface tension parameter
Definition input_parameter.h:615
double cond_che_thr
Definition input_parameter.h:556
bool bessel_nao_smooth
spherical bessel smooth or not
Definition input_parameter.h:158
std::string rpa_cut_coulomb
post-SCF cut kernel: hard or log_erfc
Definition input_parameter.h:704
std::vector< int > of_ml_tanh_qnl
Descriptor: tanh_qnl = tanh(chi_qnl * qnl).
Definition input_parameter.h:272
std::vector< double > td_trigo_phase2
Definition input_parameter.h:386
std::string latname
lattice name
Definition input_parameter.h:37
std::vector< int > out_wfc_norm
specify the bands to be calculated for norm of wfc
Definition input_parameter.h:537
double lcao_rmax
rmax(a.u.) to make table.
Definition input_parameter.h:150
std::string ks_solver
xiaohui add 2013-09-01
Definition input_parameter.h:83
std::string calculation
Definition input_parameter.h:20
double efield_pos_dec
zone in the unit cell where the saw-like potential decreases
Definition input_parameter.h:598
std::string td_out_mag
RT-TDDFT spinor magnetic moment partition.
Definition input_parameter.h:328
bool of_ml_gene_data
Generate training data or not.
Definition input_parameter.h:244
int fft_mode
fftw mode 0: estimate, 1: measure, 2: patient, 3: exhaustive
Definition input_parameter.h:50
double mixing_restart
Definition input_parameter.h:116
std::vector< double > td_trape_t3
Definition input_parameter.h:379
bool fixed_ibrav
Definition input_parameter.h:190
std::string lr_degen_mode
what a relaxation follows when the target state sits in a degenerate multiplet: state / average
Definition input_parameter.h:411
bool mixing_dmr
whether to mix real space density matrix
Definition input_parameter.h:125
int nbspline
the order of B-spline basis(>=0) if it is -1 (default)
Definition input_parameter.h:71
int seed_sto
random seed for sDFT
Definition input_parameter.h:289
double of_tolp
Definition input_parameter.h:219
double dos_sigma
pengfei 2014-10-13
Definition input_parameter.h:549
int dsp_count
count of DSP hardwares in one node
Definition input_parameter.h:864
std::string of_kinetic
Kinetic energy functional, such as TF, VW, WT, TF+.
Definition input_parameter.h:213
std::vector< int > out_mat_dh_vnl
output nonlocal pseudopotential dH/dR (dV^NL/dR) matrices
Definition input_parameter.h:506
double lcao_sk_cut
relative cutoff for AO overlap eigenvalues
Definition input_parameter.h:84
bool fixed_atoms
whether to fix atoms during vc-relax
Definition input_parameter.h:192
int td_scf_nmax
SCF limit per real-time propagation attempt, independent of initial-state SCF.
Definition input_parameter.h:323
std::vector< std::string > exx_fock_alpha
fraction of Fock exchange 1/r in hybrid functionals
Definition input_parameter.h:674
double cond_wcut
cutoff \omega for conductivities
Definition input_parameter.h:559
int td_tend
Definition input_parameter.h:358
int gdir
Definition input_parameter.h:568
std::vector< double > of_ml_chi_xi
Hyperparameter: tanhpxi = tanh(chi_xi * xi).
Definition input_parameter.h:275
int pexsi_npole
Definition input_parameter.h:768
double exx_ene_thr
threshold when exx_thr_type = energy
Definition input_parameter.h:827
double onsite_radius
radius of the sphere for onsite projection (Bohr)
Definition input_parameter.h:727
std::vector< double > koffset
koffset for kspacing-generated k-point mesh
Definition input_parameter.h:73
double pseudo_rcut
cut-off radius for calculating msh
Definition input_parameter.h:94
bool pexsi_trans
Definition input_parameter.h:777
int nz
three dimension of FFT wavefunc
Definition input_parameter.h:43
bool exx_symmetry_realspace
whether to reduce the real-space sector in when using symmetry=1 in EXX calculation
Definition input_parameter.h:701
double vdw_cutoff_width3
smooth cutoff width for three-body dispersion, Bohr
Definition input_parameter.h:662
bool test_force
test the force.
Definition input_parameter.h:801
int cond_dtbatch
exp(iH*dt*cond_dtbatch) is expanded with Chebyshev expansion.
Definition input_parameter.h:561
int by
Definition input_parameter.h:152
double erf_ecut
the value of the constant energy cutoff
Definition input_parameter.h:47
double lr_thr
convergence threshold of the LR-TDDFT eigensolver
Definition input_parameter.h:418
double yukawa_lambda
default: -1.0, which means we calculate lambda
Definition input_parameter.h:721
std::string symmetry
Definition input_parameter.h:29
double pexsi_mu_expand
Definition input_parameter.h:787
double of_extwt_kappa
parameter kappa of EXT-WT KEDF
Definition input_parameter.h:225
bool td_out_spincur
Output the macroscopic spin angular momentum current.
Definition input_parameter.h:330
bool out_hsr_npz
output H(R) and S(R) matrices in npz format
Definition input_parameter.h:516
double exx_pca_threshold
threshold to screen on-site ABFs in exx
Definition input_parameter.h:687
std::string lr_solver
the eigensolver for LR-TDDFT
Definition input_parameter.h:417
int td_edm
0: new edm method 1: old edm method
Definition input_parameter.h:344
bool out_dm_npz
output DM(R) matrix in npz format
Definition input_parameter.h:517
bool of_ml_p
Descriptor: p = |nabla rho|^2 / [2 (3 pi^2)^(1/3) rho^(4/3)]^2.
Definition input_parameter.h:257
int pexsi_nmax
Definition input_parameter.h:770
std::vector< double > td_trigo_freq2
Definition input_parameter.h:384
double mixing_gg0_mag
Definition input_parameter.h:120
bool out_dipole
output the dipole or not
Definition input_parameter.h:526
bool deepks_scf
Definition input_parameter.h:303
int nstream
Number of streams in CUDA as per input data.
Definition input_parameter.h:154
std::string orbital_dir
directory of orbital file
Definition input_parameter.h:65
std::string out_level
control the output information.
Definition input_parameter.h:481
std::string read_file_dir
directory of files for reading
Definition input_parameter.h:66
int lr_nstates
the number of 2-particle states to be solved
Definition input_parameter.h:406
double cell_factor
LiuXh add 20180619.
Definition input_parameter.h:46
std::vector< int > out_xc_r
output xc(r). -1: no; >=0: output the order of xc(r)
Definition input_parameter.h:472
double pexsi_mu_upper
Definition input_parameter.h:784
double sccs_rho_max
Definition input_parameter.h:621
bool block
add a block potential or not
Definition input_parameter.h:607
int bse_continue
Definition input_parameter.h:435
int bessel_descriptor_lmax
lmax used in descriptor
Definition input_parameter.h:313
int efield_dir
the direction of the electric field or dipole correction
Definition input_parameter.h:595
std::string lin_solver
linear solver for real-time propagation
Definition input_parameter.h:325
std::vector< double > td_heavi_amp
Definition input_parameter.h:391
std::string rpa_cut_radius
legacy radius or BvK inscribed radius
Definition input_parameter.h:705
std::string init_wfc
"file", "atomic", "random", etc.
Definition input_parameter.h:51
std::vector< int > out_mat_l
output L matrix in local basis.
Definition input_parameter.h:490
double sccs_tol_max
Definition input_parameter.h:626
std::vector< int > of_ml_tanh_pnl
Descriptor: tanh_pnl = tanh(chi_pnl * pnl).
Definition input_parameter.h:271
int method_sto
Definition input_parameter.h:281
bool td_out_stat
Output PW real-time conservation diagnostics.
Definition input_parameter.h:327
bool pseudo_mesh
Definition input_parameter.h:95
std::vector< double > of_ml_kernel_scaling
Scaling parameter of kernel, w(r-r') = lambda^3 * w(lambda (r-r')), lambda = 1/scaling.
Definition input_parameter.h:252
bool out_wannier_mmn
add by renxi for wannier90: output .mmn file or not
Definition input_parameter.h:581
double relax_bfgs_w1
wolfe condition 1
Definition input_parameter.h:184
std::string vdw_R0_unit
unit of R0, A or Bohr
Definition input_parameter.h:656
int dfpt_max_iter
max iterations of the DFPT first-order density mixing
Definition input_parameter.h:453
bool out_bandgap
QO added for bandgap printing.
Definition input_parameter.h:484
std::vector< double > of_ml_chi_qnl
Hyperparameter: tanh_qnl = tanh(chi_qnl * qnl).
Definition input_parameter.h:277
std::string dfpt_qfile
file containing the DFPT q-point list; empty means dfpt_qmesh
Definition input_parameter.h:448
std::vector< int > out_mat_exxk
output exact-exchange Vexx(k) matrix
Definition input_parameter.h:497
std::string lin_precond
right preconditioner for PW propagation
Definition input_parameter.h:334
std::string device_xc
Device for Libxc LDA/GGA potential evaluation.
Definition input_parameter.h:91
std::vector< int > cal_syns
calculate asynchronous S matrix to output {enable, precision}
Definition input_parameter.h:208
bool of_read_kernel
Definition input_parameter.h:236
std::vector< int > dfpt_qmesh
Monkhorst-Pack q mesh for DFPT (gamma-centered).
Definition input_parameter.h:447
bool vion_in_h
Definition input_parameter.h:799
std::vector< double > hubbard_u_eV
Hubbard Coulomb interaction parameter U(ev).
Definition input_parameter.h:728
bool td_vext
add extern potential or not
Definition input_parameter.h:338
int test_grid
variables for test_grid only
Definition input_parameter.h:807
int scf_thr_type
type of the criterion of scf_thr, 1: reci drho, 2: real drho
Definition input_parameter.h:131
double cond_dt
dt to integrate conductivities
Definition input_parameter.h:560
std::vector< int > out_mat_dh
output dH/dR matrices with precision
Definition input_parameter.h:503
double sccs_pressure
Definition input_parameter.h:623
double abs_broadening
the broadening (eta) for LR-TDDFT absorption spectrum
Definition input_parameter.h:422
double sccs_rho_min
Definition input_parameter.h:620
bool out_vecpot
output the vector potential or not
Definition input_parameter.h:530
bool qo_switch
0: no QO analysis; 1: QO analysis
Definition input_parameter.h:760
bool pexsi_storage
Definition input_parameter.h:772
double exx_c_grad_r_threshold
threshold to screen nabla C * R matrix in exx
Definition input_parameter.h:693
double relax_bfgs_init
initial move
Definition input_parameter.h:188
bool restart_save
restart //Peize Lin add 2020-04-04
Definition input_parameter.h:532
int out_wfc_lcao
output the wave functions in local basis.
Definition input_parameter.h:525
double of_tf_weight
weight of TF KEDF
Definition input_parameter.h:221
std::vector< int > of_ml_qnl
Descriptor: qnl = int{q(r') * w(r-r') dr'}.
Definition input_parameter.h:267
int deepks_out_freq_elec
Definition input_parameter.h:300
std::vector< int > out_mat_vhk
output Hartree Vh(k) matrix
Definition input_parameter.h:495
std::string rpa_outdir
output directory for librpa
Definition input_parameter.h:535
std::vector< double > of_ml_yukawa_alpha
Parameter alpha of yukawa kernel.
Definition input_parameter.h:253
int diago_cg_prec
mohan add 2012-03-31
Definition input_parameter.h:103
bool out_element_info
output information of all elements
Definition input_parameter.h:523
bool out_wfc_lr
whether to output the eigenvectors (excitation amplitudes) in the particle-hole basis
Definition input_parameter.h:419
std::string vdw_cutoff_radius
radius cutoff for periodic structure
Definition input_parameter.h:659
bool symmetry_autoclose
Definition input_parameter.h:31
std::vector< double > td_trape_t2
Definition input_parameter.h:378
bool efield_flag
add electric field
Definition input_parameter.h:593
int dft_plus_u
0: standard DFT calculation (default)
Definition input_parameter.h:718
double sccs_tol_rms
Definition input_parameter.h:625
int pexsi_nproc
Definition input_parameter.h:775
bool of_ml_gamma
Descriptor: gamma = (rho / rho0)^(1/3).
Definition input_parameter.h:256
int td_max_halvings
Maximum depth of PW real-time interval bisection; zero disables retries.
Definition input_parameter.h:322
std::string chg_extrap
xiaohui modify 2015-02-01
Definition input_parameter.h:56
int nx
Definition input_parameter.h:43
int pexsi_row_ordering
Definition input_parameter.h:774
std::string exx_real_number
exx calculated in real or complex
Definition input_parameter.h:685
double sccs_surface_eta
Definition input_parameter.h:627
std::vector< double > ldos_line
start and end point of the line (direct coordinates) and number of points
Definition input_parameter.h:553
bool berry_phase
berry phase calculation: calculate berry phase or not
Definition input_parameter.h:567
int exx_batch_size
band chunk width of the EXX batched path, 0 = all bands
Definition input_parameter.h:829
double sccs_filling_thr
Definition input_parameter.h:638
int pcc_2d_axis
open lattice vector for PCC 2D
Definition input_parameter.h:39
int mixing_ndim
used in Broyden method
Definition input_parameter.h:115
std::vector< int > out_pchg
specify the bands to be calculated for partial charge
Definition input_parameter.h:536
std::vector< int > out_mat_xc2
output Vxc(R) matrix with precision
Definition input_parameter.h:512
int gga_grad
Noncollinear GGA: 0 original, 1 local axis, 2 regularized mapped-density LCA.
Definition input_parameter.h:92
bool if_separate_k
whether to write partial charge for all k-points to individual files or merge them
Definition input_parameter.h:539
bool cal_cond
calculate electronic conductivities
Definition input_parameter.h:555
int bx
Definition input_parameter.h:152
double exx_mixing_beta
mixing_beta for outer-loop when exx_separate_loop=1
Definition input_parameter.h:684
std::vector< int > out_mat_h_exx
legacy alias for out_mat_exxk
Definition input_parameter.h:502
bool ocp
Definition input_parameter.h:401
std::string vdw_s8
scale parameter of d3_0/d3_bj
Definition input_parameter.h:648
std::string init_chg
"file","atomic"
Definition input_parameter.h:54
double relax_cg_thr
threshold when cg to bfgs, pengfei add 2011-08-15
Definition input_parameter.h:176
int pexsi_ordering
Definition input_parameter.h:773
bool init_vel
read velocity from STRU or not liuyu 2021-07-14
Definition input_parameter.h:57
double xc_temperature
only relevant if finite temperature functional is used
Definition input_parameter.h:93
int out_wfc_pw
0: no; 1: txt; 2: dat
Definition input_parameter.h:475
bool dip_cor_flag
dipole correction
Definition input_parameter.h:594
double vdw_d
damping parameter of d2
Definition input_parameter.h:651
MD_para mdp
Definition input_parameter.h:195
bool lin_reconstruct
Explicit GMRES residual reconstruction with periodic audits.
Definition input_parameter.h:333
double cond_fwhm
FWHM for conductivities.
Definition input_parameter.h:563
bool uses_simultaneous_relaxation() const
Definition input_parameter.h:169
double force_zero_out
invalid force threshold, mohan add 2011-04-17
Definition input_parameter.h:179
bool of_ml_tanhq
Descriptor: tanhq = tanh(chi_q * q).
Definition input_parameter.h:260
std::vector< std::string > exx_fock_lambda
Definition input_parameter.h:675
int sccs_start_nmax
Definition input_parameter.h:631
std::vector< double > td_trape_freq
time(fs)^-1
Definition input_parameter.h:374
int estep_per_md
number of electronic steps per MD step
Definition input_parameter.h:324
double press2
Definition input_parameter.h:182
double mixing_gg0_min
Definition input_parameter.h:121
std::vector< double > ocp_kb
OCP kb values.
Definition input_parameter.h:403
double ecutwfc
energy cutoff for wavefunctions
Definition input_parameter.h:40
int bndpar
parallel for stochastic/deterministic bands
Definition input_parameter.h:36
int dfthalf_type
DFT-1/2 type, 0:off, 1:shell DFT-1/2.
Definition input_parameter.h:142
std::vector< int > l_channel
need correction:-1
Definition input_parameter.h:729
int ndz
three dimension of FFT smooth charge density
Definition input_parameter.h:44
bool deepks_out_unittest
Definition input_parameter.h:309
std::vector< int > out_mat_hs
legacy alias for text H(k) and S(k) output
Definition input_parameter.h:488
double sccs_gamma
Definition input_parameter.h:622
int of_ml_feg
The Free Electron Gas limit: 0: no, 3: yes.
Definition input_parameter.h:247
double force_thr_ev
threshold of force in unit (eV/Angstrom)
Definition input_parameter.h:178
std::string vdw_C6_file
filename of C6
Definition input_parameter.h:653
int kpar
ecch pool is for one k point
Definition input_parameter.h:35
double scf_os_thr
drho threshold for oscillation
Definition input_parameter.h:134
bool timer_enable_nvtx
Definition input_parameter.h:80
std::string vdw_cutoff_type
Definition input_parameter.h:657
double sccs_lowpass_p1
Definition input_parameter.h:628
double exx_cs_inv_thr
threshold to inverse Vq in abfs for generating Cs
Definition input_parameter.h:707
bool init_vecpot
initialize the vector potential, though file or integral
Definition input_parameter.h:342
std::string lobpcg_locking
hard freezes converged vectors; soft keeps them in RR
Definition input_parameter.h:102
std::vector< int > td_vext_dire
vector of vext direction
Definition input_parameter.h:340
int out_freq_elec
the frequency of electronic iter to output charge and wavefunction
Definition input_parameter.h:465
std::vector< int > of_ml_pnl
Descriptor: pnl = int{p(r') * w(r-r') dr'}.
Definition input_parameter.h:266
std::string td_exp_method
PW ETRS exponential backend.
Definition input_parameter.h:346
bool use_k_continuity
whether to use k-point continuity for initializing wave functions
Definition input_parameter.h:105
std::vector< int > of_ml_tanhxi
Descriptor: tanhxi = tanh(chi_xi * xi).
Definition input_parameter.h:269
double erf_sigma
the width of the energy step for reciprocal vectors
Definition input_parameter.h:49
bool of_cd
add CD potential or not
Definition input_parameter.h:860
std::vector< int > out_mat_h_vxc
legacy alias for out_mat_vxck
Definition input_parameter.h:501
double ref_cell_factor
Definition input_parameter.h:206
double of_lkt_a
parameter a of LKT KEDF
Definition input_parameter.h:231
int pexsi_nproc_pole
Definition input_parameter.h:779
double lcao_dk
delta k used in two center integral
Definition input_parameter.h:148
std::vector< int > of_ml_xi
Descriptor: xi = int{rho(r')^(1/3) * w(r-r') dr'} / rho^(1/3).
Definition input_parameter.h:268
double sccs_lowpass_p2
Definition input_parameter.h:629
std::string vdw_a1
damping parameter of d3_0/d3_bj
Definition input_parameter.h:649
double nc_k
the cut-off charge density
Definition input_parameter.h:617
int diag_subspace
Definition input_parameter.h:104
std::vector< double > xc_exch_ext
Definition input_parameter.h:856
std::string dft_functional
input DFT functional.
Definition input_parameter.h:90
int td_tstart
Definition input_parameter.h:357
int bse_use_fine_kgrid
0: coarse k-grid; 1: uniform fine k-grid; 2: non-uniform fine k-grid
Definition input_parameter.h:431
double lr_degen_thr
max excitation-energy spread of a degenerate multiplet whose gradient matrix is computed (Ry); 0 disa...
Definition input_parameter.h:410
double pw_diag_thr
used in cg method
Definition input_parameter.h:99
double pexsi_elec_thr
Definition input_parameter.h:789
double exx_c_grad_threshold
threshold to screen nabla C matrix in exx
Definition input_parameter.h:691
double ecutrho
energy cutoff for charge/potential
Definition input_parameter.h:41
double symmetry_prec
LiuXh add 2021-08-12, accuracy for symmetry.
Definition input_parameter.h:30
int sccs_maxiter
Definition input_parameter.h:624
std::vector< double > td_gauss_freq
time(fs)^-1
Definition input_parameter.h:367
std::string assume_isolated
isolated-system correction
Definition input_parameter.h:38
double td_print_eij
threshold to output Eij elements
Definition input_parameter.h:343
bool of_ml_tanhp
Descriptor: tanhp = tanh(chi_p * p).
Definition input_parameter.h:259
bool exx_coul_moment
whether to use moment method for Coulomb calculation
Definition input_parameter.h:713
double relax_bfgs_rmax
trust radius max
Definition input_parameter.h:186
double cond_dw
d\omega for conductivities
Definition input_parameter.h:558
std::vector< int > out_mat_vlk
output local pseudopotential Vl(k) matrix
Definition input_parameter.h:494
int elpa_num_thread
Number of threads need to use in elpa.
Definition input_parameter.h:153
std::vector< int > out_mat_hs2
legacy alias for text H(R) and S(R) output
Definition input_parameter.h:491
std::vector< std::string > bse_spin_types
spin types for close-shell case to be calculated
Definition input_parameter.h:428
std::vector< double > td_trape_t1
Definition input_parameter.h:377
bool cal_force
calculate the force
Definition input_parameter.h:33
double pexsi_gap
Definition input_parameter.h:781
std::vector< int > td_supsine_tstart
Definition input_parameter.h:398
std::vector< int > of_ml_tanhq_nl
Descriptor: tanhq_nl = int{tanhq(r') * w(r-r') dr'}.
Definition input_parameter.h:274
double stress_thr
Pengfei Li 2017-11-01 ///<LiuXh update 20180515.
Definition input_parameter.h:180
std::string vdw_method
the method of calculating vdw (none; d2; d3_0; d3_bj; d4)
Definition input_parameter.h:646
int out_app_flag
Definition input_parameter.h:518
std::string vdw_s6
scale parameter of d2/d3_0/d3_bj
Definition input_parameter.h:647
bool td_out_torque
Output XC and SOC spin angular momentum torques.
Definition input_parameter.h:329
double pexsi_mu
Definition input_parameter.h:785
int propagator
method of propagator
Definition input_parameter.h:345
bool out_eband_terms_compat
legacy alias out_eband_terms for out_eband
Definition input_parameter.h:514
double relax_bfgs_rmin
trust radius min
Definition input_parameter.h:187
bool out_wannier_unk
output UNK. file or not
Definition input_parameter.h:583
std::vector< std::string > qo_strategy
No specific values provided for qo_strategy.
Definition input_parameter.h:764
std::vector< double > td_gauss_amp
V/A.
Definition input_parameter.h:371
std::string lr_target_spin
nspin=1 LR channel, or relaxation target at nspin=2: singlet / triplet / updown
Definition input_parameter.h:408
double of_xwm_kappa
The parameter kappa of XWM KEDF.
Definition input_parameter.h:240
double search_radius
11.1
Definition input_parameter.h:151
bool t_in_h
calculate the T or not.
Definition input_parameter.h:795
double dos_scale
Definition input_parameter.h:548
int of_full_pw_dim
Definition input_parameter.h:234
std::string deepks_model
needed when deepks_scf=1
Definition input_parameter.h:311
std::vector< int > out_chg
output charge density. 0: no; 1: yes
Definition input_parameter.h:469
double initsto_ecut
maximum ecut to init stochastic bands
Definition input_parameter.h:290
bool out_wannier_eig
output .eig file or not
Definition input_parameter.h:584
std::string suffix
suffix of out put dir
Definition input_parameter.h:18
bool cond_mgga_vel
if calculate meta-GGA velocity correction
Definition input_parameter.h:565
double emax_sto
Emax to normalize H.
Definition input_parameter.h:288
std::string vdw_d4_model
DFT-D4 dispersion model (d4 or d4s).
Definition input_parameter.h:666
double of_wt_rho0
set the average density of system, in Bohr^-3
Definition input_parameter.h:227
std::string dfpt_mix_type
mixing scheme: rho_plain | rho_kerker | rho_broyden | v_sc_plain | v_sc_broyden
Definition input_parameter.h:458
int ndy
Definition input_parameter.h:44
std::vector< int > out_mat_dh_t
output kinetic dH/dR (dT/dR) matrices
Definition input_parameter.h:504
std::string xc_kernel
exchange correlation (XC) kernel for LR-TDDFT
Definition input_parameter.h:416
double sccs_solvent_radius
Definition input_parameter.h:635
int test_relax_method
variables for test_relax_method only
Definition input_parameter.h:813
double rpa_ccp_rmesh_times
Definition input_parameter.h:702
double exx_v_grad_r_threshold
threshold to screen nabla V * R matrix in exx
Definition input_parameter.h:694
int exx_hybrid_step
Definition input_parameter.h:682
bool out_bse_ab
whether to output the AB matrix to file
Definition input_parameter.h:434
double vdw_cn_thr
radius cutoff for cn
Definition input_parameter.h:663
int deepks_out_labels
Definition input_parameter.h:298
std::vector< int > exciton_slice_range
cell range: ustart uend vstart vend
Definition input_parameter.h:444
int wannier_method
different implementation methods under Lcao basis set
Definition input_parameter.h:580
std::vector< int > deepks_band_range
the range of bands to calculate bandgap
Definition input_parameter.h:306
std::string sccs_solvent_mode
Definition input_parameter.h:633
std::vector< double > td_heavi_t0
Definition input_parameter.h:390
std::string vdw_C6_unit
unit of C6, Jnm6/mol or eVA6
Definition input_parameter.h:654
std::vector< int > out_ldos
ldos calculation
Definition input_parameter.h:478
double efield_pos_max
Definition input_parameter.h:596
int out_spillage
output the spillage of the wave function
Definition input_parameter.h:541
int nspin
LDA ; LSDA ; non-linear spin.
Definition input_parameter.h:97
int ndx
Definition input_parameter.h:44
double press1
Definition input_parameter.h:181
int mem_saver
1: save psi when nscf calculation.
Definition input_parameter.h:69
double sigma_k
the width of the diffuse cavity
Definition input_parameter.h:616
std::vector< double > td_gauss_sigma
time(fs)
Definition input_parameter.h:369
bool out_hsr_npz_compat
additional NPZ output for the legacy text-plus-NPZ combination
Definition input_parameter.h:487
std::vector< double > kspacing
kspacing for k-point generation
Definition input_parameter.h:72
int out_freq_td_compat
legacy alias out_freq_td for out_freq_ion in RT-TDDFT
Definition input_parameter.h:468
double exciton_slice_pos
offset along perpendicular direction (Bohr) for slice
Definition input_parameter.h:442
int imp_sol
0: vacuum, 1: legacy solvation, 2: SCCS
Definition input_parameter.h:613
std::string device_exx
computing device for LCAO EXX tensor contractions
Definition input_parameter.h:686
bool lr_unrestricted
whether to use the unrestricted construction for LR-TDDFT
Definition input_parameter.h:420
std::string dfpt_asr
acoustic sum rule on the Gamma dynamical matrix: no | simple | crystal
Definition input_parameter.h:457
int dfpt_broyden_ndim
Broyden history depth (broyden variants).
Definition input_parameter.h:460
double relax_scale_force
Definition input_parameter.h:174
int test_atom_input
variables for test_atom_input only
Definition input_parameter.h:804
bool vdw_abc
third-order term?
Definition input_parameter.h:652
std::string nnkpfile
Definition input_parameter.h:576
int out_current
output the current or not
Definition input_parameter.h:528
int bz
big mesh ball. 0: auto set bx/by/bz
Definition input_parameter.h:152
double dos_emin_ev
Definition input_parameter.h:545
double of_ml_chi_p
Hyperparameter: tanhp = tanh(chi_p * p).
Definition input_parameter.h:261
int deepks_bandgap
for bandgap label. QO added 2021-12-15
Definition input_parameter.h:305
int dfpt_lin_max_iter
Sternheimer linear-solver iteration cap; <=0 inherits dfpt_max_iter.
Definition input_parameter.h:455
double rdmft_power_alpha
Definition input_parameter.h:819
int sc_scan_steps
number of steps in lambda scan
Definition input_parameter.h:754
bool socket_driver
run ABACUS as an i-PI socket client
Definition input_parameter.h:23
double exx_dm_threshold
threshold to screen density matrix in exx
Definition input_parameter.h:690
std::string vdw_radius_unit
unit of radius cutoff for periodic structure
Definition input_parameter.h:660
bool diago_smooth_ethr
smooth ethr for iter methods
Definition input_parameter.h:100
int out_freq_ion
Definition input_parameter.h:466
std::vector< std::string > exx_erfc_alpha
fraction of exchange erfc(wr)/r in hybrid functionals
Definition input_parameter.h:677
double scf_thr
\sum |rhog_out - rhog_in |^2
Definition input_parameter.h:129
int lin_gmres_restart
Maximum Arnoldi steps per GMRES cycle.
Definition input_parameter.h:331
double bessel_nao_sigma
spherical bessel smearing_sigma
Definition input_parameter.h:159
std::string wannier_spin
Definition input_parameter.h:578
int test_gridt
variables for test_gridt only
Definition input_parameter.h:810
bool out_wannier_wvfn_formatted
output UNK. file in text format or in binary format
Definition input_parameter.h:586
std::string vdw_a2
rs8 for d3_0 or a2 for d3_bj
Definition input_parameter.h:650
double of_xwm_rho_ref
The reference density of XWM KEDF.
Definition input_parameter.h:241
int test_wf
variables for test_wf only
Definition input_parameter.h:806
std::string precision
Definition input_parameter.h:78
bool test_stress
test the stress.
Definition input_parameter.h:802
double exx_multip_moments_threshold
threshold to screen multipole moments in Coulomb calculation
Definition input_parameter.h:715
bool out_ri_cv
Whether to output the coefficient tensor C and ABFs-representation Coulomb matrix V.
Definition input_parameter.h:710
bool exx_separate_loop
Definition input_parameter.h:679
int td_exp_order
Fixed Taylor polynomial order.
Definition input_parameter.h:347
int init_occ_mat
Definition input_parameter.h:723
double soc_lambda
Definition input_parameter.h:140
double nelec
total number of electrons
Definition input_parameter.h:87
int pw_diag_ndim
dimension of workspace for Davidson diagonalization
Definition input_parameter.h:101
int bse_q_approx_mode
q→kpair mapping mode: 0=exact, 1=coarse q grid, 2=mixed, 3=truncate
Definition input_parameter.h:432
int scf_os_ndim
number of old iterations used for oscillation detection
Definition input_parameter.h:135
std::vector< int > out_pot
output potential
Definition input_parameter.h:473
double of_ml_chi_q
Hyperparameter: tanhq = tanh(chi_q * q).
Definition input_parameter.h:262
double dfpt_mix_beta
mixing coefficient of the DFPT first-order density
Definition input_parameter.h:456
double pexsi_delta_e
Definition input_parameter.h:782
int td_exp_krylov_dim
Maximum Lanczos dimension before frozen-operator subdivision.
Definition input_parameter.h:349
double exx_opt_orb_ecut
the cut-off of plane wave expansion for opt ABFs
Definition input_parameter.h:698
std::string pseudo_dir
directory of pseudopotential
Definition input_parameter.h:64
double press3
Definition input_parameter.h:183
std::string of_conv
Definition input_parameter.h:215
int test_deconstructor
variables for test_deconstructor only
Definition input_parameter.h:814
bool mixing_dftu
whether to mix occ_mat in DFT+U
Definition input_parameter.h:124
bool out_occ_mat
Definition input_parameter.h:470
int relax_nmax
number of max ionic iter
Definition input_parameter.h:175
double pexsi_mu_thr
Definition input_parameter.h:786
bool cal_stress
calculate the stress
Definition input_parameter.h:34
int pexsi_method
Definition input_parameter.h:778
bool scf_os_stop
whether to stop scf when oscillation is detected
Definition input_parameter.h:133
double of_wt_beta
parameter beta of WT KEDF
Definition input_parameter.h:224
int td_stype
type of space domain 0 : length gauge 1: velocity gauge
Definition input_parameter.h:350
double mixing_angle
Definition input_parameter.h:122
bool pexsi_symm
Definition input_parameter.h:776
bool out_proj_band
projected band structure calculation jiyy add 2022-05-11
Definition input_parameter.h:480
std::string deepks_out_base
(need libnpy) base functional for output files
Definition input_parameter.h:302
bool out_eband
output the band energy terms separately
Definition input_parameter.h:513
std::string input_file
input file name
Definition input_parameter.h:59
bool sc_direction_only
only optimize the direction of magnetization
Definition input_parameter.h:750
double pexsi_zero_thr
Definition input_parameter.h:790
int out_stru
Definition input_parameter.h:463
int exciton_slice_npoints
grid points per dimension for slice
Definition input_parameter.h:443
double pexsi_temp
Definition input_parameter.h:780
std::string bse_tda
TDA type can be: "tda", "full", "both".
Definition input_parameter.h:427
std::vector< int > out_mat_t
output T(R) matrix with precision
Definition input_parameter.h:522
double scf_ene_thr
energy threshold for scf convergence, in eV
Definition input_parameter.h:130
std::vector< int > out_mat_dh_vl
output local pseudopotential dH/dR (dV^L/dR) matrices
Definition input_parameter.h:505
double sccut
restriction of step size in eV/uB
Definition input_parameter.h:745
bool exxace
Definition input_parameter.h:824
std::string vdw_R0_file
filename of R0
Definition input_parameter.h:655
double td_lcut1
Definition input_parameter.h:362
double ecutexx
energy cutoff for exx calculation, Ry
Definition input_parameter.h:828
int test_charge
variables for test_vloc only
Definition input_parameter.h:808
std::vector< double > bessel_nao_rcuts
No specific values provided for bessel_nao_rcuts.
Definition input_parameter.h:157
std::string of_ml_device
Run NN on GPU or CPU.
Definition input_parameter.h:246
int omc
legacy alias for init_occ_mat
Definition input_parameter.h:726
std::string qo_basis
Definition input_parameter.h:761
std::vector< int > out_mat_h_t
legacy alias for out_mat_tk (kinetic T(k) matrix)
Definition input_parameter.h:492
std::string of_method
optimization method, include cg1, cg2, tn (default), bfgs
Definition input_parameter.h:214
double of_wt_alpha
parameter alpha of WT KEDF
Definition input_parameter.h:223
std::string stru_file
file contains atomic positions –
Definition input_parameter.h:60
bool lspinorb
consider the spin-orbit interaction
Definition input_parameter.h:138
std::string spillage_outdir
output directory for spillage
Definition input_parameter.h:542
int nche_sto
Definition input_parameter.h:285
int nbands
number of bands
Definition input_parameter.h:86
std::string exciton_plot_type
exciton density plot type: "average" or "conditional"
Definition input_parameter.h:438
double dos_emax_ev
Definition input_parameter.h:546
bool of_hold_rho0
Definition input_parameter.h:228
bool out_unshrinked_v
whether to output the large Vq matrix in unshrinked auxiliary basis
Definition input_parameter.h:711
bool bessel_descriptor_smooth
spherical bessel smooth or not
Definition input_parameter.h:317
int npart_sto
for method_sto = 2, reduce memory
Definition input_parameter.h:283
int scf_nmax
number of max elec iter
Definition input_parameter.h:128
int ntype
number of atom types
Definition input_parameter.h:19
double smearing_sigma
Definition input_parameter.h:111
std::vector< int > cell_replica
xiaohui modify 2015-02-01
Definition input_parameter.h:61
bool yukawa_potential
default: false
Definition input_parameter.h:720
std::vector< int > out_hsr
output H(R) and S(R): format and text precision
Definition input_parameter.h:486
std::vector< int > out_mat_tk
output T(k) matrix in local basis.
Definition input_parameter.h:489
std::string kpoint_file
file contains k-points – xiaohui modify 2015-02-01
Definition input_parameter.h:63
std::vector< int > out_mat_r
output r(R) matrix with precision
Definition input_parameter.h:524
bool cond_nonlocal
if calculate nonlocal effects
Definition input_parameter.h:564
double td_force_dt
"fs"
Definition input_parameter.h:337
std::vector< int > out_mat_h_vh
legacy alias for out_mat_vhk
Definition input_parameter.h:500
bool rpa
rpa calculation
Definition input_parameter.h:533
ModuleBase::Vector3< int > vdw_cutoff_period
periods of periodic structure
Definition input_parameter.h:667
int pw_diag_nmax
Definition input_parameter.h:98
double sc_thr
threshold for spin-constrained DFT in uB
Definition input_parameter.h:741
std::string wannier_card
input card for wannier functions.
Definition input_parameter.h:68
double mixing_beta_mag
Definition input_parameter.h:119
double rpa_cut_width
multiplicative log-erfc width
Definition input_parameter.h:706
double dos_edelta_ev
Definition input_parameter.h:547
std::vector< int > out_dmr
output density matrix in real space DM(R)
Definition input_parameter.h:482
std::vector< double > td_supsine_sigma
Definition input_parameter.h:397
std::vector< std::string > of_ml_kernel_file
The file of TKK.
Definition input_parameter.h:254
bool pexsi_comm
Definition input_parameter.h:771
std::vector< double > td_supsine_amp
V/A.
Definition input_parameter.h:394
std::vector< double > td_trigo_amp
Definition input_parameter.h:387
double force_thr
threshold of force in unit (Ry/Bohr)
Definition input_parameter.h:177
int nsc_min
minimum number of inner lambda loop
Definition input_parameter.h:743
std::vector< double > qo_screening_coeff
No specific values provided for qo_screening_coeff.
Definition input_parameter.h:765
bool vnl_in_h
calculate the vnl or not.
Definition input_parameter.h:797
double mixing_beta
0 : no_mixing
Definition input_parameter.h:114
double sc_scf_thr
minimum number of outer scf loop before initial lambda loop
Definition input_parameter.h:746
std::string exx_ccp_rmesh_times
Definition input_parameter.h:695
std::vector< int > out_mat_dh_vxc
output XC dH/dR (dV^XC/dR) matrices
Definition input_parameter.h:508
double block_down
low bound of the block
Definition input_parameter.h:608
std::vector< int > td_supsine_tend
Definition input_parameter.h:399
std::string vdw_d4_xc
functional name passed to DFT-D4
Definition input_parameter.h:665
double shrink_LU_inv_thr
threshold to get inverse of overlap matrix by LU decomposition in auxiliary basis representation
Definition input_parameter.h:709
std::string exx_singularity_correction
set the scheme of Coulomb singularity correction
Definition input_parameter.h:681
bool vl_in_h
calculate the vloc or not.
Definition input_parameter.h:796
std::string kmesh_type
k-point mesh type for kspacing-generated k-point mesh: gamma or mp
Definition input_parameter.h:74
double exx_v_grad_threshold
threshold to screen nabla V matrix in exx
Definition input_parameter.h:692
bool dfpt_out_dyn
write the raw (pre-ASR, pre-LO-TO) dynamical matrix in QE dyn format
Definition input_parameter.h:451
int test_symmetry
variables for test_lattice only
Definition input_parameter.h:805
std::vector< int > cal_symm_repr
output the symmetry representation matrix
Definition input_parameter.h:531
double of_mCD_alpha
parameter of modified CD potential
Definition input_parameter.h:861
double zgate
position of charged plate
Definition input_parameter.h:606
std::string abs_gauge
optical gauge: length, velocity, or none to skip the spectrum
Definition input_parameter.h:423
double sccs_filling_spread
Definition input_parameter.h:639
std::vector< double > sccs_corespread
Definition input_parameter.h:634
std::vector< double > xc_corr_ext
Definition input_parameter.h:857
double sc_scan_lambda_start
start value for lambda scan (eV/uB)
Definition input_parameter.h:752
double td_exp_thr
Zero selects the precision-dependent exponential tolerance.
Definition input_parameter.h:348
bool rpa_out_vel
whether to output velocity matrix for librpa
Definition input_parameter.h:534
std::vector< double > td_gauss_phase
Definition input_parameter.h:368
bool out_current_k
output tddft current for all k points
Definition input_parameter.h:529
int dos_nche
orders of Chebyshev expansions for dos
Definition input_parameter.h:550
std::string smearing_method
Definition input_parameter.h:107
std::string basis_type
xiaohui add 2013-09-01, for structural adjustment
Definition input_parameter.h:85
double sccs_epsilon
Definition input_parameter.h:619
std::string of_kernel_file
The name of WT kernel file.
Definition input_parameter.h:239
int nsc
maximum number of inner lambda loop
Definition input_parameter.h:742
double efield_amp
amplitude of the electric field
Definition input_parameter.h:599
double dfpt_conv_thr
convergence threshold of the DFPT first-order density
Definition input_parameter.h:452
bool vh_in_h
calculate the hartree potential or not
Definition input_parameter.h:798
std::vector< int > out_dmk
output density matrix in reciprocal space DM(k)
Definition input_parameter.h:483
double sc_scan_lambda_end
end value for lambda scan (eV/uB)
Definition input_parameter.h:753
bool gate_flag
compensating charge or not
Definition input_parameter.h:605
int of_ml_nkernel
Number of kernels.
Definition input_parameter.h:249
std::vector< int > out_dos
DOS/PDOS output: [enable, precision].
Definition input_parameter.h:477
bool out_efield
output the efield or not
Definition input_parameter.h:527
std::vector< int > out_mat_vxck
output XC Vxc(k) matrix
Definition input_parameter.h:496
std::string mixing_mode
"plain","broyden",...
Definition input_parameter.h:113
std::string exciton_slice_plane
cross-section plane for conditional density: "ab", "bc", "ca"
Definition input_parameter.h:441
int cond_smear
smearing method for conductivities 1: Gaussian 2: Lorentzian
Definition input_parameter.h:562
std::string esolver_type
the energy solver: ksdft, sdft, ofdft, tddft, lj, dp, nep, snap
Definition input_parameter.h:24
double of_vw_weight
weight of vW KEDF
Definition input_parameter.h:222
double bse_q_approx_threshold
threshold radius (in unit of 2*pi/lat0) for exact q in mode 2, or |q| truncation in mode 3
Definition input_parameter.h:433
double min_dist_coef
allowed minimum distance between two atoms
Definition input_parameter.h:75
bool dft_plus_dmft
true:DFT+DMFT; false: standard DFT calcullation(default)
Definition input_parameter.h:719
bool dm_to_rho
read density matrix from npz format and calculate charge density
Definition input_parameter.h:55
std::vector< double > td_trape_phase
Definition input_parameter.h:376
double sccs_start_drho
Definition input_parameter.h:630
std::vector< int > of_ml_gammanl
Descriptor: gammanl = int{gamma(r') * w(r-r') dr'}.
Definition input_parameter.h:265
std::vector< int > td_ttype
Definition input_parameter.h:351
double nelec_delta
change in the number of total electrons
Definition input_parameter.h:88
std::string lr_grad_solver
the linear solver of the Z-vector equation for LR-TDDFT gradients: cg / lapack / scalapack / scalapac...
Definition input_parameter.h:412
bool exx_rotate_abfs
whether to rotate auxiliary basis for Coulomb calculation
Definition input_parameter.h:714
int lr_target_state
which excited state the geometry relaxation follows (0-based)
Definition input_parameter.h:407
double lin_thr
zero selects the precision-dependent tolerance
Definition input_parameter.h:335
std::vector< double > td_trigo_freq1
Definition input_parameter.h:383
std::vector< int > out_sol
output the implicit-solvent dielectric function and cavity
Definition input_parameter.h:474
std::string exx_thr_type
threshold type for exx outer loop
Definition input_parameter.h:826
std::vector< int > of_ml_kernel
Type of kernel, 1 for wt, 2 for yukawa, and 3 for TKK.
Definition input_parameter.h:250
bool bse_mem_save
whether to save memory by adding V and W to BSE matrix directly
Definition input_parameter.h:429
int nbands_sto
number of stochastic bands //qianrui 2021-2-5
Definition input_parameter.h:284
bool decay_grad_switch
Definition input_parameter.h:739
int exx_opt_orb_lmax
the maximum l of the spherical Bessel functions for opt ABFs
Definition input_parameter.h:697
std::string exciton_plot_format
average: "cube", "slice", or "both"; conditional: "slice"
Definition input_parameter.h:439
int sc_os_ndim
number of old iterations used for oscillation detection in Spin-Constrained DFT
Definition input_parameter.h:136
double bessel_nao_tolerence
tolerance for spherical bessel root
Definition input_parameter.h:156
std::string bessel_nao_ecut
energy cutoff for spherical bessel functions(Ry)
Definition input_parameter.h:155
std::vector< std::string > lr_init_xc_kernel
The method to initalize the xc kernel.
Definition input_parameter.h:413
double dmax
maximum displacement of all atoms in one step (bohr)
Definition input_parameter.h:209
int diago_proc
the number of procs used to diag. mohan add 2012-01-13
Definition input_parameter.h:70
int pw_seed
random seed for initializing wave functions
Definition input_parameter.h:53
double exx_v_threshold
threshold to screen C matrix in exx
Definition input_parameter.h:689
bool dfpt_loto
apply the LO-TO nonanalytic correction at q = 0
Definition input_parameter.h:450
double mixing_gg0
used in kerker method
Definition input_parameter.h:118
std::vector< int > of_ml_tanhp_nl
Descriptor: tanhp_nl = int{tanhp(r') * w(r-r') dr'}.
Definition input_parameter.h:273
bool sc_mag_switch
Definition input_parameter.h:737
std::vector< int > aims_nbasis
the number of basis functions for each atom type used in FHI-aims (for benchmark)
Definition input_parameter.h:426
bool dfpt_compute_q0
compute epsilon_inf and Born effective charges at q = 0
Definition input_parameter.h:449
double dfpt_lin_conv_thr
Sternheimer linear-solver threshold; <=0 inherits dfpt_conv_thr.
Definition input_parameter.h:454
int nb2d
matrix 2d division.
Definition input_parameter.h:145
double bessel_descriptor_rcut
radial cutoff for spherical bessel functions(a.u.)
Definition input_parameter.h:316
std::string init_wfc_file_format
normalized file format: "txt" or "binary"
Definition input_parameter.h:52
double exx_c_threshold
threshold to screen C matrix in exx
Definition input_parameter.h:688
std::string fixed_axes
which axes are fixed
Definition input_parameter.h:189
double vdw_cutoff_width2
smooth cutoff width for two-body dispersion, Bohr
Definition input_parameter.h:661
std::vector< int > out_wfc_re_im
specify the bands to be calculated for real and imaginary parts of wfc
Definition input_parameter.h:538
std::vector< double > td_trigo_phase1
Definition input_parameter.h:385
std::vector< int > out_mat_ds
output dS/dR matrices with precision
Definition input_parameter.h:509
double sc_drop_thr
threshold for lambda-loop threshold cutoff in spin-constrained DFT
Definition input_parameter.h:747
bool of_ml_q
Descriptor: q = nabla^2 rho / [4 (3 pi^2)^(2/3) rho^(5/3)].
Definition input_parameter.h:258
bool of_full_pw
Definition input_parameter.h:232
std::vector< int > out_mat_dh_vh
output Hartree dH/dR (dV^H/dR) matrices
Definition input_parameter.h:507
std::string bessel_descriptor_ecut
energy cutoff for spherical bessel functions(Ry)
Definition input_parameter.h:314
std::vector< int > out_hsk
output H(k) and S(k): format and text precision
Definition input_parameter.h:485
double nupdown
Definition input_parameter.h:89
double td_dt
time step for propagation
Definition input_parameter.h:321
int ny
Definition input_parameter.h:43
bool of_ml_local_test
Test: read in the density, and output the F and Pauli potential.
Definition input_parameter.h:278
bool pexsi_inertia
Definition input_parameter.h:769
double pexsi_mu_lower
Definition input_parameter.h:783
std::string sc_lambda_strategy
lambda update strategy: bfgs, bfgs2, linear_response, augmented_lagrangian, hybrid_delayed,...
Definition input_parameter.h:749
double sccs_radial_scale
Definition input_parameter.h:636
bool restart_load
Definition input_parameter.h:67
double pexsi_mu_guard
Definition input_parameter.h:788
double block_up
high bound of the block
Definition input_parameter.h:609
int test_energy
variables for test_energy only
Definition input_parameter.h:809
std::vector< int > out_elf
output the electron localization function (ELF). 0: no; 1: yes
Definition input_parameter.h:540
double uramping_eV
U-Ramping method (eV).
Definition input_parameter.h:722
int test_pseudo_cell
variables for test_pseudo_cell only
Definition input_parameter.h:811
int initsto_freq
frequency to init stochastic orbitals when running md
Definition input_parameter.h:291
std::vector< double > exciton_fixed_coordinate
fixed hole and electron coordinates (Bohr): hx hy hz ex ey ez
Definition input_parameter.h:440
bool td_cn_init
CN subspace initial guess and residual reuse.
Definition input_parameter.h:332
std::string device
Definition input_parameter.h:77
std::vector< int > out_band
band calculation pengfei 2014-10-13
Definition input_parameter.h:476
std::vector< double > stm_bias
bias voltage for STM (start value, step, number)
Definition input_parameter.h:551
std::string td_orthonormal
Orthonormalization for PW real-time propagation.
Definition input_parameter.h:326
std::vector< int > out_mat_vnlk
output nonlocal pseudopotential Vnl(k) matrix
Definition input_parameter.h:493
std::string vdw_cn_thr_unit
unit of cn_thr, Bohr or Angstrom
Definition input_parameter.h:664
std::vector< double > of_ml_chi_pnl
Hyperparameter: tanh_pnl = tanh(chi_pnl * pnl).
Definition input_parameter.h:276
bool deepks_equiv
whether to use equivariant version of DeePKS
Definition input_parameter.h:308
std::vector< int > out_mat_h_vl
legacy alias for out_mat_vlk
Definition input_parameter.h:499
double shrink_abfs_pca_thr
threshold to shrink auxiliary basis for GW/RPA
Definition input_parameter.h:708
bool towannier90
Definition input_parameter.h:574
double eb_k
the relative permittivity of the bulk solvent
Definition input_parameter.h:614
int lmaxmax
maximum of l channels used
Definition input_parameter.h:146
bool ml_exx
use ML EXX or not
Definition input_parameter.h:292
double of_tole
Definition input_parameter.h:217
bool gamma_only
for plane wave.
Definition input_parameter.h:127
double bessel_descriptor_sigma
spherical bessel smearing_sigma
Definition input_parameter.h:318
int test_pp
variables for test_pp only
Definition input_parameter.h:812
double qo_thr
Definition input_parameter.h:763
bool out_hr_npz
output H(R) matrix in npz format
Definition input_parameter.h:515
input parameters used in md
Definition md_parameter.h:12