32 const std::complex<double>* U_operator,
33 const std::complex<double>* psi_k_laststep,
34 std::complex<double>* psi_k,
35 std::ofstream& ofs_running,
44 std::ofstream& ofs_running,
47template <
typename Device>
54 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:11
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:167
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)
Definition upsi.cpp:89
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:12