26#ifndef dftefeExchangeCorrelationFE_h
27#define dftefeExchangeCorrelationFE_h
42 template <
typename ValueTypeBasisData,
43 typename ValueTypeBasisCoeff,
47 :
public Hamiltonian<ValueTypeBasisData, memorySpace>,
48 public Energy<linearAlgebra::blasLapack::real_type<
49 linearAlgebra::blasLapack::scalar_type<ValueTypeBasisData,
50 ValueTypeBasisCoeff>>>
67 &electronChargeDensity,
86 &electronChargeDensity);
116 std::shared_ptr<linearAlgebra::LinAlgOpContext<memorySpace>>
An abstract class to store and access data for a given basis, such as the basis function values on a ...
Definition: FEBasisDataStorage.h:53
Definition: FEBasisDofHandler.h:57
Definition: FEBasisOperations.h:57
Definition: ExchangeCorrelationFE.h:51
utils::MemoryStorage< RealType, utils::MemorySpace::HOST > * d_rho
Definition: ExchangeCorrelationFE.h:122
RealType d_energy
Definition: ExchangeCorrelationFE.h:114
linearAlgebra::blasLapack::real_type< ValueType > RealType
Definition: ExchangeCorrelationFE.h:57
const quadrature::QuadratureValuesContainer< RealType, memorySpace > * d_electronChargeDensity
Definition: ExchangeCorrelationFE.h:102
RealType getEnergy() const override
Definition: ExchangeCorrelationFE.t.cpp:435
std::shared_ptr< const basis::FEBasisDofHandler< ValueTypeBasisCoeff, memorySpace, dim > > d_feBasisDofHandler
Definition: ExchangeCorrelationFE.h:105
~ExchangeCorrelationFE()
Definition: ExchangeCorrelationFE.t.cpp:229
void reinitBasis(std::shared_ptr< const basis::FEBasisDataStorage< ValueTypeBasisData, memorySpace > > feBasisDataStorage)
Definition: ExchangeCorrelationFE.t.cpp:259
xc_func_type * d_funcC
Definition: ExchangeCorrelationFE.h:120
void getLocal(Storage &cellWiseStorage) const override
Definition: ExchangeCorrelationFE.t.cpp:356
linearAlgebra::blasLapack::scalar_type< ValueTypeBasisData, ValueTypeBasisCoeff > ValueType
Definition: ExchangeCorrelationFE.h:55
const size_type d_cellBlockSize
Definition: ExchangeCorrelationFE.h:115
void evalEnergy(const utils::mpi::MPIComm &comm)
Definition: ExchangeCorrelationFE.t.cpp:375
xc_func_type * d_funcX
Definition: ExchangeCorrelationFE.h:119
void reinitField(const quadrature::QuadratureValuesContainer< RealType, memorySpace > &electronChargeDensity)
Definition: ExchangeCorrelationFE.t.cpp:299
std::shared_ptr< linearAlgebra::LinAlgOpContext< memorySpace > > d_linAlgOpContext
Definition: ExchangeCorrelationFE.h:117
std::shared_ptr< const basis::FEBasisOperations< ValueTypeBasisCoeff, ValueTypeBasisData, memorySpace, dim > > d_feBasisOp
Definition: ExchangeCorrelationFE.h:113
std::shared_ptr< const basis::FEBasisDataStorage< ValueTypeBasisData, memorySpace > > d_feBasisDataStorage
Definition: ExchangeCorrelationFE.h:108
std::shared_ptr< quadrature::QuadratureValuesContainer< RealType, memorySpace > > d_xcPotentialQuad
Definition: ExchangeCorrelationFE.h:100
Definition: Hamiltonian.h:35
Definition: LinAlgOpContext.h:38
Definition: QuadratureValuesContainer.h:39
Definition: MemoryStorage.h:38
blas::scalar_type< ValueType1, ValueType2 > scalar_type
Definition: BlasLapackTypedef.h:70
blas::real_type< ValueType > real_type
Definition: BlasLapackTypedef.h:64
int MPIComm
Definition: MPITypes.h:83
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8