Skip to content

Commit b147a56

Browse files
authored
Add files via upload
1 parent 606fccd commit b147a56

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

source/source_io/td_current_io_comm.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "source_lcao/module_operator_lcao/op_exx_lcao.h"
2121
#include "source_lcao/module_ri/Exx_LRI.h"
2222
#endif
23-
23+
#ifdef __LCAO
2424
template <typename TR, typename TA>
2525
void ModuleIO::init_from_hR(const hamilt::HContainer<TR>* hR, hamilt::HContainer<TA>* aimR)
2626
{
@@ -202,8 +202,9 @@ void ModuleIO::sum_HR(
202202
const Parallel_Orbitals& pv,
203203
const K_Vectors& kv,
204204
const hamilt::HContainer<TR>* hR,
205-
hamilt::HContainer<std::complex<double>>* full_hR,
205+
hamilt::HContainer<std::complex<double>>* full_hR
206206
#ifdef __EXX
207+
,
207208
const std::vector<std::map<int, std::map<std::pair<int, std::array<int, 3>>, RI::Tensor<std::complex<double>>>>>*
208209
Hexxs
209210
#endif
@@ -920,4 +921,5 @@ void ModuleIO::write_current<std::complex<double>>(
920921
,
921922
const std::vector<std::map<int, std::map<std::pair<int, std::array<int, 3>>, RI::Tensor<std::complex<double>>>>>* Hexxs
922923
#endif
923-
);
924+
);
925+
#endif //__LCAO

0 commit comments

Comments
 (0)