26#ifndef dftefeKohnShamOperatorContextFE_h
27#define dftefeKohnShamOperatorContextFE_h
55 template <
typename ValueTypeOperator,
56 typename ValueTypeOperand,
57 typename ValueTypeBasisData,
61 :
public linearAlgebra::
62 OperatorContext<ValueTypeOperator, ValueTypeOperand, memorySpace>
78 std::variant<Hamiltonian<float, memorySpace> *,
89 FEBasisManager<ValueTypeOperand, ValueTypeBasisData, memorySpace, dim>
91 std::vector<HamiltonianPtrVariant> hamiltonianComponentsVec,
101 dim> & feBasisManager,
102 std::vector<HamiltonianPtrVariant> hamiltonianVec);
111 FEBasisManager<ValueTypeOperand, ValueTypeBasisData, memorySpace, dim>
An abstract class to encapsulate the partitioning of a finite element basis across multiple processor...
Definition: FEBasisManager.h:44
Definition: Hamiltonian.h:35
A derived class of linearAlgebra::OperatorContext to encapsulate the action of a discrete Kohn-Sham o...
Definition: KohnShamOperatorContextFE.h:63
linearAlgebra::LinAlgOpContext< memorySpace > d_linAlgOpContext
Definition: KohnShamOperatorContextFE.h:115
std::variant< Hamiltonian< float, memorySpace > *, Hamiltonian< double, memorySpace > *, Hamiltonian< std::complex< float >, memorySpace > *, Hamiltonian< std::complex< double >, memorySpace > * > HamiltonianPtrVariant
Definition: KohnShamOperatorContextFE.h:81
void reinit(const basis::FEBasisManager< ValueTypeOperand, ValueTypeBasisData, memorySpace, dim > &feBasisManager, std::vector< HamiltonianPtrVariant > hamiltonianVec)
Definition: KohnShamOperatorContextFE.t.cpp:661
const size_type d_maxCellTimesNumVecs
Definition: KohnShamOperatorContextFE.h:114
~KohnShamOperatorContextFE()=default
Storage d_hamiltonianInAllCells
Definition: KohnShamOperatorContextFE.h:113
linearAlgebra::blasLapack::scalar_type< ValueTypeOperator, ValueTypeOperand > ValueType
define ValueType as the superior (bigger set) of the ValueTypeOperator and ValueTypeOperand (e....
Definition: KohnShamOperatorContextFE.h:73
void apply(linearAlgebra::MultiVector< ValueTypeOperand, memorySpace > &X, linearAlgebra::MultiVector< ValueType, memorySpace > &Y) const override
Definition: KohnShamOperatorContextFE.t.cpp:852
const basis::FEBasisManager< ValueTypeOperand, ValueTypeBasisData, memorySpace, dim > * d_feBasisManager
Definition: KohnShamOperatorContextFE.h:112
Definition: LinAlgOpContext.h:38
An class template to encapsulate a MultiVector. A MultiVector is a collection of vectors belonging t...
Definition: MultiVector.h:134
blas::scalar_type< ValueType1, ValueType2 > scalar_type
Definition: BlasLapackTypedef.h:70
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8