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
14
15namespace module_rt
16{
17void evolve_psi(const int nband,
18 const int nlocal,
19 const Parallel_Orbitals* pv,
20 hamilt::Hamilt<std::complex<double>>* p_hamilt,
21 std::complex<double>* psi_k,
22 std::complex<double>* psi_k_laststep,
23 std::complex<double>* H_laststep,
24 std::complex<double>* S_laststep,
25 std::complex<double>* P_k,
26 const bool use_td_moving_gauge,
27 double* ekb,
28 int propagator,
29 std::ofstream& ofs_running,
30 const int print_matrix);
31
32template <typename Device>
33void evolve_psi_tensor(const int nband,
34 const int nlocal,
35 const Parallel_Orbitals* pv,
36 hamilt::Hamilt<std::complex<double>>* p_hamilt,
37 ct::Tensor& psi_k,
38 ct::Tensor& psi_k_laststep,
39 ct::Tensor& H_laststep,
40 ct::Tensor& S_laststep,
41 ct::Tensor& ekb,
42 int propagator,
43 std::ofstream& ofs_running,
44 const int print_matrix,
45 const bool use_lapack,
46 CublasMpResources& cublas_res);
47} // namespace module_rt
48
49#endif
Definition parallel_orbitals.h:9
A multi-dimensional array of elements of a single data type.
Definition tensor.h:32
Definition hamilt.h:17
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:15
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, CublasMpResources &cublas_res)
Definition evolve_psi.cpp:129
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, std::complex< double > *P_k, const bool use_td_moving_gauge, double *ekb, int propagator, std::ofstream &ofs_running, const int print_matrix)
Definition evolve_psi.cpp:19
Definition cublasmp_context.h:38