|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Enumerations | |
| enum class | calculation_type { no , pw_ekinetic , pw_ekinetic_td , pw_nonlocal , pw_veff , pw_meta , pw_onsite , pw_exx , lcao_overlap , lcao_fixed , lcao_gint , lcao_deepks , lcao_exx , lcao_dftu , lcao_sc_lambda , lcao_tddft_periodic , lr_dmtrans_hxc , lr_dmtrans_gxc , lr_dmdiff_hxc , lr_dmtrans_exx , lr_dmdiff_exx } |
Functions | |
| template<typename TR> | |
| void | folding_HR (const hamilt::HContainer< TR > &hR, std::complex< double > *hk, const ModuleBase::Vector3< double > &kvec_d_in, const int hk_ld, const int hk_type) |
| calculate the Hk matrix with specific k vector | |
| template void | folding_HR< std::complex< double > > (const hamilt::HContainer< std::complex< double > > &hR, std::complex< double > *hk, const ModuleBase::Vector3< double > &kvec_d_in, const int ncol, const int hk_type) |
| template void | folding_HR< double > (const hamilt::HContainer< double > &hR, std::complex< double > *hk, const ModuleBase::Vector3< double > &kvec_d_in, const int ncol, const int hk_type) |
| void | folding_HR (const hamilt::HContainer< double > &hR, double *hk, const ModuleBase::Vector3< double > &kvec_d_in, const int hk_ld, const int hk_type) |
| template<typename TR> | |
| void | transferSerial2Parallels (const hamilt::HContainer< TR > &hR_s, hamilt::HContainer< TR > *hR_p, const int serial_rank) |
| transfer the HContainer from serial object to parallel object | |
| template<typename TR> | |
| void | transferParallels2Serial (const hamilt::HContainer< TR > &hR_p, hamilt::HContainer< TR > *hR_s, const int serial_rank) |
| transfer the HContainer from parallel object to serial object | |
| template<typename TR> | |
| void | transferSerials2Parallels (const hamilt::HContainer< TR > &hR_s, hamilt::HContainer< TR > *hR_p) |
| transfer the HContainer from all serial objects to all parallel objects | |
| template<typename TR> | |
| void | transferParallels2Serials (const hamilt::HContainer< TR > &hR_p, hamilt::HContainer< TR > *hR_s) |
| transfer the HContainer from all serial objects to all parallel objects | |
| template<typename TR> | |
| void | gatherParallels (const hamilt::HContainer< TR > &hR_p, hamilt::HContainer< TR > *hR_s, const int serial_rank) |
| gather the HContainer from all parallel objects to target serial object the serial object should be empty before gather | |
| template void | transferSerial2Parallels (const hamilt::HContainer< double > &hR_s, hamilt::HContainer< double > *hR_p, const int serial_rank) |
| template void | transferSerial2Parallels (const hamilt::HContainer< std::complex< double > > &hR_s, hamilt::HContainer< std::complex< double > > *hR_p, const int serial_rank) |
| template void | transferParallels2Serial (const hamilt::HContainer< double > &hR_p, hamilt::HContainer< double > *hR_s, const int serial_rank) |
| template void | transferParallels2Serial (const hamilt::HContainer< std::complex< double > > &hR_p, hamilt::HContainer< std::complex< double > > *hR_s, const int serial_rank) |
| template void | transferSerials2Parallels (const hamilt::HContainer< double > &hR_s, hamilt::HContainer< double > *hR_p) |
| template void | transferSerials2Parallels (const hamilt::HContainer< std::complex< double > > &hR_s, hamilt::HContainer< std::complex< double > > *hR_p) |
| template void | transferParallels2Serials (const hamilt::HContainer< double > &hR_p, hamilt::HContainer< double > *hR_s) |
| template void | transferParallels2Serials (const hamilt::HContainer< std::complex< double > > &hR_p, hamilt::HContainer< std::complex< double > > *hR_s) |
| template void | gatherParallels (const hamilt::HContainer< double > &hR_p, hamilt::HContainer< double > *hR_s, const int serial_rank) |
| template void | gatherParallels (const hamilt::HContainer< std::complex< double > > &hR_p, hamilt::HContainer< std::complex< double > > *hR_s, const int serial_rank) |
| template<typename T> | |
| void | resize_spin_storage (HContainer< T > ¤t, const HContainer< T > &stored_layout, std::vector< T > &storage, const int current_spin) |
| template void | resize_spin_storage (HContainer< double > &, const HContainer< double > &, std::vector< double > &, const int) |
| template void | resize_spin_storage (HContainer< std::complex< double > > &, const HContainer< std::complex< double > > &, std::vector< std::complex< double > > &, const int) |
| TYPED_TEST_SUITE (XC_FunctionalOpTest, base::utils::ComplexTypes) | |
| TYPED_TEST (XC_FunctionalOpTest, xc_functional_grad_wfc_op) | |
| template<typename TK, typename TR> | |
| LcaoOpsBundle< TK, TR > | build_gamma_ops (const UnitCell &ucell, const Grid_Driver &grid_d, const Parallel_Orbitals *paraV, const BasisFlattenedIndexing &basis, const Parallel_Blkcyclic &layout, elecstate::Potential *pot_in, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, module_dm::DensityMatrix< TK, double > *DM_in, Plus_U_Base *p_dftu, Setup_DeePKS< TK > &deepks, const Input_para &inp, const std::vector< std::string > &pot_register_in, const K_Vectors *kv, HS_Matrix_K< TK > *hsk, HContainer< TR > *hR, HContainer< TR > *sR) |
| build the operator chain for the gamma-only case (TK == double). | |
| template<typename TK, typename TR> | |
| LcaoOpsBundle< TK, TR > | build_multik_ops (const UnitCell &ucell, const Grid_Driver &grid_d, const Parallel_Orbitals *paraV, const BasisFlattenedIndexing &basis, const Parallel_Blkcyclic &layout, elecstate::Potential *pot_in, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, module_dm::DensityMatrix< TK, double > *DM_in, Plus_U_Base *p_dftu, Setup_DeePKS< TK > &deepks, const Input_para &inp, const std::vector< std::string > &pot_register_in, const K_Vectors *kv, HS_Matrix_K< TK > *hsk, HContainer< TR > *hR, HContainer< TR > *sR, TD_info *td_info) |
| build the operator chain for the multi-k case (TK == complex<double>). | |
| template LcaoOpsBundle< double, double > | build_gamma_ops< double, double > (const UnitCell &, const Grid_Driver &, const Parallel_Orbitals *, const BasisFlattenedIndexing &, const Parallel_Blkcyclic &, elecstate::Potential *, const TwoCenterBundle &, const LCAO_Orbitals &, module_dm::DensityMatrix< double, double > *, Plus_U_Base *, Setup_DeePKS< double > &, const Input_para &, const std::vector< std::string > &, const K_Vectors *, HS_Matrix_K< double > *, HContainer< double > *, HContainer< double > *) |
| template LcaoOpsBundle< double, double > | build_multik_ops< double, double > (const UnitCell &, const Grid_Driver &, const Parallel_Orbitals *, const BasisFlattenedIndexing &, const Parallel_Blkcyclic &, elecstate::Potential *, const TwoCenterBundle &, const LCAO_Orbitals &, module_dm::DensityMatrix< double, double > *, Plus_U_Base *, Setup_DeePKS< double > &, const Input_para &, const std::vector< std::string > &, const K_Vectors *, HS_Matrix_K< double > *, HContainer< double > *, HContainer< double > *, TD_info *) |
| template LcaoOpsBundle< std::complex< double >, double > | build_gamma_ops< std::complex< double >, double > (const UnitCell &, const Grid_Driver &, const Parallel_Orbitals *, const BasisFlattenedIndexing &, const Parallel_Blkcyclic &, elecstate::Potential *, const TwoCenterBundle &, const LCAO_Orbitals &, module_dm::DensityMatrix< std::complex< double >, double > *, Plus_U_Base *, Setup_DeePKS< std::complex< double > > &, const Input_para &, const std::vector< std::string > &, const K_Vectors *, HS_Matrix_K< std::complex< double > > *, HContainer< double > *, HContainer< double > *) |
| template LcaoOpsBundle< std::complex< double >, double > | build_multik_ops< std::complex< double >, double > (const UnitCell &, const Grid_Driver &, const Parallel_Orbitals *, const BasisFlattenedIndexing &, const Parallel_Blkcyclic &, elecstate::Potential *, const TwoCenterBundle &, const LCAO_Orbitals &, module_dm::DensityMatrix< std::complex< double >, double > *, Plus_U_Base *, Setup_DeePKS< std::complex< double > > &, const Input_para &, const std::vector< std::string > &, const K_Vectors *, HS_Matrix_K< std::complex< double > > *, HContainer< double > *, HContainer< double > *, TD_info *) |
| template<typename TR> | |
| void | cal_overlap_block (const UnitCell &cell, const TwoCenterIntegrator &integrator, const int atom_i, const int atom_j, const std::vector< int > &row_offsets, const std::vector< int > &col_offsets, const ModuleBase::Vector3< double > &displacement, TR *values) |
| template void | cal_overlap_block (const UnitCell &, const TwoCenterIntegrator &, int, int, const std::vector< int > &, const std::vector< int > &, const ModuleBase::Vector3< double > &, double *) |
| template void | cal_overlap_block (const UnitCell &, const TwoCenterIntegrator &, int, int, const std::vector< int > &, const std::vector< int > &, const ModuleBase::Vector3< double > &, std::complex< double > *) |
| template<typename FPTYPE> | |
| __device__ FPTYPE | _polynomial_interpolation (const FPTYPE *table, const int &dim1, const int &dim2, const int &tab_2, const int &tab_3, const FPTYPE &table_interval, const FPTYPE &x) |
| template<typename FPTYPE> | |
| __device__ FPTYPE | _polynomial_interpolation_nl (const FPTYPE *table, const int &dim1, const int &dim2, const int &tab_2, const int &tab_3, const FPTYPE &table_interval, const FPTYPE &x) |
| template<typename T, typename Device> | |
| void | exx_batch_density_real (const int nbands, const int nrxx, const T *nk_real_all, const T *mq_real, const double omega, T *out) |
| template<typename T, typename Device> | |
| void | exx_batch_gather_pw (const int nbands, const int npw, const int nxyz, const int *box_map, const T *box, T *pw) |
| template<typename T, typename Real, typename Device> | |
| void | exx_batch_mul_pot (const int nbands, const int npw, const Real *pot, T *pw) |
| template<typename T, typename Device> | |
| void | exx_batch_scatter_pw (const int nbands, const int npw, const int nxyz, const int *box_map, const T *pw, T *box) |
| template<typename T, typename Device> | |
| void | exx_batch_mul_real (const int nbands, const int nrxx, const T *mq_real, T *data) |
| template<typename T, typename Real, typename Device> | |
| void | exx_batch_gather_accum (const int nbands, const int npwk, const int nxyz, const int *box_map, const T *box, const Real factor, T *out, const int out_stride) |
| template<typename T, typename Device> | |
| void | exx_batch_scatter_wfc (const int nbands, const int npwk, const int nxyz, const int *map, const T *psi, const int psi_stride, T *box) |
| template<typename T, typename Device> | |
| void | exx_batch_fft_plan_create (void **plan, const int nx, const int ny, const int nz, const int batch) |
| template<typename T, typename Device> | |
| void | exx_batch_fft_exec (void *plan, T *data, const bool forward) |
| template<typename T, typename Device> | |
| void | exx_batch_fft_plan_destroy (void **plan) |
| template<typename Real> | |
| void | gradient_harmonic (const int l, const int lm, const Real *q, Real *value) |
| Evaluate a normalized real solid harmonic and its Cartesian derivatives. | |
| template<typename Real> | |
| Real | gradient_interpolate (const Real *table, const Real position) |
| template<typename Real, typename Complex> | |
| void | gradient_element (const int ig, const int projector, const int npw, const int ld, const int nkb, const int nbeta, const int nq, const Real dq, const Real tpiba, const int *metadata, const Real *q, const Real *tab, const Real *derivative, const Complex *sk, Complex *out) |
| template<typename FPTYPE> | |
| void | Simpson_Integral (const int mesh, FPTYPE *func, const FPTYPE *rab, FPTYPE &asum) |
| TYPED_TEST_SUITE (StressMggaTest, base::utils::ComplexTypes) | |
| TYPED_TEST (StressMggaTest, cal_stress_mgga_op) | |
| template<typename T> | |
| bool | is_finite (const T &val) |
| template<> | |
| bool | is_finite (const std::complex< float > &val) |
| template<> | |
| bool | is_finite (const std::complex< double > &val) |
| template<typename Real, typename Device> | |
| void | get_exx_potential (const K_Vectors *kv, const ModulePW::PW_Basis_K *wfcpw, ModulePW::PW_Basis *rhopw_dev, Real *pot, double tpiba, bool gamma_extrapolation, double ucell_omega, int ik, int iq, bool is_stress, const CoulombParam &coulomb_param_in) |
| template<typename Real, typename Device> | |
| void | get_exx_stress_potential (const K_Vectors *kv, const ModulePW::PW_Basis_K *wfcpw, ModulePW::PW_Basis *rhopw_dev, Real *pot, double tpiba, bool gamma_extrapolation, double ucell_omega, int ik, int iq, const CoulombParam &coulomb_param_in) |
| double | exx_divergence (Conv_Coulomb_Pot_K::Coulomb_Type coulomb_type, double erfc_omega, const K_Vectors *kv, const ModulePW::PW_Basis_K *wfcpw, ModulePW::PW_Basis *rhopw_dev, double tpiba, bool gamma_extrapolation, double ucell_omega) |
| template void | get_exx_potential< float, base_device::DEVICE_CPU > (const K_Vectors *, const ModulePW::PW_Basis_K *, ModulePW::PW_Basis *, float *, double, bool, double, int, int, bool, const CoulombParam &) |
| template void | get_exx_potential< double, base_device::DEVICE_CPU > (const K_Vectors *, const ModulePW::PW_Basis_K *, ModulePW::PW_Basis *, double *, double, bool, double, int, int, bool, const CoulombParam &) |
| template void | get_exx_stress_potential< float, base_device::DEVICE_CPU > (const K_Vectors *, const ModulePW::PW_Basis_K *, ModulePW::PW_Basis *, float *, double, bool, double, int, int, const CoulombParam &) |
| template void | get_exx_stress_potential< double, base_device::DEVICE_CPU > (const K_Vectors *, const ModulePW::PW_Basis_K *, ModulePW::PW_Basis *, double *, double, bool, double, int, int, const CoulombParam &) |
Variables | |
| constexpr int | kHctTagSize = 14431 |
| constexpr int | kHctTagIndex = 14471 |
| constexpr int | kHctTagValue = 14533 |
| template<typename T, typename Device> | |
| std::vector< typename GetTypeReal< T >::type > | OperatorEXXPW< T, Device >::fock_div = {} |
| template<typename T, typename Device> | |
| std::vector< typename GetTypeReal< T >::type > | OperatorEXXPW< T, Device >::erfc_div = {} |
|
strong |
| __device__ FPTYPE hamilt::_polynomial_interpolation | ( | const FPTYPE * | table, |
| const int & | dim1, | ||
| const int & | dim2, | ||
| const int & | tab_2, | ||
| const int & | tab_3, | ||
| const FPTYPE & | table_interval, | ||
| const FPTYPE & | x ) |
| __device__ FPTYPE hamilt::_polynomial_interpolation_nl | ( | const FPTYPE * | table, |
| const int & | dim1, | ||
| const int & | dim2, | ||
| const int & | tab_2, | ||
| const int & | tab_3, | ||
| const FPTYPE & | table_interval, | ||
| const FPTYPE & | x ) |
| LcaoOpsBundle< TK, TR > hamilt::build_gamma_ops | ( | const UnitCell & | ucell, |
| const Grid_Driver & | grid_d, | ||
| const Parallel_Orbitals * | paraV, | ||
| const BasisFlattenedIndexing & | basis, | ||
| const Parallel_Blkcyclic & | layout, | ||
| elecstate::Potential * | pot_in, | ||
| const TwoCenterBundle & | two_center_bundle, | ||
| const LCAO_Orbitals & | orb, | ||
| module_dm::DensityMatrix< TK, double > * | DM_in, | ||
| Plus_U_Base * | p_dftu, | ||
| Setup_DeePKS< TK > & | deepks, | ||
| const Input_para & | inp, | ||
| const std::vector< std::string > & | pot_register_in, | ||
| const K_Vectors * | kv, | ||
| HS_Matrix_K< TK > * | hsk, | ||
| HContainer< TR > * | hR, | ||
| HContainer< TR > * | sR ) |
build the operator chain for the gamma-only case (TK == double).
Appends overlap/kinetic/nonlocal/veff nodes (and optional DeePKS/DFTU) onto the buffers hsk/hR/sR. hR is gamma-fixed here.
| kv | k-point list (kvec_d/isk read from it) |
| hsk | target H(k)/S(k) matrix buffer, already allocated by caller |
| hR | target H(R) container, already allocated by caller |
| sR | target S(R) container, already allocated by caller |
| template LcaoOpsBundle< double, double > hamilt::build_gamma_ops< double, double > | ( | const UnitCell & | , |
| const Grid_Driver & | , | ||
| const Parallel_Orbitals * | , | ||
| const BasisFlattenedIndexing & | , | ||
| const Parallel_Blkcyclic & | , | ||
| elecstate::Potential * | , | ||
| const TwoCenterBundle & | , | ||
| const LCAO_Orbitals & | , | ||
| module_dm::DensityMatrix< double, double > * | , | ||
| Plus_U_Base * | , | ||
| Setup_DeePKS< double > & | , | ||
| const Input_para & | , | ||
| const std::vector< std::string > & | , | ||
| const K_Vectors * | , | ||
| HS_Matrix_K< double > * | , | ||
| HContainer< double > * | , | ||
| HContainer< double > * | ) |
| template LcaoOpsBundle< std::complex< double >, double > hamilt::build_gamma_ops< std::complex< double >, double > | ( | const UnitCell & | , |
| const Grid_Driver & | , | ||
| const Parallel_Orbitals * | , | ||
| const BasisFlattenedIndexing & | , | ||
| const Parallel_Blkcyclic & | , | ||
| elecstate::Potential * | , | ||
| const TwoCenterBundle & | , | ||
| const LCAO_Orbitals & | , | ||
| module_dm::DensityMatrix< std::complex< double >, double > * | , | ||
| Plus_U_Base * | , | ||
| Setup_DeePKS< std::complex< double > > & | , | ||
| const Input_para & | , | ||
| const std::vector< std::string > & | , | ||
| const K_Vectors * | , | ||
| HS_Matrix_K< std::complex< double > > * | , | ||
| HContainer< double > * | , | ||
| HContainer< double > * | ) |
| LcaoOpsBundle< TK, TR > hamilt::build_multik_ops | ( | const UnitCell & | ucell, |
| const Grid_Driver & | grid_d, | ||
| const Parallel_Orbitals * | paraV, | ||
| const BasisFlattenedIndexing & | basis, | ||
| const Parallel_Blkcyclic & | layout, | ||
| elecstate::Potential * | pot_in, | ||
| const TwoCenterBundle & | two_center_bundle, | ||
| const LCAO_Orbitals & | orb, | ||
| module_dm::DensityMatrix< TK, double > * | DM_in, | ||
| Plus_U_Base * | p_dftu, | ||
| Setup_DeePKS< TK > & | deepks, | ||
| const Input_para & | inp, | ||
| const std::vector< std::string > & | pot_register_in, | ||
| const K_Vectors * | kv, | ||
| HS_Matrix_K< TK > * | hsk, | ||
| HContainer< TR > * | hR, | ||
| HContainer< TR > * | sR, | ||
| TD_info * | td_info ) |
build the operator chain for the multi-k case (TK == complex<double>).
Appends veff/overlap/kinetic/nonlocal nodes (and optional DeePKS/TDDFT/ DFTU/spin-constrain) onto the buffers hsk/hR/sR.
| kv | k-point list (kvec_d/isk read from it) |
| hsk | target H(k)/S(k) matrix buffer, already allocated by caller |
| hR | target H(R) container, already allocated by caller |
| sR | target S(R) container, already allocated by caller |
| template LcaoOpsBundle< double, double > hamilt::build_multik_ops< double, double > | ( | const UnitCell & | , |
| const Grid_Driver & | , | ||
| const Parallel_Orbitals * | , | ||
| const BasisFlattenedIndexing & | , | ||
| const Parallel_Blkcyclic & | , | ||
| elecstate::Potential * | , | ||
| const TwoCenterBundle & | , | ||
| const LCAO_Orbitals & | , | ||
| module_dm::DensityMatrix< double, double > * | , | ||
| Plus_U_Base * | , | ||
| Setup_DeePKS< double > & | , | ||
| const Input_para & | , | ||
| const std::vector< std::string > & | , | ||
| const K_Vectors * | , | ||
| HS_Matrix_K< double > * | , | ||
| HContainer< double > * | , | ||
| HContainer< double > * | , | ||
| TD_info * | ) |
| template LcaoOpsBundle< std::complex< double >, double > hamilt::build_multik_ops< std::complex< double >, double > | ( | const UnitCell & | , |
| const Grid_Driver & | , | ||
| const Parallel_Orbitals * | , | ||
| const BasisFlattenedIndexing & | , | ||
| const Parallel_Blkcyclic & | , | ||
| elecstate::Potential * | , | ||
| const TwoCenterBundle & | , | ||
| const LCAO_Orbitals & | , | ||
| module_dm::DensityMatrix< std::complex< double >, double > * | , | ||
| Plus_U_Base * | , | ||
| Setup_DeePKS< std::complex< double > > & | , | ||
| const Input_para & | , | ||
| const std::vector< std::string > & | , | ||
| const K_Vectors * | , | ||
| HS_Matrix_K< std::complex< double > > * | , | ||
| HContainer< double > * | , | ||
| HContainer< double > * | , | ||
| TD_info * | ) |
| template void hamilt::cal_overlap_block | ( | const UnitCell & | , |
| const TwoCenterIntegrator & | , | ||
| int | , | ||
| int | , | ||
| const std::vector< int > & | , | ||
| const std::vector< int > & | , | ||
| const ModuleBase::Vector3< double > & | , | ||
| double * | ) |
| template void hamilt::cal_overlap_block | ( | const UnitCell & | , |
| const TwoCenterIntegrator & | , | ||
| int | , | ||
| int | , | ||
| const std::vector< int > & | , | ||
| const std::vector< int > & | , | ||
| const ModuleBase::Vector3< double > & | , | ||
| std::complex< double > * | ) |
| void hamilt::cal_overlap_block | ( | const UnitCell & | cell, |
| const TwoCenterIntegrator & | integrator, | ||
| const int | atom_i, | ||
| const int | atom_j, | ||
| const std::vector< int > & | row_offsets, | ||
| const std::vector< int > & | col_offsets, | ||
| const ModuleBase::Vector3< double > & | displacement, | ||
| TR * | values ) |
| void hamilt::exx_batch_density_real | ( | const int | nbands, |
| const int | nrxx, | ||
| const T * | nk_real_all, | ||
| const T * | mq_real, | ||
| const double | omega, | ||
| T * | out ) |
| void hamilt::exx_batch_fft_exec | ( | void * | plan, |
| T * | data, | ||
| const bool | forward ) |
| void hamilt::exx_batch_fft_plan_create | ( | void ** | plan, |
| const int | nx, | ||
| const int | ny, | ||
| const int | nz, | ||
| const int | batch ) |
| void hamilt::exx_batch_fft_plan_destroy | ( | void ** | plan | ) |
| void hamilt::exx_batch_gather_accum | ( | const int | nbands, |
| const int | npwk, | ||
| const int | nxyz, | ||
| const int * | box_map, | ||
| const T * | box, | ||
| const Real | factor, | ||
| T * | out, | ||
| const int | out_stride ) |
| void hamilt::exx_batch_gather_pw | ( | const int | nbands, |
| const int | npw, | ||
| const int | nxyz, | ||
| const int * | box_map, | ||
| const T * | box, | ||
| T * | pw ) |
| void hamilt::exx_batch_mul_pot | ( | const int | nbands, |
| const int | npw, | ||
| const Real * | pot, | ||
| T * | pw ) |
| void hamilt::exx_batch_mul_real | ( | const int | nbands, |
| const int | nrxx, | ||
| const T * | mq_real, | ||
| T * | data ) |
| void hamilt::exx_batch_scatter_pw | ( | const int | nbands, |
| const int | npw, | ||
| const int | nxyz, | ||
| const int * | box_map, | ||
| const T * | pw, | ||
| T * | box ) |
| void hamilt::exx_batch_scatter_wfc | ( | const int | nbands, |
| const int | npwk, | ||
| const int | nxyz, | ||
| const int * | map, | ||
| const T * | psi, | ||
| const int | psi_stride, | ||
| T * | box ) |
| double hamilt::exx_divergence | ( | Conv_Coulomb_Pot_K::Coulomb_Type | coulomb_type, |
| double | erfc_omega, | ||
| const K_Vectors * | kv, | ||
| const ModulePW::PW_Basis_K * | wfcpw, | ||
| ModulePW::PW_Basis * | rhopw_dev, | ||
| double | tpiba, | ||
| bool | gamma_extrapolation, | ||
| double | ucell_omega ) |
| void hamilt::folding_HR | ( | const hamilt::HContainer< double > & | hR, |
| double * | hk, | ||
| const ModuleBase::Vector3< double > & | kvec_d_in, | ||
| const int | hk_ld, | ||
| const int | hk_type ) |
| void hamilt::folding_HR | ( | const hamilt::HContainer< TR > & | hR, |
| std::complex< double > * | hk, | ||
| const ModuleBase::Vector3< double > & | kvec_d_in, | ||
| const int | hk_ld, | ||
| const int | hk_type ) |
calculate the Hk matrix with specific k vector
| hR | the HContainer of <I,J,R> atom pairs |
| hk | the data pointer of Hk matrix, the size of hk would be nrow * ncol |
| kvec_d_in | the k vector in Direct coordinate |
| hk_ld | the leading dimension number of hk, ncol for row-major, nrow for column-major |
| hk_type | the data-type of hk, 0 is row-major, 1 is column-major |
| template void hamilt::folding_HR< double > | ( | const hamilt::HContainer< double > & | hR, |
| std::complex< double > * | hk, | ||
| const ModuleBase::Vector3< double > & | kvec_d_in, | ||
| const int | ncol, | ||
| const int | hk_type ) |
| template void hamilt::folding_HR< std::complex< double > > | ( | const hamilt::HContainer< std::complex< double > > & | hR, |
| std::complex< double > * | hk, | ||
| const ModuleBase::Vector3< double > & | kvec_d_in, | ||
| const int | ncol, | ||
| const int | hk_type ) |
| template void hamilt::gatherParallels | ( | const hamilt::HContainer< double > & | hR_p, |
| hamilt::HContainer< double > * | hR_s, | ||
| const int | serial_rank ) |
| template void hamilt::gatherParallels | ( | const hamilt::HContainer< std::complex< double > > & | hR_p, |
| hamilt::HContainer< std::complex< double > > * | hR_s, | ||
| const int | serial_rank ) |
| void hamilt::gatherParallels | ( | const hamilt::HContainer< TR > & | hR_p, |
| hamilt::HContainer< TR > * | hR_s, | ||
| const int | serial_rank ) |
gather the HContainer from all parallel objects to target serial object the serial object should be empty before gather
| hR_p | the HContainer of <I,J,R> atom pairs in parallel object |
| hR_s | the empty HContainer of <I,J,R> atom pairs in serial object |
| serial_rank | the rank of target serial object |
| void hamilt::get_exx_potential | ( | const K_Vectors * | kv, |
| const ModulePW::PW_Basis_K * | wfcpw, | ||
| ModulePW::PW_Basis * | rhopw_dev, | ||
| Real * | pot, | ||
| double | tpiba, | ||
| bool | gamma_extrapolation, | ||
| double | ucell_omega, | ||
| int | ik, | ||
| int | iq, | ||
| bool | is_stress, | ||
| const CoulombParam & | coulomb_param_in ) |
| template void hamilt::get_exx_potential< double, base_device::DEVICE_CPU > | ( | const K_Vectors * | , |
| const ModulePW::PW_Basis_K * | , | ||
| ModulePW::PW_Basis * | , | ||
| double * | , | ||
| double | , | ||
| bool | , | ||
| double | , | ||
| int | , | ||
| int | , | ||
| bool | , | ||
| const CoulombParam & | ) |
| template void hamilt::get_exx_potential< float, base_device::DEVICE_CPU > | ( | const K_Vectors * | , |
| const ModulePW::PW_Basis_K * | , | ||
| ModulePW::PW_Basis * | , | ||
| float * | , | ||
| double | , | ||
| bool | , | ||
| double | , | ||
| int | , | ||
| int | , | ||
| bool | , | ||
| const CoulombParam & | ) |
| void hamilt::get_exx_stress_potential | ( | const K_Vectors * | kv, |
| const ModulePW::PW_Basis_K * | wfcpw, | ||
| ModulePW::PW_Basis * | rhopw_dev, | ||
| Real * | pot, | ||
| double | tpiba, | ||
| bool | gamma_extrapolation, | ||
| double | ucell_omega, | ||
| int | ik, | ||
| int | iq, | ||
| const CoulombParam & | coulomb_param_in ) |
| template void hamilt::get_exx_stress_potential< double, base_device::DEVICE_CPU > | ( | const K_Vectors * | , |
| const ModulePW::PW_Basis_K * | , | ||
| ModulePW::PW_Basis * | , | ||
| double * | , | ||
| double | , | ||
| bool | , | ||
| double | , | ||
| int | , | ||
| int | , | ||
| const CoulombParam & | ) |
| template void hamilt::get_exx_stress_potential< float, base_device::DEVICE_CPU > | ( | const K_Vectors * | , |
| const ModulePW::PW_Basis_K * | , | ||
| ModulePW::PW_Basis * | , | ||
| float * | , | ||
| double | , | ||
| bool | , | ||
| double | , | ||
| int | , | ||
| int | , | ||
| const CoulombParam & | ) |
| void hamilt::gradient_element | ( | const int | ig, |
| const int | projector, | ||
| const int | npw, | ||
| const int | ld, | ||
| const int | nkb, | ||
| const int | nbeta, | ||
| const int | nq, | ||
| const Real | dq, | ||
| const Real | tpiba, | ||
| const int * | metadata, | ||
| const Real * | q, | ||
| const Real * | tab, | ||
| const Real * | derivative, | ||
| const Complex * | sk, | ||
| Complex * | out ) |
| void hamilt::gradient_harmonic | ( | const int | l, |
| const int | lm, | ||
| const Real * | q, | ||
| Real * | value ) |
Evaluate a normalized real solid harmonic and its Cartesian derivatives.
| Real hamilt::gradient_interpolate | ( | const Real * | table, |
| const Real | position ) |
|
inline |
|
inline |
| template void hamilt::resize_spin_storage | ( | HContainer< double > & | , |
| const HContainer< double > & | , | ||
| std::vector< double > & | , | ||
| const int | ) |
| template void hamilt::resize_spin_storage | ( | HContainer< std::complex< double > > & | , |
| const HContainer< std::complex< double > > & | , | ||
| std::vector< std::complex< double > > & | , | ||
| const int | ) |
| void hamilt::resize_spin_storage | ( | HContainer< T > & | current, |
| const HContainer< T > & | stored_layout, | ||
| std::vector< T > & | storage, | ||
| const int | current_spin ) |
Remap two-spin storage after an operator grows the active H(R). stored_layout describes the old buffer; current contains the assembled active spin. New blocks of the inactive spin are zero until its operators assemble them.
| void hamilt::Simpson_Integral | ( | const int | mesh, |
| FPTYPE * | func, | ||
| const FPTYPE * | rab, | ||
| FPTYPE & | asum ) |
| template void hamilt::transferParallels2Serial | ( | const hamilt::HContainer< double > & | hR_p, |
| hamilt::HContainer< double > * | hR_s, | ||
| const int | serial_rank ) |
| template void hamilt::transferParallels2Serial | ( | const hamilt::HContainer< std::complex< double > > & | hR_p, |
| hamilt::HContainer< std::complex< double > > * | hR_s, | ||
| const int | serial_rank ) |
| void hamilt::transferParallels2Serial | ( | const hamilt::HContainer< TR > & | hR_p, |
| hamilt::HContainer< TR > * | hR_s, | ||
| const int | serial_rank ) |
transfer the HContainer from parallel object to serial object
| hR_p | the HContainer of <I,J,R> atom pairs in parallel object |
| hR_s | the HContainer of <I,J,R> atom pairs in serial object |
| my_rank | the rank of current process |
| template void hamilt::transferParallels2Serials | ( | const hamilt::HContainer< double > & | hR_p, |
| hamilt::HContainer< double > * | hR_s ) |
| template void hamilt::transferParallels2Serials | ( | const hamilt::HContainer< std::complex< double > > & | hR_p, |
| hamilt::HContainer< std::complex< double > > * | hR_s ) |
| void hamilt::transferParallels2Serials | ( | const hamilt::HContainer< TR > & | hR_p, |
| hamilt::HContainer< TR > * | hR_s ) |
transfer the HContainer from all serial objects to all parallel objects
| hR_p | the HContainer of <I,J,R> atom pairs in parallel object |
| hR_s | the HContainer of <I,J,R> atom pairs in serial object |
| template void hamilt::transferSerial2Parallels | ( | const hamilt::HContainer< double > & | hR_s, |
| hamilt::HContainer< double > * | hR_p, | ||
| const int | serial_rank ) |
| template void hamilt::transferSerial2Parallels | ( | const hamilt::HContainer< std::complex< double > > & | hR_s, |
| hamilt::HContainer< std::complex< double > > * | hR_p, | ||
| const int | serial_rank ) |
| void hamilt::transferSerial2Parallels | ( | const hamilt::HContainer< TR > & | hR_s, |
| hamilt::HContainer< TR > * | hR_p, | ||
| const int | serial_rank ) |
transfer the HContainer from serial object to parallel object
| hR_s | the HContainer of <I,J,R> atom pairs in serial object |
| hR_p | the HContainer of <I,J,R> atom pairs in parallel object |
| my_rank | the rank of current process |
| template void hamilt::transferSerials2Parallels | ( | const hamilt::HContainer< double > & | hR_s, |
| hamilt::HContainer< double > * | hR_p ) |
| template void hamilt::transferSerials2Parallels | ( | const hamilt::HContainer< std::complex< double > > & | hR_s, |
| hamilt::HContainer< std::complex< double > > * | hR_p ) |
| void hamilt::transferSerials2Parallels | ( | const hamilt::HContainer< TR > & | hR_s, |
| hamilt::HContainer< TR > * | hR_p ) |
transfer the HContainer from all serial objects to all parallel objects
| hR_s | the HContainer of <I,J,R> atom pairs in serial object |
| hR_p | the HContainer of <I,J,R> atom pairs in parallel object |
| hamilt::TYPED_TEST | ( | StressMggaTest | , |
| cal_stress_mgga_op | ) |
| hamilt::TYPED_TEST | ( | XC_FunctionalOpTest | , |
| xc_functional_grad_wfc_op | ) |
| hamilt::TYPED_TEST_SUITE | ( | StressMggaTest | , |
| base::utils::ComplexTypes | ) |
| hamilt::TYPED_TEST_SUITE | ( | XC_FunctionalOpTest | , |
| base::utils::ComplexTypes | ) |
|
constexpr |
|
constexpr |
|
constexpr |
| std::vector<typename GetTypeReal<T>::type> hamilt::OperatorEXXPW< T, Device >::erfc_div = {} |
| std::vector<typename GetTypeReal<T>::type> hamilt::OperatorEXXPW< T, Device >::fock_div = {} |