ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
bse_util.h File Reference
Include dependency graph for bse_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  BSE_Util

Typedefs

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

Functions

void BSE_Util::print_mem_estimate (const std::string &name, const size_t &local_size, const size_t &type_size)
 ================ info ==================
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)
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 ===================
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