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

Functions

void cal_dH (const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, const Grid_Driver &grid, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, const int &current_spin, const double &sparse_thr, const ModuleBase::matrix &v_eff, const bool gamma_only_local, const int nspin, const int npol)
void cal_dS (const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, const Grid_Driver &grid, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, const double &sparse_thr, const bool gamma_only_local, const int nspin, const int npol)
void set_R_range (std::set< Abfs::Vector3_Order< int > > &all_R_coor, const Grid_Driver &grid)
void cal_dSTN_R (const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, ForceStressArrays &fsr, const Grid_Driver &grid, const std::vector< double > &orb_cutoff, const int &current_spin, const double &sparse_thr, const int nspin, const int npol)
void destroy_dH_R_sparse (LCAO_HS_Arrays &HS_Arrays, const int nspin)
void sync_all_R_coor (std::set< Abfs::Vector3_Order< int > > &all_R_coor, MPI_Comm comm)
template<typename T>
std::set< Abfs::Vector3_Order< int > > get_R_range (const hamilt::HContainer< T > &hR)
template<typename TI, typename TO = TI>
void cal_HContainer (const Parallel_Orbitals &pv, const double &sparse_thr, const hamilt::HContainer< TI > &hR, std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, TO > > > &target)
void clear_zero_elements (LCAO_HS_Arrays &HS_Arrays, const int &current_spin, const double &sparse_thr, TD_info *td_info)
void destroy_HS_R_sparse (LCAO_HS_Arrays &HS_Arrays)
template<typename TK>
void cal_SR (const Parallel_Orbitals &pv, std::set< Abfs::Vector3_Order< int > > &all_R_coor, std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, double > > > &SR_sparse, std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, std::complex< double > > > > &SR_soc_sparse, const Grid_Driver &grid, const double &sparse_thr, hamilt::Hamilt< TK > *p_ham)
 calculate overlap matrix with lattice vector R
void cal_TR (const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_arrays, const Grid_Driver &grid, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, const double &sparse_thr)
 calculate kinetic matrix with lattice vector R
void cal_STN_R_for_T (const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_arrays, const Grid_Driver &grid, const std::vector< double > &orb_cutoff, const double &sparse_thr)
 cal_STN_R_for_T is only called by cal_TR
void destroy_T_R_sparse (LCAO_HS_Arrays &HS_Arrays)

Function Documentation

◆ cal_dH()

void sparse_format::cal_dH ( const UnitCell & ucell,
const Parallel_Orbitals & pv,
LCAO_HS_Arrays & HS_Arrays,
const Grid_Driver & grid,
const TwoCenterBundle & two_center_bundle,
const LCAO_Orbitals & orb,
const int & current_spin,
const double & sparse_thr,
const ModuleBase::matrix & v_eff,
const bool gamma_only_local,
const int nspin,
const int npol )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_dS()

void sparse_format::cal_dS ( const UnitCell & ucell,
const Parallel_Orbitals & pv,
LCAO_HS_Arrays & HS_Arrays,
const Grid_Driver & grid,
const TwoCenterBundle & two_center_bundle,
const LCAO_Orbitals & orb,
const double & sparse_thr,
const bool gamma_only_local,
const int nspin,
const int npol )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_dSTN_R()

void sparse_format::cal_dSTN_R ( const UnitCell & ucell,
const Parallel_Orbitals & pv,
LCAO_HS_Arrays & HS_Arrays,
ForceStressArrays & fsr,
const Grid_Driver & grid,
const std::vector< double > & orb_cutoff,
const int & current_spin,
const double & sparse_thr,
const int nspin,
const int npol )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_HContainer()

template<typename TI, typename TO = TI>
void sparse_format::cal_HContainer ( const Parallel_Orbitals & pv,
const double & sparse_thr,
const hamilt::HContainer< TI > & hR,
std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, TO > > > & target )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_SR()

template<typename TK>
void sparse_format::cal_SR ( const Parallel_Orbitals & pv,
std::set< Abfs::Vector3_Order< int > > & all_R_coor,
std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, double > > > & SR_sparse,
std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, std::complex< double > > > > & SR_soc_sparse,
const Grid_Driver & grid,
const double & sparse_thr,
hamilt::Hamilt< TK > * p_ham )

calculate overlap matrix with lattice vector R

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_STN_R_for_T()

void sparse_format::cal_STN_R_for_T ( const UnitCell & ucell,
const Parallel_Orbitals & pv,
LCAO_HS_Arrays & HS_arrays,
const Grid_Driver & grid,
const std::vector< double > & orb_cutoff,
const double & sparse_thr )

cal_STN_R_for_T is only called by cal_TR

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_TR()

void sparse_format::cal_TR ( const UnitCell & ucell,
const Parallel_Orbitals & pv,
LCAO_HS_Arrays & HS_arrays,
const Grid_Driver & grid,
const TwoCenterBundle & two_center_bundle,
const LCAO_Orbitals & orb,
const double & sparse_thr )

calculate kinetic matrix with lattice vector R

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear_zero_elements()

void sparse_format::clear_zero_elements ( LCAO_HS_Arrays & HS_Arrays,
const int & current_spin,
const double & sparse_thr,
TD_info * td_info )
Here is the call graph for this function:

◆ destroy_dH_R_sparse()

void sparse_format::destroy_dH_R_sparse ( LCAO_HS_Arrays & HS_Arrays,
const int nspin )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ destroy_HS_R_sparse()

void sparse_format::destroy_HS_R_sparse ( LCAO_HS_Arrays & HS_Arrays)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ destroy_T_R_sparse()

void sparse_format::destroy_T_R_sparse ( LCAO_HS_Arrays & HS_Arrays)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_R_range()

template<typename T>
std::set< Abfs::Vector3_Order< int > > sparse_format::get_R_range ( const hamilt::HContainer< T > & hR)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_R_range()

void sparse_format::set_R_range ( std::set< Abfs::Vector3_Order< int > > & all_R_coor,
const Grid_Driver & grid )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sync_all_R_coor()

void sparse_format::sync_all_R_coor ( std::set< Abfs::Vector3_Order< int > > & all_R_coor,
MPI_Comm comm )
Here is the caller graph for this function: