KASKADE 7 development version
Public Member Functions | Static Public Attributes | List of all members
Kaskade::DirectPreconditioner< Op > Class Template Reference

More...

#include <directPreconditioner.hh>

Detailed Description

template<class Op>
class Kaskade::DirectPreconditioner< Op >

A direct preconditioner applicable to assembled operators.

Template Parameters
Opthe assembled operator. Note that Op::matrix_type must be MatrixAsTriplet<> and Op::Domain must be LinearProductSpace<>. This is satisfied for assembled Galerkin operators coming from a VariationalFunctionalAssembler.

Definition at line 44 of file directPreconditioner.hh.

Inheritance diagram for Kaskade::DirectPreconditioner< Op >:

Public Member Functions

 DirectPreconditioner (Op const &op, DirectType directType=DirectType::UMFPACK, MatrixProperties property=MatrixProperties::SYMMETRIC)
 
void pre (Domain &, Range &)
 
void post (Domain &)
 
void apply (Domain &x, Range const &y)
 

Static Public Attributes

static int const category = Dune::SolverCategory::sequential
 

Constructor & Destructor Documentation

◆ DirectPreconditioner()

template<class Op >
Kaskade::DirectPreconditioner< Op >::DirectPreconditioner ( Op const &  op,
DirectType  directType = DirectType::UMFPACK,
MatrixProperties  property = MatrixProperties::SYMMETRIC 
)
inline
  • op the assembled operator
  • first,last a half-open index range denoting the range where the direct solver will be applied.
  • directType the type of direct solver to be used
  • property the properties of the matrix (MatrixProperties::SYMMETRIC,MatrixProperties::GENERAL)

Definition at line 59 of file directPreconditioner.hh.

Member Function Documentation

◆ apply()

template<class Op >
void Kaskade::DirectPreconditioner< Op >::apply ( Domain &  x,
Range const &  y 
)
inline

Definition at line 66 of file directPreconditioner.hh.

◆ post()

template<class Op >
void Kaskade::DirectPreconditioner< Op >::post ( Domain &  )
inline

Definition at line 64 of file directPreconditioner.hh.

◆ pre()

template<class Op >
void Kaskade::DirectPreconditioner< Op >::pre ( Domain &  ,
Range &   
)
inline

Definition at line 63 of file directPreconditioner.hh.

Member Data Documentation

◆ category

template<class Op >
int const Kaskade::DirectPreconditioner< Op >::category = Dune::SolverCategory::sequential
static

Definition at line 51 of file directPreconditioner.hh.


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