26#ifndef dftefeChebyshevFilteredEigenSolver_h
27#define dftefeChebyshevFilteredEigenSolver_h
42 namespace linearAlgebra
55 template <
typename ValueTypeOperator,
56 typename ValueTypeOperand,
59 :
public HermitianIterativeEigenSolver<ValueTypeOperator,
74 typename HermitianIterativeEigenSolver<ValueTypeOperator,
83 const double wantedSpectrumLowerBound,
84 const double wantedSpectrumUpperBound,
85 const double unWantedSpectrumUpperBound,
86 const double polynomialDegree,
87 const double illConditionTolerance,
89 const size_type eigenVectorBlockSize = 0);
98 reinit(
const double wantedSpectrumLowerBound,
99 const double wantedSpectrumUpperBound,
100 const double unWantedSpectrumUpperBound,
101 const double polynomialDegree,
102 const double illConditionTolerance,
108 std::vector<RealType> & eigenValues,
110 bool computeEigenVectors =
false,
117 memorySpace>())
override;
134 std::shared_ptr<MultiVector<ValueType, memorySpace>>
A derived class of OperatorContext to encapsulate the action of a discrete operator on vectors,...
Definition: ChebyshevFilteredEigenSolver.h:62
std::shared_ptr< RayleighRitzEigenSolver< ValueTypeOperator, ValueType, memorySpace > > d_rr
Definition: ChebyshevFilteredEigenSolver.h:140
MultiVector< ValueTypeOperand, memorySpace > * d_eigenSubspaceGuess
Definition: ChebyshevFilteredEigenSolver.h:131
std::shared_ptr< MultiVector< ValueType, memorySpace > > d_filteredSubspace
Definition: ChebyshevFilteredEigenSolver.h:136
double d_polynomialDegree
Definition: ChebyshevFilteredEigenSolver.h:129
std::shared_ptr< MultiVector< ValueType, memorySpace > > d_filteredSubspaceOrtho
Definition: ChebyshevFilteredEigenSolver.h:135
double d_wantedSpectrumUpperBound
Definition: ChebyshevFilteredEigenSolver.h:127
MultiVector< ValueType, memorySpace > & getFilteredSubspace()
Definition: ChebyshevFilteredEigenSolver.t.cpp:240
MultiVector< ValueType, memorySpace > & getOrthogonalizedFilteredSubspace()
Definition: ChebyshevFilteredEigenSolver.t.cpp:253
size_type d_eigenVectorBlockSize
Definition: ChebyshevFilteredEigenSolver.h:132
void reinit(const double wantedSpectrumLowerBound, const double wantedSpectrumUpperBound, const double unWantedSpectrumUpperBound, const double polynomialDegree, const double illConditionTolerance, MultiVector< ValueTypeOperand, memorySpace > &eigenSubspaceGuess, const size_type eigenVectorBlockSize)
Definition: ChebyshevFilteredEigenSolver.t.cpp:74
double d_unWantedSpectrumUpperBound
Definition: ChebyshevFilteredEigenSolver.h:128
blasLapack::real_type< ValueType > RealType
Definition: ChebyshevFilteredEigenSolver.h:72
double d_wantedSpectrumLowerBound
Definition: ChebyshevFilteredEigenSolver.h:126
typename HermitianIterativeEigenSolver< ValueTypeOperator, ValueTypeOperand, memorySpace >::OpContext OpContext
Definition: ChebyshevFilteredEigenSolver.h:76
EigenSolverError solve(const OpContext &A, std::vector< RealType > &eigenValues, MultiVector< ValueType, memorySpace > &eigenVectors, bool computeEigenVectors=false, const OpContext &B=IdentityOperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace >(), const OpContext &BInv=IdentityOperatorContext< ValueTypeOperator, ValueTypeOperand, memorySpace >()) override
Definition: ChebyshevFilteredEigenSolver.t.cpp:111
double d_illConditionTolerance
Definition: ChebyshevFilteredEigenSolver.h:130
~ChebyshevFilteredEigenSolver()=default
Destructor.
blasLapack::scalar_type< ValueTypeOperator, ValueTypeOperand > ValueType
define ValueType as the superior (bigger set) of the ValueTypeOperator and ValueTypeOperand (e....
Definition: ChebyshevFilteredEigenSolver.h:71
Abstract class to encapsulate the action of a discrete operator on vectors, matrices,...
Definition: IdentityOperatorContext.h:53
An class template to encapsulate a MultiVector. A MultiVector is a collection of vectors belonging t...
Definition: MultiVector.h:134
A derived class of OperatorContext to encapsulate the action of a discrete operator on vectors,...
Definition: RayleighRitzEigenSolver.h:57
blas::scalar_type< ValueType1, ValueType2 > scalar_type
Definition: BlasLapackTypedef.h:70
blas::real_type< ValueType > real_type
Definition: BlasLapackTypedef.h:64
MemorySpace
Definition: MemorySpaceType.h:37
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8
Definition: LinearAlgebraTypes.h:127