ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
BSE_Util Namespace Reference

Typedefs

using TA = int
 ================ RI ==================
using TC = std::array<int, 3>
using TAC = std::pair<int, TC>
template<typename T>
using TLRI = std::map<TA, std::map<TAC, RI::Tensor<T>>>
using DAT = container::DataType
 ================ Container ===============
using DEV = container::DeviceType
template<typename T>
using DAT_ENUM = container::DataTypeToEnum<T>
 Struct to get DataType enum for different tensor data types, not used currently.

Functions

template<>
container::Tensor cal_dm_trans_onebase_pblas (const psi::Psi< double > &c, const Parallel_Blkcyclic &pc, const int &ik, const int &naos, const int &imo1, const int &imo2, const Parallel_Orbitals &pmat, const double &factor)
template<>
container::Tensor cal_dm_trans_onebase_pblas (const psi::Psi< std::complex< double > > &c, const Parallel_Blkcyclic &pc, const int &ik, const int &naos, const int &imo1, const int &imo2, const Parallel_Orbitals &pmat, const std::complex< double > &factor)
template<>
container::Tensor cal_dm_trans_onebase_blas (const psi::Psi< double > &c, const int &ik, const int &naos, const int &imo1, const int &imo2, const double &factor)
template<>
container::Tensor cal_dm_trans_onebase_blas (const psi::Psi< std::complex< double > > &c, const int &ik, const int &naos, const int &imo1, const int &imo2, const std::complex< double > &factor)
void print_mem_estimate (const std::string &name, const size_t &local_size, const size_t &type_size)
 ================ info ==================
template<typename T>
bool move_R_tensor (TLRI< T > &tensor_map, const TA ia, const TA ja, const TC &R_original, const TC &R_new)
template<typename T>
container::Tensor cal_dm_trans_onebase_pblas (const psi::Psi< T > &c, const Parallel_Blkcyclic &pc, const int &ik, const int &naos, const int &imo1, const int &imo2, const Parallel_Orbitals &pmat, const T &factor=(T) 1.0)
 =============== Algorithm ===================
template<typename T>
container::Tensor cal_dm_trans_onebase_blas (const psi::Psi< T > &c, const int &ik, const int &naos, const int &imo1, const int &imo2, const T &factor=(T) 1.0)
 calculate the transition density matrix in AO basis

Typedef Documentation

◆ DAT

================ Container ===============

◆ DAT_ENUM

template<typename T>
using BSE_Util::DAT_ENUM = container::DataTypeToEnum<T>

Struct to get DataType enum for different tensor data types, not used currently.

◆ DEV

◆ TA

using BSE_Util::TA = int

================ RI ==================

◆ TAC

using BSE_Util::TAC = std::pair<int, TC>

◆ TC

using BSE_Util::TC = std::array<int, 3>

◆ TLRI

template<typename T>
using BSE_Util::TLRI = std::map<TA, std::map<TAC, RI::Tensor<T>>>

Function Documentation

◆ cal_dm_trans_onebase_blas() [1/3]

template<>
container::Tensor BSE_Util::cal_dm_trans_onebase_blas ( const psi::Psi< double > & c,
const int & ik,
const int & naos,
const int & imo1,
const int & imo2,
const double & factor )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_dm_trans_onebase_blas() [2/3]

template<>
container::Tensor BSE_Util::cal_dm_trans_onebase_blas ( const psi::Psi< std::complex< double > > & c,
const int & ik,
const int & naos,
const int & imo1,
const int & imo2,
const std::complex< double > & factor )
Here is the call graph for this function:

◆ cal_dm_trans_onebase_blas() [3/3]

template<typename T>
container::Tensor BSE_Util::cal_dm_trans_onebase_blas ( const psi::Psi< T > & c,
const int & ik,
const int & naos,
const int & imo1,
const int & imo2,
const T & factor = (T) 1.0 )

calculate the transition density matrix in AO basis

◆ cal_dm_trans_onebase_pblas() [1/3]

template<>
container::Tensor BSE_Util::cal_dm_trans_onebase_pblas ( const psi::Psi< double > & c,
const Parallel_Blkcyclic & pc,
const int & ik,
const int & naos,
const int & imo1,
const int & imo2,
const Parallel_Orbitals & pmat,
const double & factor )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_dm_trans_onebase_pblas() [2/3]

template<>
container::Tensor BSE_Util::cal_dm_trans_onebase_pblas ( const psi::Psi< std::complex< double > > & c,
const Parallel_Blkcyclic & pc,
const int & ik,
const int & naos,
const int & imo1,
const int & imo2,
const Parallel_Orbitals & pmat,
const std::complex< double > & factor )
Here is the call graph for this function:

◆ cal_dm_trans_onebase_pblas() [3/3]

template<typename T>
container::Tensor BSE_Util::cal_dm_trans_onebase_pblas ( const psi::Psi< T > & c,
const Parallel_Blkcyclic & pc,
const int & ik,
const int & naos,
const int & imo1,
const int & imo2,
const Parallel_Orbitals & pmat,
const T & factor = (T) 1.0 )

=============== Algorithm ===================

================ DM_onebase ===================

calculate the 2d-block transition density matrix in AO basis

\‍[ \tilde{\rho}_{\mu\mu}=c_{j,\mu}c^*_{b,\nu} \‍]

◆ move_R_tensor()

template<typename T>
bool BSE_Util::move_R_tensor ( TLRI< T > & tensor_map,
const TA ia,
const TA ja,
const TC & R_original,
const TC & R_new )
Here is the caller graph for this function:

◆ print_mem_estimate()

void BSE_Util::print_mem_estimate ( const std::string & name,
const size_t & local_size,
const size_t & type_size )
inline

================ info ==================

Here is the caller graph for this function: