ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
GradCorrBuffers Struct Reference

Scratch buffers shared by the gradcorr pipeline stages. More...

#include <xc_grad_internal.h>

Collaboration diagram for GradCorrBuffers:

Public Attributes

std::vector< double > rhotmp1
std::vector< double > rhotmp2
std::vector< std::complex< double > > rhogsum1
std::vector< std::complex< double > > rhogsum2
std::vector< ModuleBase::Vector3< double > > gdr1
std::vector< ModuleBase::Vector3< double > > gdr2
std::vector< ModuleBase::Vector3< double > > h1
std::vector< ModuleBase::Vector3< double > > h2
std::vector< double > neg
std::vector< double > vsave
std::vector< double > vgg
std::vector< double > lapl1
std::vector< double > lapl2
std::vector< double > vlapl_arr1
std::vector< double > vlapl_arr2

Detailed Description

Scratch buffers shared by the gradcorr pipeline stages.

All arrays are allocated by gradcorr_prepare_rho and consumed by gradcorr_xc_kernel and gradcorr_assemble_vxc. The flat vsave/vgg arrays are indexed as [is * nrxx + ir].

Member Data Documentation

◆ gdr1

std::vector<ModuleBase::Vector3<double> > GradCorrBuffers::gdr1

◆ gdr2

std::vector<ModuleBase::Vector3<double> > GradCorrBuffers::gdr2

◆ h1

std::vector<ModuleBase::Vector3<double> > GradCorrBuffers::h1

◆ h2

std::vector<ModuleBase::Vector3<double> > GradCorrBuffers::h2

◆ lapl1

std::vector<double> GradCorrBuffers::lapl1

◆ lapl2

std::vector<double> GradCorrBuffers::lapl2

◆ neg

std::vector<double> GradCorrBuffers::neg

◆ rhogsum1

std::vector<std::complex<double> > GradCorrBuffers::rhogsum1

◆ rhogsum2

std::vector<std::complex<double> > GradCorrBuffers::rhogsum2

◆ rhotmp1

std::vector<double> GradCorrBuffers::rhotmp1

◆ rhotmp2

std::vector<double> GradCorrBuffers::rhotmp2

◆ vgg

std::vector<double> GradCorrBuffers::vgg

◆ vlapl_arr1

std::vector<double> GradCorrBuffers::vlapl_arr1

◆ vlapl_arr2

std::vector<double> GradCorrBuffers::vlapl_arr2

◆ vsave

std::vector<double> GradCorrBuffers::vsave

The documentation for this struct was generated from the following file: