ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
edm_tddft.h
Go to the documentation of this file.
1#ifndef EDM_TDDFT_H
2#define EDM_TDDFT_H
3
7
8namespace module_dm
9{
10// Compute one k point from host matrices in the supplied block-cyclic layout.
11// H, S and DMK are borrowed, read-only inputs; EDM keeps the DMK storage convention.
12void edm_tddft(const Parallel_Blkcyclic& layout,
13 const ModuleBase::MatrixBlock<std::complex<double>>& h_mat,
14 const ModuleBase::MatrixBlock<std::complex<double>>& s_mat,
15 std::complex<double>* dmk,
16 ModuleBase::ComplexMatrix& edmk);
17
18template <typename Device>
19void edm_tddft_lapack(const Parallel_Blkcyclic& layout,
20 const ModuleBase::MatrixBlock<std::complex<double>>& h_mat,
21 const ModuleBase::MatrixBlock<std::complex<double>>& s_mat,
22 std::complex<double>* dmk,
23 ModuleBase::ComplexMatrix& edmk);
24} // namespace module_dm
25#endif // EDM_TDDFT_H
Definition density_matrix.cpp:13
void edm_tddft(const Parallel_Blkcyclic &layout, const ModuleBase::MatrixBlock< std::complex< double > > &h_mat, const ModuleBase::MatrixBlock< std::complex< double > > &s_mat, std::complex< double > *dmk, ModuleBase::ComplexMatrix &edmk)
Definition edm_tddft.cpp:15
void edm_tddft_lapack(const Parallel_Blkcyclic &layout, const ModuleBase::MatrixBlock< std::complex< double > > &h_mat, const ModuleBase::MatrixBlock< std::complex< double > > &s_mat, std::complex< double > *dmk, ModuleBase::ComplexMatrix &edmk)
Definition edm_tddft_lapack.cpp:23