34 std::complex<double>* Htmp,
35 std::complex<double>* Stmp,
36 const std::complex<double>* H_laststep,
37 const std::complex<double>* S_laststep,
38 std::ofstream& ofs_running,
46 const ct::Tensor& H_laststep,
47 const ct::Tensor& S_laststep,
48 std::ofstream& ofs_running,
50 CublasMpResources& cublas_res);
52template <
typename Device>
57 const ct::Tensor& H_laststep,
58 const ct::Tensor& S_laststep,
59 std::ofstream& ofs_running,
Parallel block-cyclic matrix distribution.
Definition parallel_blkcyc.h:25
Definition band_energy.cpp:21
void half_Hmatrix(const Parallel_Blkcyclic &layout, const int nband, const int nlocal, std::complex< double > *Htmp, std::complex< double > *Stmp, const std::complex< double > *H_laststep, const std::complex< double > *S_laststep, std::ofstream &ofs_running, const int print_matrix)
compute H(t+dt/2)
Definition middle_hamilt.cpp:22
void half_Hmatrix_tensor(const Parallel_Blkcyclic &layout, const int nband, const int nlocal, ct::Tensor &Htmp, ct::Tensor &Stmp, const ct::Tensor &H_laststep, const ct::Tensor &S_laststep, std::ofstream &ofs_running, const int print_matrix, CublasMpResources &cublas_res)
Definition middle_hamilt.cpp:83
void half_Hmatrix_tensor_lapack(const int nband, const int nlocal, ct::Tensor &Htmp, ct::Tensor &Stmp, const ct::Tensor &H_laststep, const ct::Tensor &S_laststep, std::ofstream &ofs_running, const int print_matrix)
Definition middle_hamilt.cpp:213
void print_matrix(std::ofstream &fp, T *matrix, int &nrow, int &ncol, bool row_first)
Definition test_diago_lapack.cpp:86