dune-pdelab  2.7-git
Public Member Functions | Static Public Attributes | List of all members
Dune::PDELab::GridOperatorPreconditioner< PrecGO > Class Template Reference

Turn a grid operator that represents a preconditioner into an ISTL preconditioner. More...

#include <dune/pdelab/backend/istl/matrixfree/gridoperatorpreconditioner.hh>

Inheritance diagram for Dune::PDELab::GridOperatorPreconditioner< PrecGO >:
Inheritance graph

Public Member Functions

Dune::SolverCategory::Category category () const override
 
 GridOperatorPreconditioner (const PrecGO &precgo)
 
void setLinearizationPoint (const Domain &u)
 
void pre (Domain &v, Range &d) override
 prepare preconditioner More...
 
void apply (Domain &v, const Range &d) override
 
void post (Domain &v) override
 

Static Public Attributes

static constexpr bool isLinear = PrecGO::LocalAssembler::isLinear()
 

Detailed Description

template<class PrecGO>
class Dune::PDELab::GridOperatorPreconditioner< PrecGO >

Turn a grid operator that represents a preconditioner into an ISTL preconditioner.

Template Parameters
PrecGOGrid operator implementing the matrix-free preconditioner application

Constructor & Destructor Documentation

◆ GridOperatorPreconditioner()

template<class PrecGO >
Dune::PDELab::GridOperatorPreconditioner< PrecGO >::GridOperatorPreconditioner ( const PrecGO &  precgo)
inline

Member Function Documentation

◆ apply()

template<class PrecGO >
void Dune::PDELab::GridOperatorPreconditioner< PrecGO >::apply ( Domain &  v,
const Range &  d 
)
inlineoverride

◆ category()

template<class PrecGO >
Dune::SolverCategory::Category Dune::PDELab::GridOperatorPreconditioner< PrecGO >::category ( ) const
inlineoverride

◆ post()

template<class PrecGO >
void Dune::PDELab::GridOperatorPreconditioner< PrecGO >::post ( Domain &  v)
inlineoverride

◆ pre()

template<class PrecGO >
void Dune::PDELab::GridOperatorPreconditioner< PrecGO >::pre ( Domain &  v,
Range &  d 
)
inlineoverride

prepare preconditioner

◆ setLinearizationPoint()

template<class PrecGO >
void Dune::PDELab::GridOperatorPreconditioner< PrecGO >::setLinearizationPoint ( const Domain &  u)
inline

Set linearization point Must be called before apply() for nonlinear problems.

Member Data Documentation

◆ isLinear

template<class PrecGO >
constexpr bool Dune::PDELab::GridOperatorPreconditioner< PrecGO >::isLinear = PrecGO::LocalAssembler::isLinear()
staticconstexpr

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