ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
ModuleGint Namespace Reference

Classes

class  BatchBigGrid
 
class  BigGrid
 
class  BigGridInfo
 This class stores some basic properties common to all big grids. More...
 
class  DivideInfo
 
class  Gint
 
class  Gint_dvlocal
 
class  Gint_env_gamma
 
class  Gint_env_k
 
class  Gint_fvl
 
class  Gint_fvl_gpu
 
class  Gint_fvl_meta
 
class  Gint_fvl_meta_gpu
 
class  Gint_rho
 
class  Gint_rho_gpu
 
class  Gint_tau
 
class  Gint_tau_gpu
 
class  Gint_vl
 
class  Gint_vl_gpu
 
class  Gint_vl_metagga
 
class  Gint_vl_metagga_gpu
 
class  Gint_vl_metagga_nspin4
 
class  Gint_vl_metagga_nspin4_gpu
 
class  Gint_vl_nspin4
 
class  Gint_vl_nspin4_gpu
 
class  GintAtom
 
class  GintGpuVars
 
class  GintInfo
 
class  LocalCellInfo
 
class  MeshGridInfo
 
class  PhiOperator
 The class phiOperator is used to perform operations on the wave function matrix phi, dphi, etc. More...
 
class  PhiOperatorGpu
 
class  UnitCellInfo
 

Typedefs

using Matrix3 = ModuleBase::Matrix3
 
using Vec3d = ModuleBase::Vector3< double >
 
using Vec3i = ModuleBase::Vector3< int >
 
template<typename T >
using HContainer = hamilt::HContainer< T >
 

Functions

void compose_hr_gint (HContainer< double > &hr_gint)
 
void compose_hr_gint (const std::vector< HContainer< double > > &hr_gint_part, HContainer< std::complex< double > > &hr_gint_full)
 
template<typename T >
void transfer_hr_gint_to_hR (const HContainer< T > &hr_gint, HContainer< T > &hR)
 
template<typename T >
void transfer_dm_2d_to_gint (const GintInfo &gint_info, std::vector< HContainer< T > * > dm, std::vector< HContainer< T > > &dm_gint)
 
int globalIndex (int localindex, int nblk, int nprocs, int myproc)
 
int localIndex (int globalindex, int nblk, int nprocs, int &myproc)
 
template<typename T >
void wfc_2d_to_gint (const T *wfc_2d, int nbands, int nlocal, const Parallel_Orbitals &pv, T *wfc_gint, const GintInfo &gint_info)
 
template void transfer_hr_gint_to_hR (const HContainer< double > &hr_gint, HContainer< double > &hR)
 
template void transfer_hr_gint_to_hR (const HContainer< std::complex< double > > &hr_gint, HContainer< std::complex< double > > &hR)
 
template void transfer_dm_2d_to_gint (const GintInfo &gint_info, std::vector< HContainer< double > * > dm, std::vector< HContainer< double > > &dm_gint)
 
template void transfer_dm_2d_to_gint (const GintInfo &gint_info, std::vector< HContainer< std::complex< double > > * > dm, std::vector< HContainer< std::complex< double > > > &dm_gint)
 
template void wfc_2d_to_gint (const double *wfc_2d, int nbands, int nlocal, const Parallel_Orbitals &pv, double *wfc_grid, const GintInfo &gint_info)
 
template void wfc_2d_to_gint (const std::complex< double > *wfc_2d, int nbands, int nlocal, const Parallel_Orbitals &pv, std::complex< double > *wfc_grid, const GintInfo &gint_info)
 
int index3Dto1D (const int id_x, const int id_y, const int id_z, const int dim_x, const int dim_y, const int dim_z)
 
Vec3i index1Dto3D (const int index_1d, const int dim_x, const int dim_y, const int dim_z)
 
double pow_int (const double base, const int exp)
 
int floor_div (const int a, const int b)
 
int ceil_div (const int a, const int b)
 
template HContainer< std::complex< double > > GintInfo::get_hr< std::complex< double > > (int npol) const
 
void cal_gint_vl (const double *vr_eff, HContainer< double > *hR)
 
void cal_gint_vl (std::vector< const double * > vr_eff, HContainer< std::complex< double > > *hR)
 
void cal_gint_vl_metagga (const double *vr_eff, const double *vfork, HContainer< double > *hR)
 
void cal_gint_vl_metagga (std::vector< const double * > vr_eff, std::vector< const double * > vofk, HContainer< std::complex< double > > *hR)
 
void cal_gint_rho (const std::vector< HContainer< double > * > &dm_vec, const int nspin, double **rho, bool is_dm_symm)
 
void cal_gint_tau (const std::vector< HContainer< double > * > &dm_vec, const int nspin, double **tau)
 
void cal_gint_fvl (const int nspin, const std::vector< const double * > &vr_eff, const std::vector< HContainer< double > * > &dm_vec, const bool isforce, const bool isstress, ModuleBase::matrix *fvl, ModuleBase::matrix *svl)
 
void cal_gint_fvl_meta (const int nspin, const std::vector< const double * > &vr_eff, const std::vector< const double * > &vofk, const std::vector< HContainer< double > * > &dm_vec, const bool isforce, const bool isstress, ModuleBase::matrix *fvl, ModuleBase::matrix *svl)
 
void cal_dvlocal_R_sparseMatrix (const int nspin, const int npol, const int current_spin, const int nlocal, const double sparse_thr, const double *vr_eff, const Parallel_Orbitals &pv, const UnitCell &ucell, const Grid_Driver &gdriver, LCAO_HS_Arrays &hs_arrays)
 

Typedef Documentation

◆ HContainer

template<typename T >
using ModuleGint::HContainer = typedef hamilt::HContainer<T>

◆ Matrix3

◆ Vec3d

using ModuleGint::Vec3d = typedef ModuleBase::Vector3<double>

◆ Vec3i

using ModuleGint::Vec3i = typedef ModuleBase::Vector3<int>

Function Documentation

◆ cal_dvlocal_R_sparseMatrix()

void ModuleGint::cal_dvlocal_R_sparseMatrix ( const int  nspin,
const int  npol,
const int  current_spin,
const int  nlocal,
const double  sparse_thr,
const double *  vr_eff,
const Parallel_Orbitals pv,
const UnitCell ucell,
const Grid_Driver gdriver,
LCAO_HS_Arrays hs_arrays 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_gint_fvl()

void ModuleGint::cal_gint_fvl ( const int  nspin,
const std::vector< const double * > &  vr_eff,
const std::vector< HContainer< double > * > &  dm_vec,
const bool  isforce,
const bool  isstress,
ModuleBase::matrix fvl,
ModuleBase::matrix svl 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_gint_fvl_meta()

void ModuleGint::cal_gint_fvl_meta ( const int  nspin,
const std::vector< const double * > &  vr_eff,
const std::vector< const double * > &  vofk,
const std::vector< HContainer< double > * > &  dm_vec,
const bool  isforce,
const bool  isstress,
ModuleBase::matrix fvl,
ModuleBase::matrix svl 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_gint_rho()

void ModuleGint::cal_gint_rho ( const std::vector< HContainer< double > * > &  dm_vec,
const int  nspin,
double **  rho,
bool  is_dm_symm 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_gint_tau()

void ModuleGint::cal_gint_tau ( const std::vector< HContainer< double > * > &  dm_vec,
const int  nspin,
double **  tau 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_gint_vl() [1/2]

void ModuleGint::cal_gint_vl ( const double *  vr_eff,
HContainer< double > *  hR 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_gint_vl() [2/2]

void ModuleGint::cal_gint_vl ( std::vector< const double * >  vr_eff,
HContainer< std::complex< double > > *  hR 
)
Here is the call graph for this function:

◆ cal_gint_vl_metagga() [1/2]

void ModuleGint::cal_gint_vl_metagga ( const double *  vr_eff,
const double *  vfork,
HContainer< double > *  hR 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_gint_vl_metagga() [2/2]

void ModuleGint::cal_gint_vl_metagga ( std::vector< const double * >  vr_eff,
std::vector< const double * >  vofk,
HContainer< std::complex< double > > *  hR 
)
Here is the call graph for this function:

◆ ceil_div()

int ModuleGint::ceil_div ( const int  a,
const int  b 
)
inline

◆ compose_hr_gint() [1/2]

void ModuleGint::compose_hr_gint ( const std::vector< HContainer< double > > &  hr_gint_part,
HContainer< std::complex< double > > &  hr_gint_full 
)
Here is the call graph for this function:

◆ compose_hr_gint() [2/2]

void ModuleGint::compose_hr_gint ( HContainer< double > &  hr_gint)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ floor_div()

int ModuleGint::floor_div ( const int  a,
const int  b 
)
inline
Here is the caller graph for this function:

◆ GintInfo::get_hr< std::complex< double > >()

template HContainer< std::complex< double > > ModuleGint::GintInfo::get_hr< std::complex< double > > ( int  npol) const

◆ globalIndex()

int ModuleGint::globalIndex ( int  localindex,
int  nblk,
int  nprocs,
int  myproc 
)
Here is the caller graph for this function:

◆ index1Dto3D()

Vec3i ModuleGint::index1Dto3D ( const int  index_1d,
const int  dim_x,
const int  dim_y,
const int  dim_z 
)
inline
Here is the caller graph for this function:

◆ index3Dto1D()

int ModuleGint::index3Dto1D ( const int  id_x,
const int  id_y,
const int  id_z,
const int  dim_x,
const int  dim_y,
const int  dim_z 
)
inline
Here is the caller graph for this function:

◆ localIndex()

int ModuleGint::localIndex ( int  globalindex,
int  nblk,
int  nprocs,
int &  myproc 
)

◆ pow_int()

double ModuleGint::pow_int ( const double  base,
const int  exp 
)
inline
Here is the caller graph for this function:

◆ transfer_dm_2d_to_gint() [1/3]

template void ModuleGint::transfer_dm_2d_to_gint ( const GintInfo gint_info,
std::vector< HContainer< double > * >  dm,
std::vector< HContainer< double > > &  dm_gint 
)

◆ transfer_dm_2d_to_gint() [2/3]

template void ModuleGint::transfer_dm_2d_to_gint ( const GintInfo gint_info,
std::vector< HContainer< std::complex< double > > * >  dm,
std::vector< HContainer< std::complex< double > > > &  dm_gint 
)

◆ transfer_dm_2d_to_gint() [3/3]

template<typename T >
void ModuleGint::transfer_dm_2d_to_gint ( const GintInfo gint_info,
std::vector< HContainer< T > * >  dm,
std::vector< HContainer< T > > &  dm_gint 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transfer_hr_gint_to_hR() [1/3]

template void ModuleGint::transfer_hr_gint_to_hR ( const HContainer< double > &  hr_gint,
HContainer< double > &  hR 
)

◆ transfer_hr_gint_to_hR() [2/3]

template void ModuleGint::transfer_hr_gint_to_hR ( const HContainer< std::complex< double > > &  hr_gint,
HContainer< std::complex< double > > &  hR 
)

◆ transfer_hr_gint_to_hR() [3/3]

template<typename T >
void ModuleGint::transfer_hr_gint_to_hR ( const HContainer< T > &  hr_gint,
HContainer< T > &  hR 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wfc_2d_to_gint() [1/3]

template void ModuleGint::wfc_2d_to_gint ( const double *  wfc_2d,
int  nbands,
int  nlocal,
const Parallel_Orbitals pv,
double *  wfc_grid,
const GintInfo gint_info 
)

◆ wfc_2d_to_gint() [2/3]

template void ModuleGint::wfc_2d_to_gint ( const std::complex< double > *  wfc_2d,
int  nbands,
int  nlocal,
const Parallel_Orbitals pv,
std::complex< double > *  wfc_grid,
const GintInfo gint_info 
)

◆ wfc_2d_to_gint() [3/3]

template<typename T >
void ModuleGint::wfc_2d_to_gint ( const T wfc_2d,
int  nbands,
int  nlocal,
const Parallel_Orbitals pv,
T wfc_gint,
const GintInfo gint_info 
)
Here is the call graph for this function:
Here is the caller graph for this function: