|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | set_3d_fft_box_op< FPTYPE, base_device::DEVICE_CPU > |
| struct | set_recip_to_real_output_op< FPTYPE, base_device::DEVICE_CPU > |
| struct | set_real_to_recip_output_op< FPTYPE, base_device::DEVICE_CPU > |
| struct | set_3d_fft_box_op |
| struct | set_recip_to_real_output_op |
| struct | set_real_to_recip_output_op |
| class | PW_Basis |
| A class which can convert a function of "r" to the corresponding linear superposition of plane waves (real space to reciprocal space) or convert a linear superposition of plane waves to the function of "r" (reciprocal to real). More... | |
| class | PW_Basis_Big |
| class | PW_Basis_K |
| Special pw_basis class. It includes different k-points. More... | |
| class | PW_Basis_K_Big |
| class | PW_Basis_Sup |
| Special pw_basis class for sup girds, which is constrcuted in order to be consistent with the smooth grids in terms of sticks. Easy for conversion between smooth and sup grids in reciprocal space. More... | |
Functions | |
| void | grid_positions (const PW_Basis &basis, const ModuleBase::Matrix3 &lattice, const double lattice_scale, std::vector< ModuleBase::Vector3< double > > &positions) |
| double | kinetic_shift (const PW_Basis_K &basis, const int ik, const int ig, const ModuleBase::Vector3< double > &A_ha) |
| Return the kinetic correction 2*p*A + A^2 in Ry for a Hartree vector potential. | |
| double | shifted_kinetic (const PW_Basis_K &basis, const int ik, const int ig, const ModuleBase::Vector3< double > &A_ha) |
| Return the shifted kinetic energy in Ry, retaining the cached unshifted squared momentum. | |
| template void | PW_Basis_K::real_to_recip< double, base_device::DEVICE_CPU > (const base_device::DEVICE_CPU *ctx, const std::complex< double > *in, std::complex< double > *out, const int ik, const bool add, const double factor) const |
| template void | PW_Basis_K::recip_to_real< double, base_device::DEVICE_CPU > (const base_device::DEVICE_CPU *ctx, const std::complex< double > *in, std::complex< double > *out, const int ik, const bool add, const double factor) const |
| template void | PW_Basis_K::recip_to_real< float, base_device::DEVICE_CPU > (const base_device::DEVICE_CPU *ctx, const std::complex< float > *in, std::complex< float > *out, const int ik, const bool add, const float factor) const |
| template void | PW_Basis_K::real_to_recip< float, base_device::DEVICE_CPU > (const base_device::DEVICE_CPU *ctx, const std::complex< float > *in, std::complex< float > *out, const int ik, const bool add, const float factor) const |
| void ModulePW::grid_positions | ( | const PW_Basis & | basis, |
| const ModuleBase::Matrix3 & | lattice, | ||
| double | lattice_scale, | ||
| std::vector< ModuleBase::Vector3< double > > & | positions ) |
Cartesian coordinates in Bohr of this rank's integer FFT grid nodes. Supports an empty local slab.
|
inline |
Return the kinetic correction 2*p*A + A^2 in Ry for a Hartree vector potential.
| template void ModulePW::PW_Basis_K::real_to_recip< double, base_device::DEVICE_CPU > | ( | const base_device::DEVICE_CPU * | ctx, |
| const std::complex< double > * | in, | ||
| std::complex< double > * | out, | ||
| const int | ik, | ||
| const bool | add, | ||
| const double | factor ) const |
| template void ModulePW::PW_Basis_K::real_to_recip< float, base_device::DEVICE_CPU > | ( | const base_device::DEVICE_CPU * | ctx, |
| const std::complex< float > * | in, | ||
| std::complex< float > * | out, | ||
| const int | ik, | ||
| const bool | add, | ||
| const float | factor ) const |
| template void ModulePW::PW_Basis_K::recip_to_real< double, base_device::DEVICE_CPU > | ( | const base_device::DEVICE_CPU * | ctx, |
| const std::complex< double > * | in, | ||
| std::complex< double > * | out, | ||
| const int | ik, | ||
| const bool | add, | ||
| const double | factor ) const |
| template void ModulePW::PW_Basis_K::recip_to_real< float, base_device::DEVICE_CPU > | ( | const base_device::DEVICE_CPU * | ctx, |
| const std::complex< float > * | in, | ||
| std::complex< float > * | out, | ||
| const int | ik, | ||
| const bool | add, | ||
| const float | factor ) const |
|
inline |
Return the shifted kinetic energy in Ry, retaining the cached unshifted squared momentum.