22 const T*
const X_istate,
30 const T factor = (
T)1.0,
31 const MO_TYPE type = MO_TYPE::VO);
37 const T*
const X_istate,
39 const int& nocc,
const int& nvirt,
40 const T factor = (
T)1.0,
41 const MO_TYPE type = MO_TYPE::VO);
47 const T*
const X_istate,
49 const int& nocc,
const int& nvirt,
50 const T factor = (
T)1.0,
51 const MO_TYPE type = MO_TYPE::VO);
This class packs the basic information of 2D-block-cyclic parallel distribution of an arbitrary matri...
Definition parallel_2d.h:12
#define T
Definition exp.cpp:237
Definition esolver_ks_lcao.h:37
std::vector< container::Tensor > cal_dm_trans_pblas(const T *const X_istate, const Parallel_2D &px, const psi::Psi< T > &c, const Parallel_2D &pc, const int naos, const int nocc, const int nvirt, const Parallel_2D &pmat, const T factor=(T) 1.0, const MO_TYPE type=MO_TYPE::VO)
calculate the 2d-block transition density matrix in AO basis using p?gemm
std::vector< container::Tensor > cal_dm_trans_blas(const T *const X_istate, const psi::Psi< T > &c, const int &nocc, const int &nvirt, const T factor=(T) 1.0, const MO_TYPE type=MO_TYPE::VO)
calculate the 2d-block transition density matrix in AO basis using ?gemm
std::vector< container::Tensor > cal_dm_trans_forloop_serial(const T *const X_istate, const psi::Psi< T > &c, const int &nocc, const int &nvirt, const T factor=(T) 1.0, const MO_TYPE type=MO_TYPE::VO)
calculate the 2d-block transition density matrix in AO basis using for loop (for test)
MO_TYPE
Definition ao_to_mo.h:12
@ OO
Definition ao_to_mo.h:12
@ VO
Definition ao_to_mo.h:12
@ VV
Definition ao_to_mo.h:12