5#ifndef DFTFE_EXCDENSITYLLMGGACLASS_H
6#define DFTFE_EXCDENSITYLLMGGACLASS_H
13 template <dftfe::utils::MemorySpace memorySpace>
18 std::shared_ptr<xc_func_type> &funcCPtr,
22 std::shared_ptr<xc_func_type> &funcCPtr,
23 std::string modelXCInputFile,
32 const std::pair<dftfe::uInt, dftfe::uInt> &quadIndexRange,
40 &cDataout)
const override;
44 const std::vector<xcRemainderOutputDataAttributes> &outputDataAttributes)
79 const std::vector<double> &kPointWeights)
override;
83 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 updateWaveFunctionDependentFuncDerWrtPsi(const std::shared_ptr< AuxDensityMatrix< memorySpace > > &auxDensityMatrixPtr, const std::vector< double > &kPointWeights) override
dftfe::uInt d_vxcDivergenceTermFDStencilSize
Definition excDensityLLMGGAClass.h:99
double getWaveFunctionDependentExcEnergy() 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
std::shared_ptr< xc_func_type > d_funcXPtr
Definition excDensityLLMGGAClass.h:96
NNLLMGGA * d_NNLLMGGAPtr
Definition excDensityLLMGGAClass.h:95
std::vector< double > d_spacingFDStencil
Definition excDensityLLMGGAClass.h:98
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
std::shared_ptr< xc_func_type > d_funcCPtr
Definition excDensityLLMGGAClass.h:97
void checkInputOutputDataAttributesConsistency(const std::vector< xcRemainderOutputDataAttributes > &outputDataAttributes) const override
void computeWaveFunctionDependentExcEnergy(const std::shared_ptr< AuxDensityMatrix< memorySpace > > &auxDensityMatrix, const std::vector< double > &kPointWeights) override
void computeRhoTauDependentXCData(AuxDensityMatrix< memorySpace > &auxDensityMatrix, const std::pair< dftfe::uInt, dftfe::uInt > &quadIndexRange, std::unordered_map< xcRemainderOutputDataAttributes, dftfe::utils::MemoryStorage< double, dftfe::utils::MemorySpace::HOST > > &xDataOut, std::unordered_map< xcRemainderOutputDataAttributes, dftfe::utils::MemoryStorage< double, dftfe::utils::MemorySpace::HOST > > &cDataout) const override
excDensityLLMGGAClass(std::shared_ptr< xc_func_type > &funcXPtr, std::shared_ptr< xc_func_type > &funcCPtr, const bool useLibXC)
void reinitKPointDependentVariables(dftfe::uInt kPointIndex) override
bool d_useLibXC
Flag to indicate whether to use libxc or not.
Definition excDensityLLMGGAClass.h:100
excDensityLLMGGAClass(std::shared_ptr< xc_func_type > &funcXPtr, std::shared_ptr< xc_func_type > &funcCPtr, std::string modelXCInputFile, const bool useLibXC)
double getExpectationOfWaveFunctionDependentExcFuncDerWrtPsi() override
An class template to encapsulate a MultiVector. A MultiVector is a collection of vectors belonging t...
Definition MultiVector.h:127
Definition MemoryStorage.h:33
float numberFP32
Definition dftfeDataTypes.h:41
Definition pseudoPotentialToDftfeConverter.cc:34
xcRemainderOutputDataAttributes
Definition ExcSSDFunctionalBaseClass.h:58
std::uint32_t uInt
Definition TypeConfig.h:10