#include <op_pw_vel.h>
|
| | Velocity (const ModulePW::PW_Basis_K *wfcpw_in, const int *isk_in, pseudopot_cell_vnl *ppcell_in, const UnitCell *ucell_in, const bool nonlocal_in=true, const typename GetTypeReal< FPTYPE >::type *vtau_in=nullptr, const int vtau_col_in=0, const int vtau_row_in=0) |
| | ~Velocity () |
| void | init (const int ik_in) |
| void | init (const int ik_in, const ModuleBase::Vector3< double > &vector_potential) |
| | Refresh momentum and projectors with a Hartree-unit vector potential.
|
| void | act (const psi::Psi< std::complex< FPTYPE >, Device > *psi_in, const int n_npwx, const std::complex< FPTYPE > *tmpsi_in, std::complex< FPTYPE > *tmvpsi, const bool add=false) const |
| | calculate \hat{v}|\psi>
|
◆ Complex
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ delmem_complex_op
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ delmem_var_op
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ resmem_complex_op
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ resmem_var_op
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ syncmem_var_h2d_op
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ Velocity()
template<typename FPTYPE, typename Device>
◆ ~Velocity()
template<typename FPTYPE, typename Device>
◆ act()
template<typename FPTYPE, typename Device>
| void hamilt::Velocity< FPTYPE, Device >::act |
( |
const psi::Psi< std::complex< FPTYPE >, Device > * | psi_in, |
|
|
const int | n_npwx, |
|
|
const std::complex< FPTYPE > * | tmpsi_in, |
|
|
std::complex< FPTYPE > * | tmvpsi, |
|
|
const bool | add = false ) const |
calculate \hat{v}|\psi>
- Parameters
-
| psi_in | Psi class which contains some information |
| n_npwx | nbands * NPOL |
| tmpsi_in | |\psi_i> size: n_npwx*npwx |
| tmvpsi | \hat{v}|\psi> size: 3*n_npwx*npwx |
| add | true : tmvpsi = tmvpsi + v|\psi> false: tmvpsi = v|\psi> |
◆ init() [1/2]
template<typename FPTYPE, typename Device>
◆ init() [2/2]
template<typename FPTYPE, typename Device>
Refresh momentum and projectors with a Hartree-unit vector potential.
◆ contraction_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ ctx
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ gradient_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ gradvkb_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
Initial value:
[Device, 3*nkb * npwk_max] gradient of nonlocal pseudopotential gradvkb
◆ gx_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
[Device, npwx] x component of G+K
◆ gy_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
[Device, npwx] y component of G+K
◆ gz_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
[Device, npwx] z component of G+K
◆ ik
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ isk
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ momentum_capacity_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ nonlocal
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ porter1_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
workspace on real grid / recip grid
◆ porter2_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
workspace on real grid / recip grid
◆ porter_capacity_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ ppcell
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ projector_capacity_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ tpiba
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ ucell
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
◆ vkb_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
[Device, nkb * npwk_max] nonlocal pseudopotential vkb
◆ vtau_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
Initial value:
[CPU] meta-GGA vtau on real grid (nspin x nrxx_smooth)
◆ vtau_col_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
number of grid points per spin for vtau
◆ vtau_row_
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
number of spin channels stored in vtau_
◆ wfcpw
template<typename FPTYPE, typename Device = base_device::DEVICE_CPU>
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_pw/module_pwdft/op_pw_vel.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_pw/module_pwdft/op_pw_vel.cpp