17#ifndef DFTFE_EXCDENSITYGGACLASS_H
18#define DFTFE_EXCDENSITYGGACLASS_H
25 template <dftfe::utils::MemorySpace memorySpace>
30 std::shared_ptr<xc_func_type> funcCPtr);
34 std::shared_ptr<xc_func_type> funcCPtr,
35 std::string modelXCInputFile);
45 const std::pair<dftfe::uInt, dftfe::uInt> &quadIndexRange,
49 &cDataout)
const override;
52 const std::vector<xcRemainderOutputDataAttributes> &outputDataAttributes)
87 const std::vector<double> &kPointWeights)
override;
91 const std::vector<double> &kPointWeights)
override;
Definition AuxDensityMatrix.h:40
ExcSSDFunctionalBaseClass(const ExcFamilyType excFamType, const densityFamilyType densityFamType, const std::vector< DensityDescriptorDataAttributes > &densityDescriptorAttributesList)
Definition ExcSSDFunctionalBaseClass.t.cc:25
void checkInputOutputDataAttributesConsistency(const std::vector< xcRemainderOutputDataAttributes > &outputDataAttributes) const override
NNGGA * d_NNGGAPtr
Definition excDensityGGAClass.h:103
std::shared_ptr< xc_func_type > d_funcCPtr
Definition excDensityGGAClass.h:105
excDensityGGAClass(std::shared_ptr< xc_func_type > funcXPtr, std::shared_ptr< xc_func_type > funcCPtr)
excDensityGGAClass(std::shared_ptr< xc_func_type > funcXPtr, std::shared_ptr< xc_func_type > funcCPtr, std::string modelXCInputFile)
void reinitKPointDependentVariables(dftfe::uInt kPointIndex) override
void applyWaveFunctionDependentFuncDerWrtPsi(const dftfe::linearAlgebra::MultiVector< dataTypes::number, memorySpace > &src, dftfe::linearAlgebra::MultiVector< dataTypes::number, memorySpace > &dst, const dftfe::uInt inputVecSize, const dftfe::uInt kPointIndex, const dftfe::uInt spinIndex) override
void updateWaveFunctionDependentFuncDerWrtPsi(const std::shared_ptr< AuxDensityMatrix< memorySpace > > &auxDensityMatrixPtr, const std::vector< double > &kPointWeights) override
void computeWaveFunctionDependentExcEnergy(const std::shared_ptr< AuxDensityMatrix< memorySpace > > &auxDensityMatrix, const std::vector< double > &kPointWeights) override
std::vector< double > d_spacingFDStencil
Definition excDensityGGAClass.h:106
std::shared_ptr< xc_func_type > d_funcXPtr
Definition excDensityGGAClass.h:104
void applyWaveFunctionDependentFuncDerWrtPsi(const dftfe::linearAlgebra::MultiVector< dataTypes::numberFP32, memorySpace > &src, dftfe::linearAlgebra::MultiVector< dataTypes::numberFP32, memorySpace > &dst, const dftfe::uInt inputVecSize, const dftfe::uInt kPointIndex, const dftfe::uInt spinIndex) override
void computeRhoTauDependentXCData(AuxDensityMatrix< memorySpace > &auxDensityMatrix, const std::pair< dftfe::uInt, dftfe::uInt > &quadIndexRange, std::unordered_map< xcRemainderOutputDataAttributes, std::vector< double > > &xDataOut, std::unordered_map< xcRemainderOutputDataAttributes, std::vector< double > > &cDataout) const override
double getWaveFunctionDependentExcEnergy() override
dftfe::uInt d_vxcDivergenceTermFDStencilSize
Definition excDensityGGAClass.h:107
double getExpectationOfWaveFunctionDependentExcFuncDerWrtPsi() override
An class template to encapsulate a MultiVector. A MultiVector is a collection of vectors belonging t...
Definition MultiVector.h:127
float numberFP32
Definition dftfeDataTypes.h:43
Definition pseudoPotentialToDftfeConverter.cc:34
xcRemainderOutputDataAttributes
Definition ExcSSDFunctionalBaseClass.h:58
std::uint32_t uInt
Definition TypeConfig.h:10