26#ifndef dftefeOrthonormalizationFunctions_h
27#define dftefeOrthonormalizationFunctions_h
43 namespace linearAlgebra
45 template <
typename ValueTypeOperator,
46 typename ValueTypeOperand,
63 const bool useScalpack =
true,
113 const bool &useBatched =
true);
117 const std::shared_ptr<const ProcessGrid> & processGrid,
126 std::shared_ptr<MultivectorScratch<ValueType, memorySpace>>
d_scratch;
Manager class for ELPA and ScaLAPACK.
Definition: ElpaScalapackManager.h:43
Abstract class to encapsulate the action of a discrete operator on vectors, matrices,...
Definition: IdentityOperatorContext.h:53
Definition: LinAlgOpContext.h:52
An class template to encapsulate a MultiVector. A MultiVector is a collection of vectors belonging t...
Definition: MultiVector.h:134
Shared scratch MultiVectors (large-batch and small-batch variants) that can be reused across Chebyshe...
Definition: MultivectorScratch.h:52
Abstract class to encapsulate the action of a discrete operator on vectors, matrices,...
Definition: OperatorContext.h:51
Definition: OrthonormalizationFunctions.h:49
std::shared_ptr< MultiVector< ValueType, memorySpace > > d_XoutBatchSmall
Definition: OrthonormalizationFunctions.h:122
blasLapack::real_type< ValueType > RealType
Definition: OrthonormalizationFunctions.h:53
blasLapack::scalar_type< ValueTypeOperator, ValueTypeOperand > ValueType
Definition: OrthonormalizationFunctions.h:52
std::shared_ptr< MultiVector< ValueType, memorySpace > > d_XoutBatch
Definition: OrthonormalizationFunctions.h:122
size_type d_batchSizeSmall
Definition: OrthonormalizationFunctions.h:124
OrthonormalizationError ModifiedGramSchmidt(MultiVector< ValueTypeOperand, memorySpace > &X, MultiVector< ValueType, memorySpace > &orthogonalizedX, const OpContext &B=IdentityOperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace >())
Definition: OrthonormalizationFunctions.t.cpp:1108
std::shared_ptr< MultiVector< ValueType, memorySpace > > d_XinBatchSmall
Definition: OrthonormalizationFunctions.h:121
OrthonormalizationError MultipassCGS(MultiVector< ValueTypeOperand, memorySpace > &X, size_type maxPass, RealType shiftTolerance, RealType identityTolerance, const OpContext &B=IdentityOperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace >())
Definition: OrthonormalizationFunctions.t.cpp:465
OrthonormalizationError CholeskyGramSchmidt(MultiVector< ValueTypeOperand, memorySpace > &X, const OpContext &B=IdentityOperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace >())
Definition: OrthonormalizationFunctions.t.cpp:177
std::shared_ptr< MultivectorScratch< ValueType, memorySpace > > d_scratch
Definition: OrthonormalizationFunctions.h:126
const ElpaScalapackManager * d_elpaScala
Definition: OrthonormalizationFunctions.h:128
std::shared_ptr< MultiVector< ValueType, memorySpace > > d_XinBatch
Definition: OrthonormalizationFunctions.h:122
~OrthonormalizationFunctions()=default
Default Destructor.
const bool d_useELPA
Definition: OrthonormalizationFunctions.h:129
const bool d_useScalapack
Definition: OrthonormalizationFunctions.h:130
OrthonormalizationError MultipassLowdin(MultiVector< ValueTypeOperand, memorySpace > &X, size_type maxPass, RealType shiftTolerance, RealType identityTolerance, MultiVector< ValueType, memorySpace > &orthogonalizedX, const OpContext &B=IdentityOperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace >())
Definition: OrthonormalizationFunctions.t.cpp:809
void computeXTransOpX(MultiVector< ValueTypeOperand, memorySpace > &X, utils::MemoryStorage< ValueType, memorySpace > &S, const OpContext &Op, const bool &useBatched=true)
Definition: OrthonormalizationFunctions.t.cpp:1209
size_type d_eigenVecBatchSize
Definition: OrthonormalizationFunctions.h:124
Scalapack wrapper adapted from dealii library and extended implementation to complex datatype.
Definition: ScalapackWrapper.h:43
Definition: MemoryStorage.h:38
A class template to store the communication pattern (i.e., which entries/nodes to receive from which ...
Definition: MPIPatternP2P.h:197
typeInternal::real_type< ValueType > real_type
Definition: BlasLapackTypedef.h:177
typeInternal::scalar_type< ValueType1, ValueType2 > scalar_type
Definition: BlasLapackTypedef.h:183
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
std::uint64_t size_type
Definition: TypeConfig.h:9
Definition: LinearAlgebraTypes.h:154