ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
td_eij_pw.cpp File Reference
#include "source_io/module_energy/td_eij_pw.h"
#include "source_base/parallel_device.h"
#include "source_base/timer.h"
#include "source_io/module_energy/td_eij_io.h"
#include <algorithm>
#include <limits>
#include <vector>
Include dependency graph for td_eij_pw.cpp:

Namespaces

namespace  ModuleIO
 Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in each anonymous namespace) so the header layout, R records and file-append rules cannot diverge between hs_sparse_io.cpp, dhs_sparse_writer.cpp, pos_op_csr.cpp, hsr_writer.cpp and write_dmr.cpp.

Functions

template<typename T, typename Device>
void ModuleIO::print_eij_pw (hsolver::HSOperator< T, Device > &op, hsolver::TDOrbOps< T, Device > &orbitals, psi::Psi< T, Device > &current, const K_Vectors &kv, int nspin, int step, int iter, double threshold, std::ostream &log)
 Collect and print Eij from an already bound endpoint Hamiltonian. All ranks participate; both k-point cursors are restored before returning.
template void ModuleIO::print_eij_pw (hsolver::HSOperator< std::complex< float >, base_device::DEVICE_CPU > &, hsolver::TDOrbOps< std::complex< float >, base_device::DEVICE_CPU > &, psi::Psi< std::complex< float >, base_device::DEVICE_CPU > &, const K_Vectors &, int, int, int, double, std::ostream &)
template void ModuleIO::print_eij_pw (hsolver::HSOperator< std::complex< double >, base_device::DEVICE_CPU > &, hsolver::TDOrbOps< std::complex< double >, base_device::DEVICE_CPU > &, psi::Psi< std::complex< double >, base_device::DEVICE_CPU > &, const K_Vectors &, int, int, int, double, std::ostream &)