33 const std::complex<double>* U_operator,
34 const std::complex<double>* psi_k_laststep,
35 std::complex<double>* psi_k,
36 std::ofstream& ofs_running,
45 std::ofstream& ofs_running,
49template <
typename Device>
56 std::ofstream& ofs_running,
Definition parallel_orbitals.h:9
A multi-dimensional array of elements of a single data type.
Definition tensor.h:32
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 upsi_tensor(const Parallel_Orbitals *pv, const int nband, const int nlocal, const ct::Tensor &U_operator, const ct::Tensor &psi_k_laststep, ct::Tensor &psi_k, std::ofstream &ofs_running, const int print_matrix, CublasMpResources &cublas_res)
Definition upsi.cpp:91
void upsi_tensor_lapack(const Parallel_Orbitals *pv, const int nband, const int nlocal, const ct::Tensor &U_operator, const ct::Tensor &psi_k_laststep, ct::Tensor &psi_k, std::ofstream &ofs_running, const int print_matrix)
Definition upsi.cpp:221
void upsi(const Parallel_Orbitals *pv, const int nband, const int nlocal, const std::complex< double > *U_operator, const std::complex< double > *psi_k_laststep, std::complex< double > *psi_k, std::ofstream &ofs_running, const int print_matrix)
apply U_operator to the wave function of the previous step for new wave function
Definition upsi.cpp:14
Definition cublasmp_context.h:38