HybridADRSolver
Loading...
Searching...
No Matches
HybridADRSolver::JacobiPreconditioner< dim, fe_degree, Number > Class Template Reference

Jacobi preconditioner for the matrix-free operator. More...

#include <adr_operator.h>

Public Types

using VectorType = LinearAlgebra::distributed::Vector<Number>

Public Member Functions

void initialize (const ADROperator< dim, fe_degree, Number > &op)
 Initialize with the operator.
void vmult (VectorType &dst, const VectorType &src) const
 Apply the preconditioner: dst = M^{-1} * src.

Detailed Description

template<int dim, int fe_degree, typename Number = double>
class HybridADRSolver::JacobiPreconditioner< dim, fe_degree, Number >

Jacobi preconditioner for the matrix-free operator.

This simple preconditioner uses the inverse of the diagonal entries.

Member Typedef Documentation

◆ VectorType

template<int dim, int fe_degree, typename Number = double>
using HybridADRSolver::JacobiPreconditioner< dim, fe_degree, Number >::VectorType = LinearAlgebra::distributed::Vector<Number>

Member Function Documentation

◆ initialize()

template<int dim, int fe_degree, typename Number = double>
void HybridADRSolver::JacobiPreconditioner< dim, fe_degree, Number >::initialize ( const ADROperator< dim, fe_degree, Number > & op)
inline

Initialize with the operator.

◆ vmult()

template<int dim, int fe_degree, typename Number = double>
void HybridADRSolver::JacobiPreconditioner< dim, fe_degree, Number >::vmult ( VectorType & dst,
const VectorType & src ) const
inline

Apply the preconditioner: dst = M^{-1} * src.


The documentation for this class was generated from the following file: