Skip to content

Commit 767fa83

Browse files
author
abacus_fixer
committed
replace tab with blank in write_HS_R.cpp
1 parent dd7585a commit 767fa83

1 file changed

Lines changed: 42 additions & 42 deletions

File tree

source/source_io/module_hs/write_HS_R.cpp

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ void ModuleIO::output_HSR(const UnitCell& ucell,
1818
const Parallel_Orbitals& pv,
1919
LCAO_HS_Arrays& HS_Arrays,
2020
const Grid_Driver& grid, // mohan add 2024-04-06
21-
const K_Vectors& kv,
22-
Plus_U &dftu, // mohan add 20251107
23-
hamilt::Hamilt<TK>* p_ham,
21+
const K_Vectors& kv,
22+
Plus_U &dftu, // mohan add 20251107
23+
hamilt::Hamilt<TK>* p_ham,
2424
#ifdef __EXX
2525
const std::vector<std::map<int, std::map<TAC, RI::Tensor<double>>>>* Hexxd,
2626
const std::vector<std::map<int, std::map<TAC, RI::Tensor<std::complex<double>>>>>* Hexxc,
@@ -48,19 +48,19 @@ void ModuleIO::output_HSR(const UnitCell& ucell,
4848
{
4949
const int spin_now = 0;
5050
// jingan add 2021-6-4, modify 2021-12-2
51-
sparse_format::cal_HSR(ucell,
52-
dftu, // mohan add 20251107
53-
pv,
54-
HS_Arrays,
55-
grid,
56-
spin_now,
57-
sparse_thr,
58-
kv.nmp,
59-
p_ham
51+
sparse_format::cal_HSR(ucell,
52+
dftu, // mohan add 20251107
53+
pv,
54+
HS_Arrays,
55+
grid,
56+
spin_now,
57+
sparse_thr,
58+
kv.nmp,
59+
p_ham
6060
#ifdef __EXX
61-
,
62-
Hexxd,
63-
Hexxc
61+
,
62+
Hexxd,
63+
Hexxc
6464
#endif
6565
);
6666
}
@@ -69,21 +69,21 @@ void ModuleIO::output_HSR(const UnitCell& ucell,
6969
int spin_now = 1;
7070

7171
// save HR of spin down first (the current spin always be down)
72-
sparse_format::cal_HSR(ucell,
73-
dftu,
74-
pv,
75-
HS_Arrays,
76-
grid,
77-
spin_now,
78-
sparse_thr,
79-
kv.nmp,
80-
p_ham
72+
sparse_format::cal_HSR(ucell,
73+
dftu,
74+
pv,
75+
HS_Arrays,
76+
grid,
77+
spin_now,
78+
sparse_thr,
79+
kv.nmp,
80+
p_ham
8181
#ifdef __EXX
82-
,
83-
Hexxd,
84-
Hexxc
82+
,
83+
Hexxd,
84+
Hexxc
8585
#endif
86-
);
86+
);
8787

8888
// cal HR of the spin up
8989
if (PARAM.inp.vl_in_h)
@@ -94,19 +94,19 @@ void ModuleIO::output_HSR(const UnitCell& ucell,
9494
spin_now = 0;
9595
}
9696

97-
sparse_format::cal_HSR(ucell,
98-
dftu,
99-
pv,
100-
HS_Arrays,
101-
grid,
102-
spin_now,
103-
sparse_thr,
104-
kv.nmp,
105-
p_ham
97+
sparse_format::cal_HSR(ucell,
98+
dftu,
99+
pv,
100+
HS_Arrays,
101+
grid,
102+
spin_now,
103+
sparse_thr,
104+
kv.nmp,
105+
p_ham
106106
#ifdef __EXX
107-
,
108-
Hexxd,
109-
Hexxc
107+
,
108+
Hexxd,
109+
Hexxc
110110
#endif
111111
);
112112
}
@@ -307,7 +307,7 @@ template void ModuleIO::output_HSR<double>(
307307
LCAO_HS_Arrays& HS_Arrays,
308308
const Grid_Driver& grid,
309309
const K_Vectors& kv,
310-
Plus_U &dftu, // mohan add 20251107
310+
Plus_U &dftu, // mohan add 20251107
311311
hamilt::Hamilt<double>* p_ham,
312312
#ifdef __EXX
313313
const std::vector<std::map<int, std::map<TAC, RI::Tensor<double>>>>* Hexxd,
@@ -326,7 +326,7 @@ template void ModuleIO::output_HSR<std::complex<double>>(
326326
LCAO_HS_Arrays& HS_Arrays,
327327
const Grid_Driver& grid,
328328
const K_Vectors& kv,
329-
Plus_U &dftu, // mohan add 20251107
329+
Plus_U &dftu, // mohan add 20251107
330330
hamilt::Hamilt<std::complex<double>>* p_ham,
331331
#ifdef __EXX
332332
const std::vector<std::map<int, std::map<TAC, RI::Tensor<double>>>>* Hexxd,

0 commit comments

Comments
 (0)