ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
vxc_op_r.h
Go to the documentation of this file.
1#ifndef VXC_OP_R_H
2#define VXC_OP_R_H
3
9#include "source_cell/klist.h"
12
13#include <complex>
14#include <fstream>
15#include <map>
16#include <string>
17#include <vector>
18
19#ifdef __EXX
22#endif
23
24namespace ModuleIO
25{
26
33template <typename TK, typename TR>
34void write_Vxc_R(const int nspin,
35 const Parallel_Orbitals* pv,
36 const UnitCell& ucell,
37 Structure_Factor& sf,
38 surchem& solvent,
39 const ModulePW::PW_Basis& rho_basis,
40 const ModulePW::PW_Basis& rhod_basis,
41 const ModuleBase::matrix& vloc,
42 const Charge& chg,
43 const K_Vectors& kv,
44 const std::vector<double>& orb_cutoff,
45 Grid_Driver& gd,
46 const std::string& global_out_dir,
47 bool cal_exx,
48 double hybrid_alpha,
49 bool real_number,
50 const int istep
51#ifdef __EXX
52 ,
53 const std::vector<std::map<int, std::map<hamilt::TAC, RI::Tensor<double>>>>* Hexxd,
54 const std::vector<std::map<int, std::map<hamilt::TAC, RI::Tensor<std::complex<double>>>>>* Hexxc
55#endif
56 ,
57 const double sparse_thr,
58 const int precision,
59 std::ofstream& ofs_running);
60
61} // namespace ModuleIO
62
63#endif // VXC_OP_R_H
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8
void write_Vxc_R(const int nspin, const Parallel_Orbitals *pv, const UnitCell &ucell, Structure_Factor &sf, surchem &solvent, const ModulePW::PW_Basis &rho_basis, const ModulePW::PW_Basis &rhod_basis, const ModuleBase::matrix &vloc, const Charge &chg, const K_Vectors &kv, const std::vector< double > &orb_cutoff, Grid_Driver &gd, const std::string &global_out_dir, bool cal_exx, double hybrid_alpha, bool real_number, const int istep, const double sparse_thr, const int precision, std::ofstream &ofs_running)
Write the Vxc matrix in real space (R), useful for GW calculation including terms: local/semi-local X...
Definition vxc_op_r.cpp:24