26#ifndef dftefeJacobiPreconditioner_h
27#define dftefeJacobiPreconditioner_h
34 namespace linearAlgebra
43 template <
typename ValueType, utils::MemorySpace memorySpace>
A class to encapsulate the Jacobi preconditioner in a linear or non-linear solve.
Definition: JacobiPreconditioner.h:45
JacobiPreconditioner(const Vector< ValueType, memorySpace > &diagVector)
Vector< ValueType, memorySpace > d_invDiagVector
Definition: JacobiPreconditioner.h:74
Vector< ValueType, memorySpace > apply(const Vector< ValueType, memorySpace > &x) const override
Apply the preconditioner on a given vector and return the output vector.
void apply(Vector< ValueType, memorySpace > &x) const override
In-place apply the preconditioner on a given Vector (i.e., the input vector is modified to store the ...
~JacobiPreconditioner()=default
Default destructor.
Abstract class to encapsulate a preconditioner.
Definition: Preconditioner.h:54
A class that encapsulates a vector. This is a vector in the mathematical sense and not in the sense o...
Definition: Vector.h:122
dealii includes
Definition: AtomFieldDataSpherical.cpp:31