DFT-EFE
 
Loading...
Searching...
No Matches
ExcTauMGGAClass.h
Go to the documentation of this file.
1#ifndef DFTEFE_ExcTauMGGAClass_H
2#define DFTEFE_ExcTauMGGAClass_H
3
4#include <xc.h>
6
7namespace dftefe
8{
9 namespace ksdft
10 {
11 template <dftefe::utils::MemorySpace memorySpace>
12 class ExcTauMGGAClass : public ExcSSDFunctionalBaseClass<memorySpace>
13 {
14 public:
15 ExcTauMGGAClass(std::shared_ptr<xc_func_type> &funcXPtr,
16 std::shared_ptr<xc_func_type> &funcCPtr,
17 std::string XCType);
18
20
21 void
23 const std::vector<xcRemainderOutputDataAttributes>
24 &outputDataAttributes) const override;
25
26 private:
27 void
29 const std::unordered_map<
32 &densityAttrVals,
33 const std::unordered_map<
36 &wfcAttrVals,
37 std::unordered_map<
41 &xDataOut,
42 std::unordered_map<
46 &cDataout) const override;
47
48 std::shared_ptr<xc_func_type> d_funcXPtr;
49 std::shared_ptr<xc_func_type> d_funcCPtr;
50 std::string d_XCType;
51 };
52 } // namespace ksdft
53} // namespace dftefe
54
55#endif
This class provides the structure for all Exc functionals that can be written as a combination of fun...
Definition: ExcSSDFunctionalBaseClass.h:94
std::vector< dftefe::utils::MemoryStorage< double, dftefe::utils::MemorySpace::HOST > > AttrStorage
Definition: ExcSSDFunctionalBaseClass.h:97
Definition: ExcTauMGGAClass.h:13
std::string d_XCType
Definition: ExcTauMGGAClass.h:50
std::shared_ptr< xc_func_type > d_funcXPtr
Definition: ExcTauMGGAClass.h:48
void checkInputOutputDataAttributesConsistency(const std::vector< xcRemainderOutputDataAttributes > &outputDataAttributes) const override
Definition: ExcTauMGGAClass.cpp:52
std::shared_ptr< xc_func_type > d_funcCPtr
Definition: ExcTauMGGAClass.h:49
~ExcTauMGGAClass()
Definition: ExcTauMGGAClass.cpp:47
void computeRhoTauDependentXCData(const std::unordered_map< DensityDescrAttr, typename ExcSSDFunctionalBaseClass< memorySpace >::AttrStorage > &densityAttrVals, const std::unordered_map< WfcDescrAttr, typename ExcSSDFunctionalBaseClass< memorySpace >::AttrStorage > &wfcAttrVals, std::unordered_map< xcRemainderOutputDataAttributes, dftefe::utils::MemoryStorage< double, dftefe::utils::MemorySpace::HOST > > &xDataOut, std::unordered_map< xcRemainderOutputDataAttributes, dftefe::utils::MemoryStorage< double, dftefe::utils::MemorySpace::HOST > > &cDataout) const override
Definition: ExcTauMGGAClass.cpp:82
Definition: MemoryStorage.h:38
DensityDescrAttr
Definition: KSAttributes.h:35
xcRemainderOutputDataAttributes
Definition: ExcSSDFunctionalBaseClass.h:63
WfcDescrAttr
Definition: KSAttributes.h:43
dealii includes
Definition: AtomFieldDataSpherical.cpp:31