|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
One-k-point gradient workspace with versioned radial tables. More...
#include <projector_gradient.h>
Public Member Functions | |
| void | calculate (pseudopot_cell_vnl *pp, const UnitCell &cell, const ModulePW::PW_Basis_K &basis, const int ik, const ModuleBase::Vector3< double > &A, Complex *output) |
| Refresh the shifted gradient in native precision and device storage. | |
Private Types | |
| using | Complex = std::complex<Real> |
Private Member Functions | |
| template<typename Value> | |
| void | reserve (ct::Tensor *tensor, const int64_t count) |
Private Attributes | |
| ct::Tensor | radial_ |
| ct::Tensor | derivative_ |
| ct::Tensor | metadata_ |
| ct::Tensor | momentum_ |
| ct::Tensor | structure_ |
| size_t | version_ = 0 |
| std::vector< Real > | host_q_ |
| std::vector< int > | host_metadata_ |
One-k-point gradient workspace with versioned radial tables.
|
private |
| void hamilt::ProjectorGradient< Real, Device >::calculate | ( | pseudopot_cell_vnl * | pp, |
| const UnitCell & | cell, | ||
| const ModulePW::PW_Basis_K & | basis, | ||
| const int | ik, | ||
| const ModuleBase::Vector3< double > & | A, | ||
| Complex * | output ) |
Refresh the shifted gradient in native precision and device storage.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |