#include <gint_atom.h>
|
| | GintAtom (const Atom *atom, int it, int ia, int iat, Vec3iVec3i biggrid_idx, Vec3iVec3i unitcell_idx, Vec3d tau_in_biggrid, const Numerical_Orbital *orb, const UnitCell *ucell) |
| const Atom * | get_atom () const |
| int | get_ia () const |
| int | get_iat () const |
| int | get_start_iw () const |
| const Vec3iVec3i & | get_bgrid_idx () const |
| const Vec3iVec3i & | get_unitcell_idx () const |
| const Vec3iVec3i & | get_R () const |
| const Vec3d & | get_tau_in_bgrid () const |
| const Numerical_Orbital * | get_orb () const |
| int | get_nw () const |
| double | get_rcut () const |
| template<typename T> |
| void | set_phi (const std::vector< Vec3d > &coords, const int stride, T *phi) const |
| | Get the wave function values of the atom at a meshgrid.
|
| template<typename T> |
| void | set_phi_dphi (const std::vector< Vec3d > &coords, const int stride, T *phi, T *dphi_x, T *dphi_y, T *dphi_z) const |
| | Get the wave function values and its derivative.
|
| template<typename T> |
| void | set_ddphi (const std::vector< Vec3d > &coords, const int stride, T *ddphi_xx, T *ddphi_xy, T *ddphi_xz, T *ddphi_yy, T *ddphi_yz, T *ddphi_zz) const |
| | Get the wave function values and its second derivative.
|
◆ GintAtom()
◆ get_atom()
| const Atom * ModuleGint::GintAtom::get_atom |
( |
| ) |
const |
|
inline |
◆ get_bgrid_idx()
| const Vec3iVec3i & ModuleGint::GintAtom::get_bgrid_idx |
( |
| ) |
const |
|
inline |
◆ get_ia()
| int ModuleGint::GintAtom::get_ia |
( |
| ) |
const |
|
inline |
◆ get_iat()
| int ModuleGint::GintAtom::get_iat |
( |
| ) |
const |
|
inline |
◆ get_nw()
| int ModuleGint::GintAtom::get_nw |
( |
| ) |
const |
|
inline |
◆ get_orb()
◆ get_R()
| const Vec3iVec3i & ModuleGint::GintAtom::get_R |
( |
| ) |
const |
|
inline |
◆ get_rcut()
| double ModuleGint::GintAtom::get_rcut |
( |
| ) |
const |
|
inline |
◆ get_start_iw()
| int ModuleGint::GintAtom::get_start_iw |
( |
| ) |
const |
|
inline |
◆ get_tau_in_bgrid()
| const Vec3d & ModuleGint::GintAtom::get_tau_in_bgrid |
( |
| ) |
const |
|
inline |
◆ get_unitcell_idx()
| const Vec3iVec3i & ModuleGint::GintAtom::get_unitcell_idx |
( |
| ) |
const |
|
inline |
◆ set_ddphi()
| template void ModuleGint::GintAtom::set_ddphi |
( |
const std::vector< Vec3d > & | coords, |
|
|
const int | stride, |
|
|
T * | ddphi_xx, |
|
|
T * | ddphi_xy, |
|
|
T * | ddphi_xz, |
|
|
T * | ddphi_yy, |
|
|
T * | ddphi_yz, |
|
|
T * | ddphi_zz ) const |
Get the wave function values and its second derivative.
ddphi[(n-1)*stride] ~ ddphi[(n-1)*stride + nw] store the second derivative of wave function values of the atom at the first meshgrid
- Parameters
-
| coords | the cartesian coordinates of the meshgrids of a biggrid relative to the atom |
| stride | the stride of the phi array between two adjacent meshgrids |
| ddphi_xx | array to store the second derivative wave functions in xx direction |
| ddphi_xy | array to store the second derivative wave functions in xy direction |
| ddphi_xz | array to store the second derivative wave functions in xz direction |
| ddphi_yy | array to store the second derivative wave functions in yy direction |
| ddphi_yz | array to store the second derivative wave functions in yz direction |
| ddphi_zz | array to store the second derivative wave functions in zz direction |
◆ set_phi()
| template void ModuleGint::GintAtom::set_phi |
( |
const std::vector< Vec3d > & | coords, |
|
|
const int | stride, |
|
|
T * | phi ) const |
Get the wave function values of the atom at a meshgrid.
phi[(n-1)*stride] ~ phi[(n-1)*stride + nw] store the wave function values of the first atom at the nth meshgrid
- Parameters
-
| coords | the cartesian coordinates of the meshgrids of a biggrid relative to the atom |
| stride | the stride of the phi array between two adjacent meshgrids |
| phi | array to store the wave function values |
◆ set_phi_dphi()
| template void ModuleGint::GintAtom::set_phi_dphi |
( |
const std::vector< Vec3d > & | coords, |
|
|
const int | stride, |
|
|
T * | phi, |
|
|
T * | dphi_x, |
|
|
T * | dphi_y, |
|
|
T * | dphi_z ) const |
Get the wave function values and its derivative.
The reason for combining the functions to solve the wave function values and wave function derivatives into one function is to improve efficiency. phi[(n-1)*stride] ~ phi[(n-1)*stride + nw] store the wave function values of the first atom at the nth meshgrid
- Parameters
-
| coords | the cartesian coordinates of the meshgrids of a biggrid relative to the atom |
| stride | the stride of the phi array between two adjacent meshgrids |
| phi | array to store the wave function values |
| dphi_x | array to store the derivative wave functions in x direction |
| dphi_y | array to store the derivative wave functions in y direction |
| dphi_z | array to store the derivative wave functions in z direction |
◆ atom_
| const Atom* ModuleGint::GintAtom::atom_ = nullptr |
|
private |
◆ biggrid_idx_
◆ ia_
| int ModuleGint::GintAtom::ia_ |
|
private |
◆ iat_
| int ModuleGint::GintAtom::iat_ |
|
private |
◆ it_
| int ModuleGint::GintAtom::it_ |
|
private |
◆ orb_
◆ p_ddpsi_uniform_
| std::vector<const double *> ModuleGint::GintAtom::p_ddpsi_uniform_ |
|
private |
◆ p_dpsi_uniform_
| std::vector<const double *> ModuleGint::GintAtom::p_dpsi_uniform_ |
|
private |
◆ p_psi_uniform_
| std::vector<const double *> ModuleGint::GintAtom::p_psi_uniform_ |
|
private |
◆ radial_blocks_
| std::vector<RadialBlock> ModuleGint::GintAtom::radial_blocks_ |
|
private |
◆ tau_in_biggrid_
| Vec3d ModuleGint::GintAtom::tau_in_biggrid_ |
|
private |
◆ ucell_
| const UnitCell* ModuleGint::GintAtom::ucell_ = nullptr |
|
private |
◆ unitcell_idx_
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/module_gint/gint_atom.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/module_gint/gint_atom.cpp
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/module_gint/set_ddphi.cpp