32void norm_psi(
const Parallel_Blkcyclic& matrix_layout,
33 const Parallel_Blkcyclic& wfc_layout,
34 const Parallel_Blkcyclic& mo_repr_layout,
37 const std::complex<double>* Stmp,
38 std::complex<double>* psi_k,
39 std::ofstream& ofs_running,
43 const Parallel_Blkcyclic& wfc_layout,
44 const Parallel_Blkcyclic& mo_repr_layout,
47 const ct::Tensor& Stmp,
49 std::ofstream& ofs_running,
51 CublasMpResources& cublas_res);
53template <
typename Device>
56 const ct::Tensor& Stmp,
58 std::ofstream& ofs_running,
Parallel block-cyclic matrix distribution.
Definition parallel_blkcyc.h:25
Definition band_energy.cpp:21
void norm_psi(const Parallel_Blkcyclic &matrix_layout, const Parallel_Blkcyclic &wfc_layout, const Parallel_Blkcyclic &mo_repr_layout, const int nband, const int nlocal, const std::complex< double > *Stmp, std::complex< double > *psi_k, std::ofstream &ofs_running, const int print_matrix)
normalize the wave function
Definition norm_psi.cpp:32
void norm_psi_tensor_lapack(const int nband, const int nlocal, const ct::Tensor &Stmp, ct::Tensor &psi_k, std::ofstream &ofs_running, const int print_matrix)
Definition norm_psi.cpp:513
void norm_psi_tensor(const Parallel_Blkcyclic &matrix_layout, const Parallel_Blkcyclic &wfc_layout, const Parallel_Blkcyclic &mo_repr_layout, const int nband, const int nlocal, const ct::Tensor &Stmp, ct::Tensor &psi_k, std::ofstream &ofs_running, const int print_matrix, CublasMpResources &cublas_res)
Definition norm_psi.cpp:239
void print_matrix(std::ofstream &fp, T *matrix, int &nrow, int &ncol, bool row_first)
Definition test_diago_lapack.cpp:86