ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
evolve_psi.h
Go to the documentation of this file.
1
6#ifndef ELEC_PSI_H
7#define ELEC_PSI_H
8
13
14namespace module_rt
15{
16void evolve_psi(const int nband,
17 const int nlocal,
18 const Parallel_Orbitals* pv,
19 hamilt::Hamilt<std::complex<double>>* p_hamilt,
20 std::complex<double>* psi_k,
21 std::complex<double>* psi_k_laststep,
22 std::complex<double>* H_laststep,
23 std::complex<double>* S_laststep,
24 double* ekb,
25 int propagator,
26 std::ofstream& ofs_running,
27 const int print_matrix);
28
29template <typename Device>
30void evolve_psi_tensor(const int nband,
31 const int nlocal,
32 const Parallel_Orbitals* pv,
33 hamilt::Hamilt<std::complex<double>>* p_hamilt,
34 ct::Tensor& psi_k,
35 ct::Tensor& psi_k_laststep,
36 ct::Tensor& H_laststep,
37 ct::Tensor& S_laststep,
38 ct::Tensor& ekb,
39 int propagator,
40 std::ofstream& ofs_running,
41 const int print_matrix,
42 const bool use_lapack);
43} // namespace module_rt
44
45#endif
Definition parallel_orbitals.h:9
A multi-dimensional array of elements of a single data type.
Definition tensor.h:32
Definition hamilt.h:16
void print_matrix(std::ofstream &fp, T *matrix, int &nrow, int &ncol, bool row_first)
Definition diago_lapack_test.cpp:92
Definition band_energy.cpp:11
void evolve_psi(const int nband, const int nlocal, const Parallel_Orbitals *pv, hamilt::Hamilt< std::complex< double > > *p_hamilt, std::complex< double > *psi_k, std::complex< double > *psi_k_laststep, std::complex< double > *H_laststep, std::complex< double > *S_laststep, double *ekb, int propagator, std::ofstream &ofs_running, const int print_matrix)
Definition evolve_psi.cpp:20
void evolve_psi_tensor(const int nband, const int nlocal, const Parallel_Orbitals *pv, hamilt::Hamilt< std::complex< double > > *p_hamilt, ct::Tensor &psi_k, ct::Tensor &psi_k_laststep, ct::Tensor &H_laststep, ct::Tensor &S_laststep, ct::Tensor &ekb, int propagator, std::ofstream &ofs_running, const int print_matrix, const bool use_lapack)
Definition evolve_psi.cpp:126