Skip to content

Commit 800987a

Browse files
authored
Refactor:Change the variable type. (#5201)
* update the varibale type * fix the wrong variable
1 parent 03742af commit 800987a

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

source/module_parameter/input_parameter.h

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -561,27 +561,27 @@ struct Input_para
561561
double pexsi_zero_thr = 1e-10;
562562

563563
// ============== #Parameters (20.Test) ====================
564-
bool out_alllog = false; ///< output all logs.
565-
int nurse = 0; ///< used for debug.
566-
bool t_in_h = true; ///< calculate the T or not.
567-
bool vl_in_h = true; ///< calculate the vloc or not.
568-
bool vnl_in_h = true; ///< calculate the vnl or not.
569-
bool vh_in_h = true; ///< calculate the hartree potential or not
570-
bool vion_in_h = true; ///< calculate the local ionic potential or not
571-
///< //only relevant when vl_in_h = 1
572-
bool test_force = false; ///< test the force.
573-
bool test_stress = false; ///< test the stress.
574-
bool test_skip_ewald = false; ///< variables for test only
575-
bool test_atom_input = false; ///< variables for test_atom_input only
576-
bool test_symmetry = false; ///< variables for test_lattice only
577-
int test_wf = 0; ///< variables for test_wf only
578-
int test_grid = false; ///< variables for test_grid only
579-
bool test_charge = false; ///< variables for test_vloc only
580-
bool test_energy = false; ///< variables for test_energy only
581-
bool test_gridt = false; ///< variables for test_gridt only
582-
bool test_pseudo_cell = false; ///< variables for test_pseudo_cell only
583-
int test_pp = 0; ///< variables for test_pp only
584-
bool test_relax_method = false; ///< variables for test_relax_method only
585-
int test_deconstructor = false; ///< variables for test_deconstructor only
564+
bool out_alllog = false; ///< output all logs.
565+
int nurse = 0; ///< used for debug.
566+
bool t_in_h = true; ///< calculate the T or not.
567+
bool vl_in_h = true; ///< calculate the vloc or not.
568+
bool vnl_in_h = true; ///< calculate the vnl or not.
569+
bool vh_in_h = true; ///< calculate the hartree potential or not
570+
bool vion_in_h = true; ///< calculate the local ionic potential or not
571+
///< //only relevant when vl_in_h = 1
572+
bool test_force = false; ///< test the force.
573+
bool test_stress = false; ///< test the stress.
574+
bool test_skip_ewald = false; ///< variables for test only
575+
int test_atom_input = false; ///< variables for test_atom_input only
576+
int test_symmetry = false; ///< variables for test_lattice only
577+
int test_wf = 0; ///< variables for test_wf only
578+
int test_grid = false; ///< variables for test_grid only
579+
int test_charge = false; ///< variables for test_vloc only
580+
int test_energy = false; ///< variables for test_energy only
581+
int test_gridt = false; ///< variables for test_gridt only
582+
int test_pseudo_cell = false; ///< variables for test_pseudo_cell only
583+
int test_pp = 0; ///< variables for test_pp only
584+
int test_relax_method = false; ///< variables for test_relax_method only
585+
int test_deconstructor = false; ///< variables for test_deconstructor only
586586
};
587587
#endif

0 commit comments

Comments
 (0)