1#ifndef INPUT_CONV_TEST_H
2#define INPUT_CONV_TEST_H
16#include "source_lcao/module_rt/td_velocity.h"
33bool TD_Velocity::out_current;
34bool TD_Velocity::out_current_k;
35bool TD_Velocity::out_vecpot;
36bool TD_Velocity::init_vecpot_file;
62bool TD_Velocity::tddft_velocity;
63bool TD_Velocity::out_mat_R;
153 itia2iat.create(1, 1);
165 const std::string& smearing_method,
166 const double& smearing_sigma) {
173 const int& lmaxmax_in,
174 const bool& init_vel_in,
175 const std::string& fixed_axes_in) {
176 this->latName = latname_in;
177 this->ntype = ntype_in;
178 this->lmaxmax = lmaxmax_in;
181 if (fixed_axes_in ==
"None") {
185 }
else if (fixed_axes_in ==
"volume") {
192 "there are bugs in the old implementation; set relax_new to be "
193 "1 for fixed_volume relaxation");
195 }
else if (fixed_axes_in ==
"shape") {
199 "set relax_new to be 1 for fixed_shape relaxation");
204 }
else if (fixed_axes_in ==
"a") {
208 }
else if (fixed_axes_in ==
"b") {
212 }
else if (fixed_axes_in ==
"c") {
216 }
else if (fixed_axes_in ==
"ab") {
220 }
else if (fixed_axes_in ==
"ac") {
224 }
else if (fixed_axes_in ==
"bc") {
228 }
else if (fixed_axes_in ==
"abc") {
235 "fixed_axes should be None,volume,shape,a,b,c,ab,ac,bc or abc!");
246 const std::string& file_dir,
248 double& temperature) {
260int PEXSI_Solver::pexsi_npole = 0;
261bool PEXSI_Solver::pexsi_inertia = 0;
262int PEXSI_Solver::pexsi_nmax = 0;
264bool PEXSI_Solver::pexsi_comm = 0;
265bool PEXSI_Solver::pexsi_storage = 0;
266int PEXSI_Solver::pexsi_ordering = 0;
267int PEXSI_Solver::pexsi_row_ordering = 0;
268int PEXSI_Solver::pexsi_nproc = 0;
269bool PEXSI_Solver::pexsi_symm = 0;
270bool PEXSI_Solver::pexsi_trans = 0;
271int PEXSI_Solver::pexsi_method = 0;
272int PEXSI_Solver::pexsi_nproc_pole = 0;
274double PEXSI_Solver::pexsi_temp = 0.0;
275double PEXSI_Solver::pexsi_gap = 0.0;
276double PEXSI_Solver::pexsi_delta_e = 0.0;
277double PEXSI_Solver::pexsi_mu_lower = 0.0;
278double PEXSI_Solver::pexsi_mu_upper = 0.0;
279double PEXSI_Solver::pexsi_mu = 0.0;
280double PEXSI_Solver::pexsi_mu_thr = 0.0;
281double PEXSI_Solver::pexsi_mu_expand = 0.0;
282double PEXSI_Solver::pexsi_mu_guard = 0.0;
283double PEXSI_Solver::pexsi_elec_thr = 0.0;
284double PEXSI_Solver::pexsi_zero_thr = 0.0;
static double relax_bfgs_w1
Definition bfgs_basic.h:38
static double relax_bfgs_w2
Definition bfgs_basic.h:39
~Charge_Mixing()
Definition charge_mixing.cpp:13
Charge_Mixing()
Definition charge_mixing.cpp:9
~Fcoef()
Definition klist_test.cpp:83
InfoNonlocal()
Definition klist_test.cpp:44
~InfoNonlocal()
Definition klist_test.cpp:47
static double RELAX_CG_THR
Definition ions_move_cg.h:15
LCAO_Orbitals()
PLEASE avoid using 'ORB' as global variable.
Definition ORB_read.cpp:19
~LCAO_Orbitals()
Definition ORB_read.cpp:34
Magnetism()
Definition sltk_atom_arrange_test.cpp:27
~Magnetism()
Definition sltk_atom_arrange_test.cpp:33
DFTU()
Definition for_testing_input_conv.h:139
~DFTU()
Definition for_testing_input_conv.h:142
static int symm_flag
Definition symmetry.h:30
static bool symm_autoclose
Definition symmetry.h:31
ORB_gaunt_table()
Definition ORB_gaunt_table.cpp:12
~ORB_gaunt_table()
Definition ORB_gaunt_table.cpp:13
static void decision(const std::string &name, const std::string &smearing_method, const double &smearing_sigma)
Definition occupy.cpp:28
Input_para input
Definition parameter.h:45
~Soc()
Definition klist_test.cpp:80
~Structure_Factor()
Definition charge_extra_test.cpp:89
Structure_Factor()
Definition charge_extra_test.cpp:86
~UnitCell()
Definition symmetry_test_analysis.cpp:34
UnitCell()
Definition symmetry_test_analysis.cpp:33
void setup(const std::string &latname_in, const int &ntype_in, const int &lmaxmax_in, const bool &init_vel_in, const std::string &fixed_axes_in)
Definition mock_unitcell.cpp:31
static bool berry_phase_flag
Definition berryphase.h:24
static double efield_pos_max
Definition efield.h:47
static double efield_pos_dec
Definition efield.h:48
static double efield_amp
Definition efield.h:49
static int efield_dir
Definition efield.h:46
static bool block
Definition gatefield.h:29
static double block_height
Definition gatefield.h:32
static double block_up
Definition gatefield.h:31
static double block_down
Definition gatefield.h:30
static double zgate
Definition gatefield.h:27
static bool relax
Definition gatefield.h:28
static double dt
Definition H_TDDFT_pw.h:61
static std::vector< double > heavi_t0
Definition H_TDDFT_pw.h:113
static std::vector< double > gauss_t0
Definition H_TDDFT_pw.h:84
static std::vector< double > gauss_amp
Definition H_TDDFT_pw.h:85
static std::vector< double > trape_phase
Definition H_TDDFT_pw.h:93
static std::vector< int > trape_ncut
Definition H_TDDFT_pw.h:99
static int tend
Definition H_TDDFT_pw.h:60
static std::vector< double > trape_amp
Definition H_TDDFT_pw.h:97
static int stype
Definition H_TDDFT_pw.h:51
static int heavi_count
Definition H_TDDFT_pw.h:112
static std::vector< double > trape_t1
Definition H_TDDFT_pw.h:94
static double dt_int
Definition H_TDDFT_pw.h:63
static int gauss_count
Definition H_TDDFT_pw.h:80
static std::vector< double > gauss_phase
Definition H_TDDFT_pw.h:82
static int trigo_count
Definition H_TDDFT_pw.h:102
static std::vector< double > trape_t2
Definition H_TDDFT_pw.h:95
static std::vector< int > gauss_ncut
Definition H_TDDFT_pw.h:88
static std::vector< int > ttype
Definition H_TDDFT_pw.h:53
static std::vector< double > trape_t3
Definition H_TDDFT_pw.h:96
static std::vector< double > trigo_phase1
Definition H_TDDFT_pw.h:105
static std::vector< double > trape_omega
Definition H_TDDFT_pw.h:92
static std::vector< double > gauss_omega
Definition H_TDDFT_pw.h:81
static std::vector< double > trigo_phase2
Definition H_TDDFT_pw.h:106
static int trape_count
Definition H_TDDFT_pw.h:91
static std::vector< double > heavi_amp
Definition H_TDDFT_pw.h:114
static double lcut1
Definition H_TDDFT_pw.h:69
static std::vector< double > trigo_omega2
Definition H_TDDFT_pw.h:104
static double lcut2
Definition H_TDDFT_pw.h:70
static std::vector< double > trigo_amp
Definition H_TDDFT_pw.h:107
static int tstart
Definition H_TDDFT_pw.h:59
static std::vector< double > gauss_sigma
Definition H_TDDFT_pw.h:83
static std::vector< double > trigo_omega1
Definition H_TDDFT_pw.h:103
static std::vector< int > trigo_ncut
Definition H_TDDFT_pw.h:109
~pseudopot_cell_vl()
Definition klist_test.cpp:71
pseudopot_cell_vl()
Definition klist_test.cpp:68
pseudopot_cell_vnl()
Definition klist_test.cpp:74
~pseudopot_cell_vnl()
Definition klist_test.cpp:77
Definition cal_epsilon_test.cpp:31
ModuleDFTU::DFTU dftu
Definition for_testing_input_conv.h:254
Restart restart
Definition for_testing_input_conv.h:255
int out_stru
Definition for_testing_input_conv.h:103
double relax_bfgs_rmin
Definition for_testing_input_conv.h:101
double relax_bfgs_rmax
Definition for_testing_input_conv.h:100
double relax_bfgs_init
Definition for_testing_input_conv.h:102
std::string fixed_axes
Definition for_testing_input_conv.h:105
base functions in md
Definition for_testing_input_conv.h:244
void current_md_info(const int &my_rank, const std::string &file_dir, int &md_step, double &temperature)
determine thr current md step and temperature
Definition for_testing_input_conv.h:245
void init_vel(const UnitCell &unit_in, const int &my_rank, const bool &restart, double &temperature, double *allmass, int &frozen_freedom, ModuleBase::Vector3< int > *ionmbl, ModuleBase::Vector3< double > *vel)
initialize the atomic velocities
Definition md_func.cpp:186
void WARNING_QUIT(const std::string &, const std::string &)
Combine the functions of WARNING and QUIT.
Definition test_delley.cpp:14
Definition dist_bcd_matrix.h:12
Parameter PARAM
Definition parameter.cpp:3