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 htype,
26 int propagator,
27 std::ofstream& ofs_running,
28 const int print_matrix);
29
30template <typename Device>
31void evolve_psi_tensor(const int nband,
32 const int nlocal,
33 const Parallel_Orbitals* pv,
34 hamilt::Hamilt<std::complex<double>>* p_hamilt,
35 ct::Tensor& psi_k,
36 ct::Tensor& psi_k_laststep,
37 ct::Tensor& H_laststep,
38 ct::Tensor& S_laststep,
39 ct::Tensor& ekb,
40 int htype,
41 int propagator,
42 std::ofstream& ofs_running,
43 const int print_matrix,
44 const bool use_lapack);
45} // namespace module_rt
46
47#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 htype, 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 htype, int propagator, std::ofstream &ofs_running, const int print_matrix, const bool use_lapack)
Definition evolve_psi.cpp:127