#include <ExchangeCorrelationFE.h>
Public Types | |
using | ValueType = linearAlgebra::blasLapack::scalar_type< ValueTypeBasisData, ValueTypeBasisCoeff > |
using | RealType = linearAlgebra::blasLapack::real_type< ValueType > |
using | Storage = utils::MemoryStorage< ValueType, memorySpace > |
Public Member Functions | |
ExchangeCorrelationFE (const quadrature::QuadratureValuesContainer< RealType, memorySpace > &electronChargeDensity, std::shared_ptr< const basis::FEBasisDataStorage< ValueTypeBasisData, memorySpace > > feBasisDataStorage, std::shared_ptr< linearAlgebra::LinAlgOpContext< memorySpace > > linAlgOpContext, const size_type cellBlockSize) | |
Constructor. More... | |
~ExchangeCorrelationFE () | |
void | reinitBasis (std::shared_ptr< const basis::FEBasisDataStorage< ValueTypeBasisData, memorySpace > > feBasisDataStorage) |
void | reinitField (const quadrature::QuadratureValuesContainer< RealType, memorySpace > &electronChargeDensity) |
void | getLocal (Storage &cellWiseStorage) const override |
void | evalEnergy (const utils::mpi::MPIComm &comm) |
RealType | getEnergy () const override |
Public Member Functions inherited from dftefe::ksdft::Hamiltonian< ValueTypeBasisData, memorySpace > | |
virtual void | getLocal (utils::MemoryStorage< ValueTypeBasisData, memorySpace > &cellWiseStorage) const=0 |
virtual linearAlgebra::blasLapack::real_type< linearAlgebra::blasLapack::scalar_type< ValueTypeBasisData, ValueTypeBasisCoeff > > | getEnergy () const=0 |
Private Attributes | |
std::shared_ptr< quadrature::QuadratureValuesContainer< RealType, memorySpace > > | d_xcPotentialQuad |
const quadrature::QuadratureValuesContainer< RealType, memorySpace > * | d_electronChargeDensity |
std::shared_ptr< const basis::FEBasisDofHandler< ValueTypeBasisCoeff, memorySpace, dim > > | d_feBasisDofHandler |
std::shared_ptr< const basis::FEBasisDataStorage< ValueTypeBasisData, memorySpace > > | d_feBasisDataStorage |
std::shared_ptr< const basis::FEBasisOperations< ValueTypeBasisCoeff, ValueTypeBasisData, memorySpace, dim > > | d_feBasisOp |
RealType | d_energy |
const size_type | d_cellBlockSize |
std::shared_ptr< linearAlgebra::LinAlgOpContext< memorySpace > > | d_linAlgOpContext |
xc_func_type * | d_funcX |
xc_func_type * | d_funcC |
utils::MemoryStorage< RealType, utils::MemorySpace::HOST > * | d_rho |
using dftefe::ksdft::ExchangeCorrelationFE< ValueTypeBasisData, ValueTypeBasisCoeff, memorySpace, dim >::RealType = linearAlgebra::blasLapack::real_type<ValueType> |
using dftefe::ksdft::ExchangeCorrelationFE< ValueTypeBasisData, ValueTypeBasisCoeff, memorySpace, dim >::Storage = utils::MemoryStorage<ValueType, memorySpace> |
using dftefe::ksdft::ExchangeCorrelationFE< ValueTypeBasisData, ValueTypeBasisCoeff, memorySpace, dim >::ValueType = linearAlgebra::blasLapack::scalar_type<ValueTypeBasisData, ValueTypeBasisCoeff> |
dftefe::ksdft::ExchangeCorrelationFE< ValueTypeBasisData, ValueTypeBasisCoeff, memorySpace, dim >::ExchangeCorrelationFE | ( | const quadrature::QuadratureValuesContainer< RealType, memorySpace > & | electronChargeDensity, |
std::shared_ptr< const basis::FEBasisDataStorage< ValueTypeBasisData, memorySpace > > | feBasisDataStorage, | ||
std::shared_ptr< linearAlgebra::LinAlgOpContext< memorySpace > > | linAlgOpContext, | ||
const size_type | cellBlockSize | ||
) |
Constructor.
dftefe::ksdft::ExchangeCorrelationFE< ValueTypeBasisData, ValueTypeBasisCoeff, memorySpace, dim >::~ExchangeCorrelationFE |
void dftefe::ksdft::ExchangeCorrelationFE< ValueTypeBasisData, ValueTypeBasisCoeff, memorySpace, dim >::evalEnergy | ( | const utils::mpi::MPIComm & | comm | ) |
|
overridevirtual |
|
override |
void dftefe::ksdft::ExchangeCorrelationFE< ValueTypeBasisData, ValueTypeBasisCoeff, memorySpace, dim >::reinitBasis | ( | std::shared_ptr< const basis::FEBasisDataStorage< ValueTypeBasisData, memorySpace > > | feBasisDataStorage | ) |
void dftefe::ksdft::ExchangeCorrelationFE< ValueTypeBasisData, ValueTypeBasisCoeff, memorySpace, dim >::reinitField | ( | const quadrature::QuadratureValuesContainer< RealType, memorySpace > & | electronChargeDensity | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |