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 <string>
7#include <vector>
8
9// It stores all input parameters both defined in INPUT file and not defined in
10// INPUT file
12{
13 // ---------------------------------------------------------------
14 // -------------- INPUT Parameters ----------------
15 // ---------------------------------------------------------------
16 // ============== #Parameters (1.System) =====================
17 std::string suffix = "ABACUS";
18 int ntype = 0;
19 std::string calculation = "scf";
22 std::string esolver_type = "ksdft";
23 /* symmetry level:
24 -1, no symmetry at all;
25 0, only basic time reversal would be considered;
26 1, point group symmetry would be considered*/
27 std::string symmetry = "default";
28 double symmetry_prec = 1.0e-6;
29 bool symmetry_autoclose = true;
31 bool cal_force = false;
32 bool cal_stress = false;
33 int kpar = 1;
34 int bndpar = 1;
35 std::string latname = "user_defined_lattice";
36 double ecutwfc = 0;
37 double ecutrho = 0;
38
39 int nx = 0, ny = 0, nz = 0;
40 int ndx = 0, ndy = 0, ndz = 0;
41
42 double cell_factor = 1.2;
43 double erf_ecut = 0;
44 double erf_height = 0;
45 double erf_sigma = 0.1;
46 int fft_mode = 0;
47 std::string init_wfc = "atomic";
48 int pw_seed = 0;
49 std::string init_chg = "atomic";
50 bool dm_to_rho = false;
51 std::string chg_extrap = "default";
52 bool init_vel = false;
53
54 std::string input_file = "INPUT";
55 std::string stru_file = "STRU";
57 std::string kpoint_file = "KPT";
58 std::string pseudo_dir = "";
59 std::string orbital_dir = "";
60 std::string read_file_dir = "auto";
61 bool restart_load = false;
62 std::string wannier_card = "none";
63 int mem_saver = 0;
64 int diago_proc = 0;
65 int nbspline = -1;
66 std::vector<double> kspacing = {0.0, 0.0, 0.0};
67 std::vector<double> koffset = {0.0, 0.0, 0.0};
68 std::string kmesh_type = "gamma";
69 double min_dist_coef = 0.2;
70
71 std::string device = "auto";
72 std::string precision = "double";
73 std::string gint_precision = "double";
74 bool timer_enable_nvtx = false;
75
76 // ============== #Parameters (2.Electronic structure) ===========================
77 std::string ks_solver = "default";
78 std::string basis_type = "pw";
79 int nbands = 0;
80 double nelec = 0.0;
81 double nelec_delta = 0.0;
82 double nupdown = 0.0;
83 std::string dft_functional = "default";
84 double xc_temperature = 0.0;
85 double pseudo_rcut = 15.0;
86 bool pseudo_mesh = false;
88 int nspin = 1;
89 int pw_diag_nmax = 50;
90 double pw_diag_thr = 0.01;
91 bool diago_smooth_ethr = false;
92 int pw_diag_ndim = 4;
93 int diago_cg_prec = 1;
94 int diag_subspace = 0; // 0: Lapack, 1: elpa, 2: scalapack
95 bool use_k_continuity = false;
96
97 std::string smearing_method = "gauss";
101 double smearing_sigma = 0.015;
102
103 std::string mixing_mode = "broyden";
104 double mixing_beta = -1.0;
105 int mixing_ndim = 8;
106 double mixing_restart = 0.0;
108 double mixing_gg0 = 1.0;
109 double mixing_beta_mag = -10.0;
110 double mixing_gg0_mag = 0.0;
111 double mixing_gg0_min = 0.1;
112 double mixing_angle = -10.0;
113 bool mixing_tau = false;
114 bool mixing_dftu = false;
115 bool mixing_dmr = false;
116
117 bool gamma_only = false;
118 int scf_nmax = 100;
119 double scf_thr = -1.0;
120 double scf_ene_thr = -1.0;
121 int scf_thr_type = -1;
122// bool final_scf = false; ///< whether to do final scf
123 bool scf_os_stop = false;
124 double scf_os_thr = -0.01;
125 int scf_os_ndim = 0;
126 int sc_os_ndim = 5;
127
128 bool lspinorb = false;
129 bool noncolin = false;
130 double soc_lambda = 1.0;
132 int dfthalf_type = 0;
133
134 // ============== #Parameters (3.LCAO) ===========================
135 int nb2d = 0;
136 int lmaxmax = 2;
137 double lcao_ecut = 0.0;
138 double lcao_dk = 0.01;
139 double lcao_dr = 0.01;
140 double lcao_rmax = 30.0;
141 double search_radius = -1.0;
142 int bx = 0, by = 0, bz = 0;
144 int nstream = 4;
145 std::string bessel_nao_ecut = "default";
146 double bessel_nao_tolerence = 1e-12;
147 std::vector<double> bessel_nao_rcuts = {};
148 bool bessel_nao_smooth = true;
149 double bessel_nao_sigma = 0.1;
150 // ==========================================================
151 // spherical bessel Peize Lin added on 2022-12-15
152 // ==========================================================
153 // the following are used when generating orb_matrix.dat
154 // int bessel_nao_lmax; ///< lmax used in descriptor
155
156 // ============== #Parameters (4.Relaxation) ===========================
157 std::vector<std::string> relax_method = {"cg", "1"};
158 bool relax_new = true;
159 bool relax = false;
160 double relax_scale_force = 0.5;
161 int relax_nmax = -1;
162 double relax_cg_thr = 0.5;
163 double force_thr = -1;
164 double force_thr_ev = -1;
165 double force_zero_out = 0;
166 double stress_thr = 0.5;
167 double press1 = 0;
168 double press2 = 0;
169 double press3 = 0;
170 double relax_bfgs_w1 = 0.01;
171 double relax_bfgs_w2 = 0.5;
172 double relax_bfgs_rmax = 0.2;
173 double relax_bfgs_rmin = 1e-05;
174 double relax_bfgs_init = 0.5;
175 std::string fixed_axes = "None";
176 bool fixed_ibrav = false;
178 bool fixed_atoms = false;
179
180 // ============== #Parameters (5.Molecular dynamics) ===========================
182 double ref_cell_factor = 1;
184 std::vector<int> cal_syns = {0, 8};
185 double dmax = 0.01;
186
187 // ============== #Parameters (6.OFDFT) ===========================
188 // OFDFT sunliang added on 2022-05-05
189 std::string of_kinetic = "wt";
190 std::string of_method = "tn";
191 std::string of_conv = "energy";
193 double of_tole = 1e-06;
195 double of_tolp = 1e-05;
197 double of_tf_weight = 1.0;
198 double of_vw_weight = 1.0;
199 double of_wt_alpha = 5. / 6.;
200 double of_wt_beta = 5. / 6.;
201 double of_extwt_kappa = 1.0
202 / (2.0 * std::pow(4. / 3., 1. / 3.) - 1.0);
204 double of_wt_rho0 = 0.0;
205 bool of_hold_rho0 = false;
208 double of_lkt_a = 1.3;
209 bool of_full_pw = true;
213 bool of_read_kernel = false;
216 std::string of_kernel_file = "WTkernel.txt";
217 double of_xwm_kappa = 0.0;
218 double of_xwm_rho_ref = 0.0;
219
220 // ML KEDF, sunliang added on 2022-11-07
221 bool of_ml_gene_data = false;
222 // device
223 std::string of_ml_device = "cpu";
224 int of_ml_feg = 0;
225 // kernel
227 std::vector<int> of_ml_kernel = {1};
228 std::vector<double> of_ml_kernel_scaling
229 = {1.0};
230 std::vector<double> of_ml_yukawa_alpha = {1.0};
231 std::vector<std::string> of_ml_kernel_file = {"none"};
232 // semi-local descriptors
233 bool of_ml_gamma = false;
234 bool of_ml_p = false;
235 bool of_ml_q = false;
236 bool of_ml_tanhp = false;
237 bool of_ml_tanhq = false;
238 double of_ml_chi_p = 1.0;
239 double of_ml_chi_q = 1.0;
240 // non-local descriptors
241 // of_ml_gammanl should be a vector of bool, but here we use a vector of int for convinience
242 std::vector<int> of_ml_gammanl = {0};
243 std::vector<int> of_ml_pnl = {0};
244 std::vector<int> of_ml_qnl = {0};
245 std::vector<int> of_ml_xi = {0};
246 std::vector<int> of_ml_tanhxi = {0};
247 std::vector<int> of_ml_tanhxi_nl = {0};
248 std::vector<int> of_ml_tanh_pnl = {0};
249 std::vector<int> of_ml_tanh_qnl = {0};
250 std::vector<int> of_ml_tanhp_nl = {0};
251 std::vector<int> of_ml_tanhq_nl = {0};
252 std::vector<double> of_ml_chi_xi = {1.0};
253 std::vector<double> of_ml_chi_pnl = {1.0};
254 std::vector<double> of_ml_chi_qnl = {1.0};
255 bool of_ml_local_test = false;
256
257 // ============== #Parameters (7.stochastic DFT) ===========================
258 int method_sto = 2;
260 int npart_sto = 1;
261 int nbands_sto = 256;
262 int nche_sto = 100;
264 double emin_sto = 0;
265 double emax_sto = 0;
266 int seed_sto = 0;
267 double initsto_ecut = 0.0;
268 int initsto_freq = 0;
269 bool ml_exx = false;
270
271 // ============== #Parameters (8.DeepKS) ===========================
272 //==========================================================
273 // DeepKS -- added by caoyu and mohan
274 //==========================================================
279 std::string deepks_out_base = "none";
280 bool deepks_scf = false;
283 std::vector<int> deepks_band_range = {-1, 0};
285 bool deepks_equiv = false;
286 bool deepks_out_unittest = false;
288 std::string deepks_model = "None";
289
291 std::string bessel_descriptor_ecut = "default";
296
297 // ============== #Parameters (9.rt-tddft) ===========================
298 double td_dt = -1.0;
299 int estep_per_md = 1;
300 double td_force_dt = 0.02;
301 bool td_vext = false;
302 // std::string td_vext_dire = "1"; ///< vext direction
303 std::vector<int> td_vext_dire = {1};
304
305 bool init_vecpot_file = false;
306 double td_print_eij = -1.0;
307 int td_edm = 0;
308 int propagator = 0;
309 int td_stype = 0;
310 std::string td_ttype = "0";
316 int td_tstart = 1;
317 int td_tend = 1000;
318
321 double td_lcut1 = 0.05;
322 double td_lcut2 = 0.95;
323
326 std::string td_gauss_freq = "22.13";
327 std::string td_gauss_phase = "0.0";
328 std::string td_gauss_sigma = "30.0";
329 std::string td_gauss_t0 = "100.0";
330 std::string td_gauss_amp = "0.25";
331
333 std::string td_trape_freq = "1.60";
334 // Trapezoidal
335 std::string td_trape_phase = "0.0";
336 std::string td_trape_t1 = "1875.0";
337 std::string td_trape_t2 = "5625.0";
338 std::string td_trape_t3 = "7500.0";
339 std::string td_trape_amp = "2.74"; // V/A
340
341 // Trigonometric
342 std::string td_trigo_freq1 = "1.164656"; // time(fs)^-1
343 std::string td_trigo_freq2 = "0.029116"; // time(fs)^-1
344 std::string td_trigo_phase1 = "0.0";
345 std::string td_trigo_phase2 = "0.0";
346 std::string td_trigo_amp = "2.74"; // V/A
347
348 // Heaviside
349 std::string td_heavi_t0 = "100.0";
350 std::string td_heavi_amp = "1.0"; // V/A
351
352 bool ocp = false;
353 // std::string ocp_set = "";
354 std::vector<double> ocp_kb = {};
355
356 // ============== #Parameters (10.lr-tddft) ===========================
357 int lr_nstates = 1;
358 std::vector<std::string> lr_init_xc_kernel = {};
359 int nocc = -1;
360 int nvirt = 1;
361 std::string xc_kernel = "LDA";
362 std::string lr_solver = "dav";
363 double lr_thr = 1e-2;
364 bool out_wfc_lr = false;
365 bool lr_unrestricted = false;
366 std::vector<double> abs_wavelen_range = {};
367 double abs_broadening = 0.01;
368 std::string abs_gauge
369 = "length";
370 std::string ri_hartree_benchmark = "none";
372 std::vector<int> aims_nbasis
373 = {};
374 // ============== #Parameters (11.Output) ===========================
375 bool out_stru = false;
377 int out_freq_ion = 0;
379 int out_freq_td = 0;
380 std::vector<int> out_chg = {0, 3};
381 std::vector<int> out_xc_r = {-1, 3};
382 std::vector<int> out_pot = {0, 8};
383 int out_wfc_pw = 0;
384 std::vector<int> out_band = {0, 8};
385 int out_dos = 0;
386 std::vector<int> out_ldos = {0, 3};
387 bool out_mul = false;
388 bool out_proj_band = false;
389 std::string out_level = "ie";
390 std::vector<int> out_dmr = {0, 8};
391 std::vector<int> out_dmk = {0, 8};
392 bool out_bandgap = false;
393 std::vector<int> out_mat_hs = {0, 8};
394 std::vector<int> out_mat_tk = {0, 8};
395 std::vector<int> out_mat_l = {0, 8};
396 std::vector<int> out_mat_hs2 = {0, 8};
397 std::vector<int> out_mat_dh = {0, 8};
398 std::vector<int> out_mat_ds = {0, 8};
399 bool out_mat_xc = false;
401 std::vector<int> out_mat_xc2 = {0, 8};
402 bool out_eband_terms = false;
404 bool out_app_flag = true;
406 int out_ndigits = 8;
407 std::vector<int> out_mat_t = {0, 8};
408 bool out_element_info = false;
409 std::vector<int> out_mat_r = {0, 8};
410 int out_wfc_lcao = 0;
411 bool out_dipole = false;
412 bool out_efield = false;
413 int out_current = 0;
414 bool out_current_k = false;
415 bool out_vecpot = false;
416 std::vector<int> cal_symm_repr = {0, 3};
417 bool restart_save = false;
418 bool rpa = false;
419 std::vector<int> out_pchg = {};
420 std::vector<int> out_wfc_norm = {};
421 std::vector<int> out_wfc_re_im = {};
422 bool if_separate_k = false;
423 std::vector<int> out_elf = {0, 3};
424 int out_spillage = 0;
425 std::string spillage_outdir = "./";
426
427 // ============== #Parameters (12.Postprocess) ===========================
428 double dos_emin_ev = -15.0;
429 double dos_emax_ev = 15.0;
430 double dos_edelta_ev = 0.01;
431 double dos_scale = 0.01;
432 double dos_sigma = 0.07;
433 int dos_nche = 100;
434 std::vector<double> stm_bias = {1.0, 0.1, 1};
435 std::vector<double> ldos_line
436 = {0.0,
437 0.0,
438 0.0,
439 0.0,
440 0.0,
441 1.0,
442 100};
443
444 bool cal_cond = false;
445 double cond_che_thr = 1e-8;
447 double cond_dw = 0.1;
448 double cond_wcut = 10;
449 double cond_dt = 0.02;
450 int cond_dtbatch = 0;
451 int cond_smear = 1;
452 double cond_fwhm = 0.4;
453 bool cond_nonlocal = true;
454
455 bool berry_phase = false;
456 int gdir = 3;
458
462 bool towannier90 = false;
464 std::string nnkpfile = "seedname.nnkp";
466 std::string wannier_spin = "up";
469 bool out_wannier_mmn = true;
470 bool out_wannier_amn = true;
471 bool out_wannier_unk = false;
472 bool out_wannier_eig = true;
474
475 // ============== #Parameters (13.Model) ===========================
476 // ==========================================================
477 // efield and dipole correction
478 // Yu Liu add 2022-05-18
479 // ==========================================================
480 bool efield_flag = false;
481 bool dip_cor_flag = false;
482 int efield_dir = 2;
483 double efield_pos_max = -1;
485 double efield_pos_dec = -1;
486 double efield_amp = 0;
487
488 // ==========================================================
489 // gatefield (compensating charge)
490 // Yu Liu add 2022-09-13
491 // ==========================================================
492 bool gate_flag = false;
493 double zgate = 0.5;
494 bool block = false;
495 double block_down = 0.45;
496 double block_up = 0.55;
497 double block_height = 0.1;
498
499 // implicit solvation model Menglin Sun added on 2022-04-04
500 bool imp_sol = false;
502 double eb_k = 80;
503 double tau = 1.0798e-05;
504 double sigma_k = 0.6;
505 double nc_k = 0.00037;
506
507 // ============== #Parameters (14.vdW Correction) ===========================
508 // ==========================================================
509 // vdw
510 // Peize Lin add 2014-03-31, jiyy update 2019-08-01
511 // ==========================================================
512 std::string vdw_method = "none";
513 std::string vdw_s6 = "default";
514 std::string vdw_s8 = "default";
515 std::string vdw_a1 = "default";
516 std::string vdw_a2 = "default";
517 double vdw_d = 20.0;
518 bool vdw_abc = false;
519 std::string vdw_C6_file = "default";
520 std::string vdw_C6_unit = "Jnm6/mol";
521 std::string vdw_R0_file = "default";
522 std::string vdw_R0_unit = "A";
523 std::string vdw_cutoff_type = "radius";
525 std::string vdw_cutoff_radius = "default";
526 std::string vdw_radius_unit = "Bohr";
527 double vdw_cn_thr = 40.0;
528 std::string vdw_cn_thr_unit = "Bohr";
530
531 // ============== #Parameters (15.exx) ====================
532 // ==========================================================
533 // exx
534 // Peize Lin add 2018-06-20
535 // ==========================================================
536 std::vector<std::string> exx_fock_alpha = {"default"};
537 std::vector<std::string> exx_fock_lambda = {"default"};
539 std::vector<std::string> exx_erfc_alpha = {"default"};
540 std::vector<std::string> exx_erfc_omega = {"default"};
541 bool exx_separate_loop = true;
543 std::string exx_singularity_correction = "default";
544 int exx_hybrid_step = 100;
546 double exx_mixing_beta = 1.0;
547 std::string exx_real_number = "default";
548 double exx_pca_threshold = 0.0001;
549 double exx_c_threshold = 0.0001;
550 double exx_v_threshold = 0.1;
551 double exx_dm_threshold = 0.0001;
552 double exx_c_grad_threshold = 0.0001;
553 double exx_v_grad_threshold = 0.1;
554 double exx_c_grad_r_threshold = 0.0001;
556 std::string exx_ccp_rmesh_times = "default";
559 double exx_opt_orb_ecut = 0.0;
563 = true;
564 double rpa_ccp_rmesh_times = 10.0;
566 double exx_cs_inv_thr = -1;
569 = 1e-6;
570 bool out_ri_cv = false;
571 bool out_unshrinked_v = false;
572 bool exx_coul_moment = false;
573 bool exx_rotate_abfs = false;
575 // ============== #Parameters (16.dft+u) ======================
576 // DFT+U Xin Qu added on 2020-10-29
577 int dft_plus_u = 0;
578 bool dft_plus_dmft = false;
579 bool yukawa_potential = false;
580 double yukawa_lambda = -1.0;
581 double uramping_eV = -1.0;
582 int omc = 0;
583 double onsite_radius = 0.0;
584 std::vector<double> hubbard_u_eV = {};
585 std::vector<int> orbital_corr = {};
587
588 // ============== #Parameters (17.non-collinear spin-constrained DFT) =========
593 bool sc_mag_switch = false;
595 bool decay_grad_switch = false;
597 double sc_thr = 1e-06;
598 int nsc = 100;
599 int nsc_min = 2;
600 int sc_scf_nmin = 2;
601 double alpha_trial = 0.01;
602 double sccut = 3.0;
603 double sc_scf_thr = 1e-3;
604 double sc_drop_thr = 1e-3;
605
606 // ============== #Parameters (18.Quasiatomic Orbital analysis) =========
610 bool qo_switch = false;
611 std::string qo_basis = "szv";
613 double qo_thr = 1e-06;
614 std::vector<std::string> qo_strategy = {};
615 std::vector<double> qo_screening_coeff = {};
616
617 // ============== #Parameters (19.PEXSI) =====================
618 int pexsi_npole = 40;
619 bool pexsi_inertia = true;
620 int pexsi_nmax = 80;
621 bool pexsi_comm = true;
622 bool pexsi_storage = true;
625 int pexsi_nproc = 1;
626 bool pexsi_symm = true;
627 bool pexsi_trans = false;
630 double pexsi_temp = 0.015;
631 double pexsi_gap = 0;
632 double pexsi_delta_e = 20.0;
633 double pexsi_mu_lower = -10;
634 double pexsi_mu_upper = 10;
635 double pexsi_mu = 0.0;
636 double pexsi_mu_thr = 0.05;
637 double pexsi_mu_expand = 0.3;
638 double pexsi_mu_guard = 0.2;
639 double pexsi_elec_thr = 0.001;
640 double pexsi_zero_thr = 1e-10;
641
642 // ============== #Parameters (20.Test) ====================
643 bool out_alllog = false;
644 int nurse = 0;
645 bool t_in_h = true;
646 bool vl_in_h = true;
647 bool vnl_in_h = true;
648 bool vh_in_h = true;
649 bool vion_in_h = true;
651 bool test_force = false;
652 bool test_stress = false;
653 bool test_skip_ewald = false;
654 int test_atom_input = false;
655 int test_symmetry = false;
656 int test_wf = 0;
657 int test_grid = false;
658 int test_charge = false;
659 int test_energy = false;
660 int test_gridt = false;
661 int test_pseudo_cell = false;
662 int test_pp = 0;
663 int test_relax_method = false;
664 int test_deconstructor = false;
665
666 // ============== #Parameters (21.RDMFT) =====================
667 // RDMFT jghan added on 2024-07-06
668 bool rdmft = false; // rdmft, reduced density matrix funcional theory
669 double rdmft_power_alpha = 0.656; // the alpha parameter of power-functional, g(occ_number) = occ_number^alpha
670 // double rdmft_wp22_omega; // the omega parameter of wp22-functional = exx_erfc_omega
671
672 // ============== #Parameters (22.EXX PW) =====================
673 // EXX for planewave basis, rhx0820 2025-03-10
674 bool exxace = true; // exxace, exact exchange for planewave basis, https://doi.org/10.1021/acs.jctc.6b00092
675 bool exx_gamma_extrapolation = true; // gamma point extrapolation for exx, https://doi.org/10.1103/PhysRevB.79.205114
676 std::string exx_thr_type = "density";
677 double exx_ene_thr = 1e-5;
678 double ecutexx = 0.0;
679
680 // ==== #Parameters (23.XC external parameterization) ========
681 /*
682 * the following two sets of parameters are for the XC parameterization.
683 * The first element should be the LibXC id, to assign the analytical
684 * form of the eXchange and Correlation part of the functional.
685 *
686 * Starting from the second parameter, the parameters are the coefficients
687 * of the functional. For example the M06-L functional, one should refer
688 * to the source file (source code of LibXC)
689 *
690 * src/mgga_x_m06l.c
691 *
692 * the implementation can be found in the file
693 *
694 * src/maple2c/mgga_exc/mgga_x_m06l.c.
695 *
696 * There are 18 parameters for the exchange part, so the whole length of
697 * the xc_exch_ext should be 19. (MGGA_X_M06L, id = 203)
698 *
699 * Likewise, the correlation part can be found in corresponding files.
700 *
701 * PBE functional is used as the default functional for XCPNet.
702 */
703 // src/gga_x_pbe.c
704 std::vector<double> xc_exch_ext = {
705 101, 0.8040, 0.2195149727645171};
706 // src/gga_c_pbe.c
707 std::vector<double> xc_corr_ext = {
708 130, 0.06672455060314922, 0.031090690869654895034, 1.00000};
709
710 // ============== #Parameters (24.td-ofdft) ===========================
711 bool of_cd = false;
712 double of_mCD_alpha = 1.0;
713
714 // ============== #Parameters (25.uncommon hardware) ==================
715 int dsp_count = 4;
716};
717#endif
3 elements vector
Definition vector3.h:24
Reduced Density Matrix Functional Theory (RDMFT)
Definition rdmft.cpp:22
Definition input_parameter.h:12
bool noncolin
using non-collinear-spin
Definition input_parameter.h:129
double lcao_dr
dr used in two center integral
Definition input_parameter.h:139
bool out_alllog
output all logs.
Definition input_parameter.h:643
std::string td_trigo_phase1
Definition input_parameter.h:344
double relax_bfgs_w2
wolfe condition 2
Definition input_parameter.h:171
double exx_opt_orb_tolerence
Definition input_parameter.h:560
std::string ri_hartree_benchmark
Definition input_parameter.h:370
bool test_skip_ewald
variables for test only
Definition input_parameter.h:653
std::vector< int > of_ml_tanhxi_nl
Descriptor: tanhxi_nl = int{tanhxi(r') * w(r-r') dr'}.
Definition input_parameter.h:247
bool mixing_tau
whether to mix tau in mgga
Definition input_parameter.h:113
bool relax
allow relaxation along the specific direction
Definition input_parameter.h:159
int deepks_v_delta
for v_delta label. xuan added
Definition input_parameter.h:284
int nocc
the number of occupied orbitals to form the 2-particle basis
Definition input_parameter.h:359
int nurse
used for debug.
Definition input_parameter.h:644
double erf_height
the height of the energy step for reciprocal vectors
Definition input_parameter.h:44
double lcao_ecut
ecut of two center integral
Definition input_parameter.h:137
double bessel_descriptor_tolerence
tolerance for spherical bessel root
Definition input_parameter.h:292
bool out_mul
qifeng add 2019-9-10
Definition input_parameter.h:387
std::string gint_precision
Definition input_parameter.h:73
double td_lcut2
Definition input_parameter.h:322
double emin_sto
Emin to normalize H.
Definition input_parameter.h:264
std::string td_heavi_t0
Definition input_parameter.h:349
double alpha_trial
initial trial step size for lambda in eV/uB^2
Definition input_parameter.h:601
bool out_wannier_amn
output .amn file or not
Definition input_parameter.h:470
int out_interval
Definition input_parameter.h:403
std::vector< double > abs_wavelen_range
the range of wavelength(nm) to output the absorption spectrum
Definition input_parameter.h:366
int nvirt
the number of virtual orbitals to form the 2-particle basis (nocc + nvirt <= nbands)
Definition input_parameter.h:360
std::string td_ttype
Definition input_parameter.h:310
std::vector< std::string > exx_erfc_omega
range-separation parameter in HSE functional
Definition input_parameter.h:540
double block_height
height of the block
Definition input_parameter.h:497
double tau
the effective surface tension parameter
Definition input_parameter.h:503
double cond_che_thr
Definition input_parameter.h:445
std::string td_trigo_freq2
Definition input_parameter.h:343
bool bessel_nao_smooth
spherical bessel smooth or not
Definition input_parameter.h:148
std::vector< int > of_ml_tanh_qnl
Descriptor: tanh_qnl = tanh(chi_qnl * qnl)
Definition input_parameter.h:249
std::string latname
lattice name
Definition input_parameter.h:35
std::vector< int > out_wfc_norm
specify the bands to be calculated for norm of wfc
Definition input_parameter.h:420
double lcao_rmax
rmax(a.u.) to make table.
Definition input_parameter.h:140
std::string ks_solver
xiaohui add 2013-09-01
Definition input_parameter.h:77
std::string calculation
Definition input_parameter.h:19
double efield_pos_dec
zone in the unit cell where the saw-like potential decreases
Definition input_parameter.h:485
bool of_ml_gene_data
Generate training data or not.
Definition input_parameter.h:221
int fft_mode
fftw mode 0: estimate, 1: measure, 2: patient, 3: exhaustive
Definition input_parameter.h:46
double mixing_restart
Definition input_parameter.h:106
std::vector< int > orbital_corr
Definition input_parameter.h:585
bool fixed_ibrav
Definition input_parameter.h:176
bool mixing_dmr
whether to mix real space density matrix
Definition input_parameter.h:115
int nbspline
the order of B-spline basis(>=0) if it is -1 (default)
Definition input_parameter.h:65
int seed_sto
random seed for sDFT
Definition input_parameter.h:266
double of_tolp
Definition input_parameter.h:195
double dos_sigma
pengfei 2014-10-13
Definition input_parameter.h:432
int dsp_count
count of DSP hardwares in one node
Definition input_parameter.h:715
std::string of_kinetic
Kinetic energy functional, such as TF, VW, WT, TF+.
Definition input_parameter.h:189
bool fixed_atoms
whether to fix atoms during vc-relax
Definition input_parameter.h:178
std::vector< std::string > exx_fock_alpha
fraction of Fock exchange 1/r in hybrid functionals
Definition input_parameter.h:536
double cond_wcut
cutoff \omega for conductivities
Definition input_parameter.h:448
int td_tend
Definition input_parameter.h:317
std::string td_trigo_phase2
Definition input_parameter.h:345
int gdir
Definition input_parameter.h:456
std::vector< double > of_ml_chi_xi
Hyperparameter: tanhpxi = tanh(chi_xi * xi)
Definition input_parameter.h:252
int pexsi_npole
Definition input_parameter.h:618
double exx_ene_thr
threshold when exx_thr_type = energy
Definition input_parameter.h:677
double onsite_radius
radius of the sphere for onsite projection (Bohr)
Definition input_parameter.h:583
std::vector< double > koffset
koffset for kspacing-generated k-point mesh
Definition input_parameter.h:67
double pseudo_rcut
cut-off radius for calculating msh
Definition input_parameter.h:85
bool pexsi_trans
Definition input_parameter.h:627
int nz
three dimension of FFT wavefunc
Definition input_parameter.h:39
bool exx_symmetry_realspace
whether to reduce the real-space sector in when using symmetry=1 in EXX calculation
Definition input_parameter.h:563
bool test_force
test the force.
Definition input_parameter.h:651
int cond_dtbatch
exp(iH*dt*cond_dtbatch) is expanded with Chebyshev expansion.
Definition input_parameter.h:450
int by
Definition input_parameter.h:142
double erf_ecut
the value of the constant energy cutoff
Definition input_parameter.h:43
double lr_thr
convergence threshold of the LR-TDDFT eigensolver
Definition input_parameter.h:363
double yukawa_lambda
default: -1.0, which means we calculate lambda
Definition input_parameter.h:580
std::string symmetry
Definition input_parameter.h:27
double pexsi_mu_expand
Definition input_parameter.h:637
double of_extwt_kappa
parameter kappa of EXT-WT KEDF
Definition input_parameter.h:201
double exx_pca_threshold
threshold to screen on-site ABFs in exx
Definition input_parameter.h:548
std::string lr_solver
the eigensolver for LR-TDDFT
Definition input_parameter.h:362
std::string td_heavi_amp
Definition input_parameter.h:350
int td_edm
0: new edm method 1: old edm method
Definition input_parameter.h:307
bool of_ml_p
Descriptor: p = |nabla rho|^2 / [2 (3 pi^2)^(1/3) rho^(4/3)]^2.
Definition input_parameter.h:234
int pexsi_nmax
Definition input_parameter.h:620
double mixing_gg0_mag
Definition input_parameter.h:110
bool out_dipole
output the dipole or not
Definition input_parameter.h:411
bool deepks_scf
Definition input_parameter.h:280
int nstream
Number of streams in CUDA as per input data.
Definition input_parameter.h:144
std::string orbital_dir
directory of orbital file
Definition input_parameter.h:59
std::string out_level
control the output information.
Definition input_parameter.h:389
std::string read_file_dir
directory of files for reading
Definition input_parameter.h:60
int lr_nstates
the number of 2-particle states to be solved
Definition input_parameter.h:357
double cell_factor
LiuXh add 20180619.
Definition input_parameter.h:42
std::vector< int > out_xc_r
output xc(r). -1: no; >=0: output the order of xc(r)
Definition input_parameter.h:381
double pexsi_mu_upper
Definition input_parameter.h:634
bool block
add a block potential or not
Definition input_parameter.h:494
int bessel_descriptor_lmax
lmax used in descriptor
Definition input_parameter.h:290
int efield_dir
the direction of the electric field or dipole correction
Definition input_parameter.h:482
std::string init_wfc
"file","atomic","random"
Definition input_parameter.h:47
std::vector< int > out_mat_l
output L matrix in local basis.
Definition input_parameter.h:395
std::vector< int > of_ml_tanh_pnl
Descriptor: tanh_pnl = tanh(chi_pnl * pnl)
Definition input_parameter.h:248
int method_sto
Definition input_parameter.h:258
bool pseudo_mesh
Definition input_parameter.h:86
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:229
bool out_wannier_mmn
add by renxi for wannier90: output .mmn file or not
Definition input_parameter.h:469
double relax_bfgs_w1
wolfe condition 1
Definition input_parameter.h:170
std::string vdw_R0_unit
unit of R0, A or Bohr
Definition input_parameter.h:522
bool out_bandgap
QO added for bandgap printing.
Definition input_parameter.h:392
std::string td_trigo_freq1
Definition input_parameter.h:342
std::vector< double > of_ml_chi_qnl
Hyperparameter: tanh_qnl = tanh(chi_qnl * qnl)
Definition input_parameter.h:254
std::string td_trape_t2
Definition input_parameter.h:337
std::vector< int > cal_syns
calculate asynchronous S matrix to output {enable, precision}
Definition input_parameter.h:184
bool of_read_kernel
Definition input_parameter.h:213
bool vion_in_h
Definition input_parameter.h:649
std::vector< double > hubbard_u_eV
Hubbard Coulomb interaction parameter U(ev)
Definition input_parameter.h:584
bool td_vext
add extern potential or not
Definition input_parameter.h:301
int test_grid
variables for test_grid only
Definition input_parameter.h:657
int scf_thr_type
type of the criterion of scf_thr, 1: reci drho, 2: real drho
Definition input_parameter.h:121
double cond_dt
dt to integrate conductivities
Definition input_parameter.h:449
std::vector< int > out_mat_dh
output dH/dR matrices with precision
Definition input_parameter.h:397
double abs_broadening
the broadening (eta) for LR-TDDFT absorption spectrum
Definition input_parameter.h:367
std::string td_gauss_phase
Definition input_parameter.h:327
bool out_vecpot
output the vector potential or not
Definition input_parameter.h:415
bool qo_switch
0: no QO analysis; 1: QO analysis
Definition input_parameter.h:610
bool out_app_flag
Definition input_parameter.h:404
bool pexsi_storage
Definition input_parameter.h:622
double exx_c_grad_r_threshold
threshold to screen nabla C * R matrix in exx
Definition input_parameter.h:554
double relax_bfgs_init
initial move
Definition input_parameter.h:174
bool restart_save
restart //Peize Lin add 2020-04-04
Definition input_parameter.h:417
int out_wfc_lcao
output the wave functions in local basis.
Definition input_parameter.h:410
double of_tf_weight
weight of TF KEDF
Definition input_parameter.h:197
std::vector< int > of_ml_qnl
Descriptor: qnl = int{q(r') * w(r-r') dr'}.
Definition input_parameter.h:244
std::string td_trape_amp
Definition input_parameter.h:339
int deepks_out_freq_elec
Definition input_parameter.h:277
std::vector< double > of_ml_yukawa_alpha
Parameter alpha of yukawa kernel.
Definition input_parameter.h:230
int diago_cg_prec
mohan add 2012-03-31
Definition input_parameter.h:93
bool out_element_info
output information of all elements
Definition input_parameter.h:408
bool out_wfc_lr
whether to output the eigenvectors (excitation amplitudes) in the particle-hole basis
Definition input_parameter.h:364
std::string vdw_cutoff_radius
radius cutoff for periodic structure
Definition input_parameter.h:525
bool symmetry_autoclose
Definition input_parameter.h:29
bool efield_flag
add electric field
Definition input_parameter.h:480
int dft_plus_u
0: standard DFT calculation (default)
Definition input_parameter.h:577
int pexsi_nproc
Definition input_parameter.h:625
bool of_ml_gamma
Descriptor: gamma = (rho / rho0)^(1/3)
Definition input_parameter.h:233
std::string td_trape_t1
Definition input_parameter.h:336
std::string chg_extrap
xiaohui modify 2015-02-01
Definition input_parameter.h:51
int nx
Definition input_parameter.h:39
std::string td_gauss_sigma
time(fs)
Definition input_parameter.h:328
int pexsi_row_ordering
Definition input_parameter.h:624
std::string exx_real_number
exx calculated in real or complex
Definition input_parameter.h:547
std::vector< double > ldos_line
start and end point of the line (direct coordinates) and number of points
Definition input_parameter.h:436
bool berry_phase
berry phase calculation: calculate berry phase or not
Definition input_parameter.h:455
std::string td_trape_phase
Definition input_parameter.h:335
int mixing_ndim
used in Broyden method
Definition input_parameter.h:105
std::vector< int > out_pchg
specify the bands to be calculated for partial charge
Definition input_parameter.h:419
std::vector< int > out_mat_xc2
output Vxc(R) matrix with precision
Definition input_parameter.h:401
bool if_separate_k
whether to write partial charge for all k-points to individual files or merge them
Definition input_parameter.h:422
bool cal_cond
calculate electronic conductivities
Definition input_parameter.h:444
int bx
Definition input_parameter.h:142
double exx_mixing_beta
mixing_beta for outer-loop when exx_separate_loop=1
Definition input_parameter.h:546
bool ocp
Definition input_parameter.h:352
bool imp_sol
Definition input_parameter.h:500
std::string vdw_s8
scale parameter of d3_0/d3_bj
Definition input_parameter.h:514
bool out_eband_terms
output the band energy terms separately
Definition input_parameter.h:402
std::string init_chg
"file","atomic"
Definition input_parameter.h:49
double relax_cg_thr
threshold when cg to bfgs, pengfei add 2011-08-15
Definition input_parameter.h:162
int pexsi_ordering
Definition input_parameter.h:623
bool init_vel
read velocity from STRU or not liuyu 2021-07-14
Definition input_parameter.h:52
double xc_temperature
only relevant if finite temperature functional is used
Definition input_parameter.h:84
int out_wfc_pw
0: no; 1: txt; 2: dat
Definition input_parameter.h:383
bool dip_cor_flag
dipole correction
Definition input_parameter.h:481
double vdw_d
damping parameter of d2
Definition input_parameter.h:517
MD_para mdp
Definition input_parameter.h:181
double cond_fwhm
FWHM for conductivities.
Definition input_parameter.h:452
double force_zero_out
invalid force threshold, mohan add 2011-04-17
Definition input_parameter.h:165
bool of_ml_tanhq
Descriptor: tanhq = tanh(chi_q * q)
Definition input_parameter.h:237
std::vector< std::string > exx_fock_lambda
Definition input_parameter.h:537
bool out_stru
outut stru file each ion step
Definition input_parameter.h:375
int estep_per_md
number of electronic steps per MD step
Definition input_parameter.h:299
double press2
Definition input_parameter.h:168
std::vector< std::string > relax_method
methods to move_ion: sd, bfgs, cg...
Definition input_parameter.h:157
double mixing_gg0_min
Definition input_parameter.h:111
int out_ndigits
Assuming 8 digits precision is needed for matrices output.
Definition input_parameter.h:406
std::vector< double > ocp_kb
OCP kb values.
Definition input_parameter.h:354
bool relax_new
Definition input_parameter.h:158
double ecutwfc
energy cutoff for wavefunctions
Definition input_parameter.h:36
int bndpar
parallel for stochastic/deterministic bands
Definition input_parameter.h:34
int dfthalf_type
DFT-1/2 type, 0:off, 1:shell DFT-1/2.
Definition input_parameter.h:132
int ndz
three dimension of FFT smooth charge density
Definition input_parameter.h:40
bool deepks_out_unittest
Definition input_parameter.h:286
std::vector< int > out_mat_hs
output H matrix and S matrix in local basis.
Definition input_parameter.h:393
int of_ml_feg
The Free Electron Gas limit: 0: no, 3: yes.
Definition input_parameter.h:224
double force_thr_ev
threshold of force in unit (eV/Angstrom)
Definition input_parameter.h:164
std::string vdw_C6_file
filename of C6
Definition input_parameter.h:519
int kpar
ecch pool is for one k point
Definition input_parameter.h:33
double scf_os_thr
drho threshold for oscillation
Definition input_parameter.h:124
bool timer_enable_nvtx
Definition input_parameter.h:74
std::string vdw_cutoff_type
Definition input_parameter.h:523
double exx_cs_inv_thr
threshold to inverse Vq in abfs for generating Cs
Definition input_parameter.h:566
std::vector< int > td_vext_dire
vector of vext direction
Definition input_parameter.h:303
int out_freq_elec
the frequency of electronic iter to output charge and wavefunction
Definition input_parameter.h:376
std::vector< int > of_ml_pnl
Descriptor: pnl = int{p(r') * w(r-r') dr'}.
Definition input_parameter.h:243
bool use_k_continuity
whether to use k-point continuity for initializing wave functions
Definition input_parameter.h:95
std::vector< int > of_ml_tanhxi
Descriptor: tanhxi = tanh(chi_xi * xi)
Definition input_parameter.h:246
double erf_sigma
the width of the energy step for reciprocal vectors
Definition input_parameter.h:45
bool of_cd
add CD potential or not
Definition input_parameter.h:711
double ref_cell_factor
Definition input_parameter.h:182
double of_lkt_a
parameter a of LKT KEDF
Definition input_parameter.h:208
int pexsi_nproc_pole
Definition input_parameter.h:629
double lcao_dk
delta k used in two center integral
Definition input_parameter.h:138
std::vector< int > of_ml_xi
Descriptor: xi = int{rho(r')^(1/3) * w(r-r') dr'} / rho^(1/3)
Definition input_parameter.h:245
std::string vdw_a1
damping parameter of d3_0/d3_bj
Definition input_parameter.h:515
double nc_k
the cut-off charge density
Definition input_parameter.h:505
int diag_subspace
Definition input_parameter.h:94
std::vector< double > xc_exch_ext
Definition input_parameter.h:704
std::string dft_functional
input DFT functional.
Definition input_parameter.h:83
int td_tstart
Definition input_parameter.h:316
double pw_diag_thr
used in cg method
Definition input_parameter.h:90
double pexsi_elec_thr
Definition input_parameter.h:639
double exx_c_grad_threshold
threshold to screen nabla C matrix in exx
Definition input_parameter.h:552
double ecutrho
energy cutoff for charge/potential
Definition input_parameter.h:37
double symmetry_prec
LiuXh add 2021-08-12, accuracy for symmetry.
Definition input_parameter.h:28
double td_print_eij
threshold to output Eij elements
Definition input_parameter.h:306
bool of_ml_tanhp
Descriptor: tanhp = tanh(chi_p * p)
Definition input_parameter.h:236
bool exx_coul_moment
whether to use moment method for Coulomb calculation
Definition input_parameter.h:572
double relax_bfgs_rmax
trust radius max
Definition input_parameter.h:172
double cond_dw
d\omega for conductivities
Definition input_parameter.h:447
int elpa_num_thread
Number of threads need to use in elpa.
Definition input_parameter.h:143
std::vector< int > out_mat_hs2
output H(R) and S(R) matrix with precision
Definition input_parameter.h:396
bool cal_force
calculate the force
Definition input_parameter.h:31
double pexsi_gap
Definition input_parameter.h:631
std::vector< int > of_ml_tanhq_nl
Descriptor: tanhq_nl = int{tanhq(r') * w(r-r') dr'}.
Definition input_parameter.h:251
double stress_thr
Pengfei Li 2017-11-01 ///<LiuXh update 20180515.
Definition input_parameter.h:166
std::string vdw_method
the method of calculating vdw (none; d2; d3_0; d3_bj)
Definition input_parameter.h:512
std::string vdw_s6
scale parameter of d2/d3_0/d3_bj
Definition input_parameter.h:513
double pexsi_mu
Definition input_parameter.h:635
int propagator
method of propagator
Definition input_parameter.h:308
double relax_bfgs_rmin
trust radius min
Definition input_parameter.h:173
bool out_wannier_unk
output UNK. file or not
Definition input_parameter.h:471
std::vector< std::string > qo_strategy
No specific values provided for qo_strategy.
Definition input_parameter.h:614
std::string td_trigo_amp
Definition input_parameter.h:346
double of_xwm_kappa
The parameter kappa of XWM KEDF.
Definition input_parameter.h:217
double search_radius
11.1
Definition input_parameter.h:141
bool t_in_h
calculate the T or not.
Definition input_parameter.h:645
double dos_scale
Definition input_parameter.h:431
int of_full_pw_dim
Definition input_parameter.h:211
std::string deepks_model
needed when deepks_scf=1
Definition input_parameter.h:288
std::vector< int > out_chg
output charge density. 0: no; 1: yes
Definition input_parameter.h:380
double initsto_ecut
maximum ecut to init stochastic bands
Definition input_parameter.h:267
bool out_wannier_eig
output .eig file or not
Definition input_parameter.h:472
std::string suffix
suffix of out put dir
Definition input_parameter.h:17
bool exx_gamma_extrapolation
Definition input_parameter.h:675
std::string td_gauss_t0
Definition input_parameter.h:329
double emax_sto
Emax to normalize H.
Definition input_parameter.h:265
double of_wt_rho0
set the average density of system, in Bohr^-3
Definition input_parameter.h:204
int ndy
Definition input_parameter.h:40
std::string xc_kernel
exchange correlation (XC) kernel for LR-TDDFT
Definition input_parameter.h:361
int test_relax_method
variables for test_relax_method only
Definition input_parameter.h:663
double rpa_ccp_rmesh_times
Definition input_parameter.h:564
double exx_v_grad_r_threshold
threshold to screen nabla V * R matrix in exx
Definition input_parameter.h:555
int exx_hybrid_step
Definition input_parameter.h:544
double vdw_cn_thr
radius cutoff for cn
Definition input_parameter.h:527
int deepks_out_labels
Definition input_parameter.h:275
int wannier_method
different implementation methods under Lcao basis set
Definition input_parameter.h:468
std::vector< int > deepks_band_range
the range of bands to calculate bandgap
Definition input_parameter.h:283
std::string vdw_C6_unit
unit of C6, Jnm6/mol or eVA6
Definition input_parameter.h:520
std::vector< int > out_ldos
ldos calculation
Definition input_parameter.h:386
double efield_pos_max
Definition input_parameter.h:483
int out_spillage
output the spillage of the wave function
Definition input_parameter.h:424
int nspin
LDA ; LSDA ; non-linear spin.
Definition input_parameter.h:88
int ndx
Definition input_parameter.h:40
bool out_mat_xc
Definition input_parameter.h:399
double press1
Definition input_parameter.h:167
int mem_saver
1: save psi when nscf calculation.
Definition input_parameter.h:63
double sigma_k
the width of the diffuse cavity
Definition input_parameter.h:504
std::vector< double > kspacing
kspacing for k-point generation
Definition input_parameter.h:66
bool lr_unrestricted
whether to use the unrestricted construction for LR-TDDFT
Definition input_parameter.h:365
double relax_scale_force
Definition input_parameter.h:160
int test_atom_input
variables for test_atom_input only
Definition input_parameter.h:654
bool vdw_abc
third-order term?
Definition input_parameter.h:518
std::string nnkpfile
Definition input_parameter.h:464
int out_current
output the current or not
Definition input_parameter.h:413
int bz
big mesh ball. 0: auto set bx/by/bz
Definition input_parameter.h:142
double dos_emin_ev
Definition input_parameter.h:428
double of_ml_chi_p
Hyperparameter: tanhp = tanh(chi_p * p)
Definition input_parameter.h:238
int deepks_bandgap
for bandgap label. QO added 2021-12-15
Definition input_parameter.h:282
double rdmft_power_alpha
Definition input_parameter.h:669
double exx_dm_threshold
threshold to screen density matrix in exx
Definition input_parameter.h:551
int out_dos
dos calculation. mohan add 20090909
Definition input_parameter.h:385
std::string vdw_radius_unit
unit of radius cutoff for periodic structure
Definition input_parameter.h:526
bool diago_smooth_ethr
smooth ethr for iter methods
Definition input_parameter.h:91
int out_freq_ion
Definition input_parameter.h:377
std::vector< std::string > exx_erfc_alpha
fraction of exchange erfc(wr)/r in hybrid functionals
Definition input_parameter.h:539
double scf_thr
\sum |rhog_out - rhog_in |^2
Definition input_parameter.h:119
double bessel_nao_sigma
spherical bessel smearing_sigma
Definition input_parameter.h:149
std::string wannier_spin
Definition input_parameter.h:466
int test_gridt
variables for test_gridt only
Definition input_parameter.h:660
bool out_wannier_wvfn_formatted
output UNK. file in text format or in binary format
Definition input_parameter.h:473
std::string vdw_a2
damping parameter of d3_bj
Definition input_parameter.h:516
double of_xwm_rho_ref
The reference density of XWM KEDF.
Definition input_parameter.h:218
int test_wf
variables for test_wf only
Definition input_parameter.h:656
std::string precision
Definition input_parameter.h:72
bool test_stress
test the stress.
Definition input_parameter.h:652
double exx_multip_moments_threshold
threshold to screen multipole moments in Coulomb calculation
Definition input_parameter.h:574
bool out_ri_cv
Whether to output the coefficient tensor C and ABFs-representation Coulomb matrix V.
Definition input_parameter.h:570
bool exx_separate_loop
Definition input_parameter.h:541
double soc_lambda
Definition input_parameter.h:130
double nelec
total number of electrons
Definition input_parameter.h:80
int pw_diag_ndim
dimension of workspace for Davidson diagonalization
Definition input_parameter.h:92
int scf_os_ndim
number of old iterations used for oscillation detection
Definition input_parameter.h:125
std::vector< int > out_pot
output potential
Definition input_parameter.h:382
double of_ml_chi_q
Hyperparameter: tanhq = tanh(chi_q * q)
Definition input_parameter.h:239
double pexsi_delta_e
Definition input_parameter.h:632
double exx_opt_orb_ecut
the cut-off of plane wave expansion for opt ABFs
Definition input_parameter.h:559
std::string pseudo_dir
directory of pseudopotential
Definition input_parameter.h:58
double press3
Definition input_parameter.h:169
std::string of_conv
Definition input_parameter.h:191
int test_deconstructor
variables for test_deconstructor only
Definition input_parameter.h:664
bool mixing_dftu
whether to mix locale in DFT+U
Definition input_parameter.h:114
int relax_nmax
number of max ionic iter
Definition input_parameter.h:161
double pexsi_mu_thr
Definition input_parameter.h:636
bool cal_stress
calculate the stress
Definition input_parameter.h:32
int pexsi_method
Definition input_parameter.h:628
bool scf_os_stop
whether to stop scf when oscillation is detected
Definition input_parameter.h:123
double of_wt_beta
parameter beta of WT KEDF
Definition input_parameter.h:200
int td_stype
type of space domain 0 : length gauge 1: velocity gauge
Definition input_parameter.h:309
double mixing_angle
Definition input_parameter.h:112
bool pexsi_symm
Definition input_parameter.h:626
bool out_proj_band
projected band structure calculation jiyy add 2022-05-11
Definition input_parameter.h:388
std::string deepks_out_base
(need libnpy) base functional for output files
Definition input_parameter.h:279
std::string input_file
input file name
Definition input_parameter.h:54
double pexsi_zero_thr
Definition input_parameter.h:640
std::string td_gauss_amp
V/A.
Definition input_parameter.h:330
double pexsi_temp
Definition input_parameter.h:630
std::vector< int > out_mat_t
output T(R) matrix with precision
Definition input_parameter.h:407
double scf_ene_thr
energy threshold for scf convergence, in eV
Definition input_parameter.h:120
double sccut
restriction of step size in eV/uB
Definition input_parameter.h:602
bool exxace
Definition input_parameter.h:674
std::string vdw_R0_file
filename of R0
Definition input_parameter.h:521
double td_lcut1
Definition input_parameter.h:321
double ecutexx
energy cutoff for exx calculation, Ry
Definition input_parameter.h:678
int test_charge
variables for test_vloc only
Definition input_parameter.h:658
std::vector< double > bessel_nao_rcuts
No specific values provided for bessel_nao_rcuts.
Definition input_parameter.h:147
std::string of_ml_device
Run NN on GPU or CPU.
Definition input_parameter.h:223
int omc
the mode of occupation matrix control
Definition input_parameter.h:582
std::string qo_basis
Definition input_parameter.h:611
std::string of_method
optimization method, include cg1, cg2, tn (default), bfgs
Definition input_parameter.h:190
double of_wt_alpha
parameter alpha of WT KEDF
Definition input_parameter.h:199
std::string stru_file
Definition input_parameter.h:55
bool lspinorb
consider the spin-orbit interaction
Definition input_parameter.h:128
std::string spillage_outdir
output directory for spillage
Definition input_parameter.h:425
int nche_sto
Definition input_parameter.h:262
int nbands
number of bands
Definition input_parameter.h:79
double dos_emax_ev
Definition input_parameter.h:429
bool of_hold_rho0
Definition input_parameter.h:205
bool out_unshrinked_v
whether to output the large Vq matrix in unshrinked auxiliary basis
Definition input_parameter.h:571
bool bessel_descriptor_smooth
spherical bessel smooth or not
Definition input_parameter.h:294
int npart_sto
for method_sto = 2, reduce memory
Definition input_parameter.h:260
int scf_nmax
number of max elec iter
Definition input_parameter.h:118
int ntype
number of atom types
Definition input_parameter.h:18
double smearing_sigma
Definition input_parameter.h:101
bool yukawa_potential
default: false
Definition input_parameter.h:579
std::vector< int > out_mat_tk
output T(k) matrix in local basis.
Definition input_parameter.h:394
std::string kpoint_file
file contains k-points – xiaohui modify 2015-02-01
Definition input_parameter.h:57
std::vector< int > out_mat_r
output r(R) matrix with precision
Definition input_parameter.h:409
bool cond_nonlocal
if calculate nonlocal effects
Definition input_parameter.h:453
double td_force_dt
"fs"
Definition input_parameter.h:300
std::string td_trape_t3
Definition input_parameter.h:338
bool rpa
rpa calculation
Definition input_parameter.h:418
ModuleBase::Vector3< int > vdw_cutoff_period
periods of periodic structure
Definition input_parameter.h:529
int pw_diag_nmax
Definition input_parameter.h:89
double sc_thr
threshold for spin-constrained DFT in uB
Definition input_parameter.h:597
std::string wannier_card
input card for wannier functions.
Definition input_parameter.h:62
double mixing_beta_mag
Definition input_parameter.h:109
double dos_edelta_ev
Definition input_parameter.h:430
std::vector< int > out_dmr
output density matrix in real space DM(R)
Definition input_parameter.h:390
std::vector< std::string > of_ml_kernel_file
The file of TKK.
Definition input_parameter.h:231
bool pexsi_comm
Definition input_parameter.h:621
double force_thr
threshold of force in unit (Ry/Bohr)
Definition input_parameter.h:163
int nsc_min
minimum number of inner lambda loop
Definition input_parameter.h:599
std::vector< double > qo_screening_coeff
No specific values provided for qo_screening_coeff.
Definition input_parameter.h:615
bool vnl_in_h
calculate the vnl or not.
Definition input_parameter.h:647
double mixing_beta
0 : no_mixing
Definition input_parameter.h:104
double sc_scf_thr
minimum number of outer scf loop before initial lambda loop
Definition input_parameter.h:603
std::string td_trape_freq
time(fs)^-1
Definition input_parameter.h:333
std::string exx_ccp_rmesh_times
Definition input_parameter.h:556
double block_down
low bound of the block
Definition input_parameter.h:495
double shrink_LU_inv_thr
threshold to get inverse of overlap matrix by LU decomposition in auxiliary basis representation
Definition input_parameter.h:569
std::string exx_singularity_correction
set the scheme of Coulomb singularity correction
Definition input_parameter.h:543
bool vl_in_h
calculate the vloc or not.
Definition input_parameter.h:646
std::string kmesh_type
k-point mesh type for kspacing-generated k-point mesh: gamma or mp
Definition input_parameter.h:68
double exx_v_grad_threshold
threshold to screen nabla V matrix in exx
Definition input_parameter.h:553
int test_symmetry
variables for test_lattice only
Definition input_parameter.h:655
std::vector< int > cal_symm_repr
output the symmetry representation matrix
Definition input_parameter.h:416
double of_mCD_alpha
parameter of modified CD potential
Definition input_parameter.h:712
double zgate
position of charged plate
Definition input_parameter.h:493
std::string abs_gauge
whether to use length or velocity gauge to calculate the absorption spectrum in LR-TDDFT
Definition input_parameter.h:369
std::vector< double > xc_corr_ext
Definition input_parameter.h:707
bool out_current_k
output tddft current for all k points
Definition input_parameter.h:414
int dos_nche
orders of Chebyshev expansions for dos
Definition input_parameter.h:433
std::string smearing_method
Definition input_parameter.h:97
std::string basis_type
xiaohui add 2013-09-01, for structural adjustment
Definition input_parameter.h:78
std::string of_kernel_file
The name of WT kernel file.
Definition input_parameter.h:216
int nsc
maximum number of inner lambda loop
Definition input_parameter.h:598
double efield_amp
amplitude of the electric field
Definition input_parameter.h:486
bool vh_in_h
calculate the hartree potential or not
Definition input_parameter.h:648
std::vector< int > out_dmk
output density matrix in reciprocal space DM(k)
Definition input_parameter.h:391
bool gate_flag
compensating charge or not
Definition input_parameter.h:492
int of_ml_nkernel
Number of kernels.
Definition input_parameter.h:226
bool out_efield
output the efield or not
Definition input_parameter.h:412
std::string mixing_mode
"plain","broyden",...
Definition input_parameter.h:103
int cond_smear
smearing method for conductivities 1: Gaussian 2: Lorentzian
Definition input_parameter.h:451
std::string esolver_type
the energy solver: ksdft, sdft, ofdft, tddft, lj, dp
Definition input_parameter.h:22
double of_vw_weight
weight of vW KEDF
Definition input_parameter.h:198
double min_dist_coef
allowed minimum distance between two atoms
Definition input_parameter.h:69
bool dft_plus_dmft
true:DFT+DMFT; false: standard DFT calcullation(default)
Definition input_parameter.h:578
bool dm_to_rho
read density matrix from npz format and calculate charge density
Definition input_parameter.h:50
std::vector< int > of_ml_gammanl
Descriptor: gammanl = int{gamma(r') * w(r-r') dr'}.
Definition input_parameter.h:242
double nelec_delta
change in the number of total electrons
Definition input_parameter.h:81
bool exx_rotate_abfs
whether to rotate auxiliary basis for Coulomb calculation
Definition input_parameter.h:573
std::string exx_thr_type
threshold type for exx outer loop
Definition input_parameter.h:676
std::vector< int > of_ml_kernel
Type of kernel, 1 for wt, 2 for yukawa, and 3 for TKK.
Definition input_parameter.h:227
int nbands_sto
number of stochastic bands //qianrui 2021-2-5
Definition input_parameter.h:261
bool decay_grad_switch
Definition input_parameter.h:595
int exx_opt_orb_lmax
the maximum l of the spherical Bessel functions for opt ABFs
Definition input_parameter.h:558
int sc_os_ndim
number of old iterations used for oscillation detection in Spin-Constrained DFT
Definition input_parameter.h:126
double bessel_nao_tolerence
tolerance for spherical bessel root
Definition input_parameter.h:146
std::string bessel_nao_ecut
energy cutoff for spherical bessel functions(Ry)
Definition input_parameter.h:145
std::vector< std::string > lr_init_xc_kernel
The method to initalize the xc kernel.
Definition input_parameter.h:358
double dmax
maximum displacement of all atoms in one step (bohr)
Definition input_parameter.h:185
int diago_proc
the number of procs used to diag. mohan add 2012-01-13
Definition input_parameter.h:64
int pw_seed
random seed for initializing wave functions
Definition input_parameter.h:48
double exx_v_threshold
threshold to screen C matrix in exx
Definition input_parameter.h:550
double mixing_gg0
used in kerker method
Definition input_parameter.h:108
std::vector< int > of_ml_tanhp_nl
Descriptor: tanhp_nl = int{tanhp(r') * w(r-r') dr'}.
Definition input_parameter.h:250
bool sc_mag_switch
Definition input_parameter.h:593
std::vector< int > aims_nbasis
the number of basis functions for each atom type used in FHI-aims (for benchmark)
Definition input_parameter.h:373
int nb2d
matrix 2d division.
Definition input_parameter.h:135
double bessel_descriptor_rcut
radial cutoff for spherical bessel functions(a.u.)
Definition input_parameter.h:293
double exx_c_threshold
threshold to screen C matrix in exx
Definition input_parameter.h:549
std::string fixed_axes
which axes are fixed
Definition input_parameter.h:175
std::vector< int > out_wfc_re_im
specify the bands to be calculated for real and imaginary parts of wfc
Definition input_parameter.h:421
std::vector< int > out_mat_ds
output dS/dR matrices with precision
Definition input_parameter.h:398
bool init_vecpot_file
initialize the vector potential, though file or integral
Definition input_parameter.h:305
double sc_drop_thr
threshold for lambda-loop threshold cutoff in spin-constrained DFT
Definition input_parameter.h:604
bool of_ml_q
Descriptor: q = nabla^2 rho / [4 (3 pi^2)^(2/3) rho^(5/3)].
Definition input_parameter.h:235
bool of_full_pw
Definition input_parameter.h:209
int sc_scf_nmin
minimum number of outer scf loop before initial lambda loop
Definition input_parameter.h:600
std::string bessel_descriptor_ecut
energy cutoff for spherical bessel functions(Ry)
Definition input_parameter.h:291
int out_freq_td
output interval in RT-TDDFT
Definition input_parameter.h:379
double nupdown
Definition input_parameter.h:82
double td_dt
time step for propagation
Definition input_parameter.h:298
int ny
Definition input_parameter.h:39
bool of_ml_local_test
Test: read in the density, and output the F and Pauli potential.
Definition input_parameter.h:255
bool pexsi_inertia
Definition input_parameter.h:619
double pexsi_mu_lower
Definition input_parameter.h:633
bool restart_load
Definition input_parameter.h:61
double pexsi_mu_guard
Definition input_parameter.h:638
double block_up
high bound of the block
Definition input_parameter.h:496
int test_energy
variables for test_energy only
Definition input_parameter.h:659
std::vector< int > out_elf
output the electron localization function (ELF). 0: no; 1: yes
Definition input_parameter.h:423
double uramping_eV
U-Ramping method (eV)
Definition input_parameter.h:581
int test_pseudo_cell
variables for test_pseudo_cell only
Definition input_parameter.h:661
int initsto_freq
frequency to init stochastic orbitals when running md
Definition input_parameter.h:268
std::string device
Definition input_parameter.h:71
std::vector< int > out_band
band calculation pengfei 2014-10-13
Definition input_parameter.h:384
std::vector< double > stm_bias
bias voltage for STM (start value, step, number)
Definition input_parameter.h:434
std::string vdw_cn_thr_unit
unit of cn_thr, Bohr or Angstrom
Definition input_parameter.h:528
std::vector< double > of_ml_chi_pnl
Hyperparameter: tanh_pnl = tanh(chi_pnl * pnl)
Definition input_parameter.h:253
bool deepks_equiv
whether to use equivariant version of DeePKS
Definition input_parameter.h:285
std::string td_gauss_freq
time(fs)^-1
Definition input_parameter.h:326
double shrink_abfs_pca_thr
threshold to shrink auxiliary basis for GW/RPA
Definition input_parameter.h:567
bool towannier90
Definition input_parameter.h:462
double eb_k
the relative permittivity of the bulk solvent
Definition input_parameter.h:502
int lmaxmax
maximum of l channels used
Definition input_parameter.h:136
bool ml_exx
use ML EXX or not
Definition input_parameter.h:269
double of_tole
Definition input_parameter.h:193
bool gamma_only
for plane wave.
Definition input_parameter.h:117
double bessel_descriptor_sigma
spherical bessel smearing_sigma
Definition input_parameter.h:295
int test_pp
variables for test_pp only
Definition input_parameter.h:662
double qo_thr
Definition input_parameter.h:613
input parameters used in md
Definition md_parameter.h:12