Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
dealii::MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType > Class Template Reference
Inheritance diagram for dealii::MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType >:
[legend]

Public Member Functions

 MGCoarseGridApplyPreconditioner ()
 MGCoarseGridApplyPreconditioner (const PreconditionerType &precondition)
void clear ()
void initialize (const PreconditionerType &precondition)
virtual void operator() (const unsigned int level, VectorType &dst, const VectorType &src) const override

Private Attributes

ObserverPointer< const PreconditionerType, MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType > > preconditioner

Detailed Description

template<class VectorType, class PreconditionerType>
class dealii::MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType >

Coarse grid solver using a preconditioner only. This is a little wrapper, transforming a preconditioner into a coarse grid solver.

Definition at line 481 of file fluid_dynamics_matrix_free.cc.

Constructor & Destructor Documentation

◆ MGCoarseGridApplyPreconditioner() [1/2]

template<class VectorType, class PreconditionerType>
dealii::MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType >::MGCoarseGridApplyPreconditioner ( )

Default constructor.

Definition at line 527 of file fluid_dynamics_matrix_free.cc.

References preconditioner.

◆ MGCoarseGridApplyPreconditioner() [2/2]

template<class VectorType, class PreconditionerType>
dealii::MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType >::MGCoarseGridApplyPreconditioner ( const PreconditionerType & precondition)

Constructor. Store a pointer to the preconditioner for later use.

Definition at line 535 of file fluid_dynamics_matrix_free.cc.

References preconditioner.

Member Function Documentation

◆ clear()

template<class VectorType, class PreconditionerType>
void dealii::MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType >::clear ( )

Clear the pointer.

Definition at line 554 of file fluid_dynamics_matrix_free.cc.

References preconditioner.

◆ initialize()

template<class VectorType, class PreconditionerType>
void dealii::MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType >::initialize ( const PreconditionerType & precondition)

Initialize new data.

Definition at line 544 of file fluid_dynamics_matrix_free.cc.

References preconditioner.

◆ operator()()

template<class VectorType, class PreconditionerType>
void dealii::MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType >::operator() ( const unsigned int level,
VectorType & dst,
const VectorType & src ) const
overridevirtual

Implementation of the abstract function.

Definition at line 563 of file fluid_dynamics_matrix_free.cc.

References preconditioner.

Member Data Documentation

◆ preconditioner

template<class VectorType, class PreconditionerType>
ObserverPointer< const PreconditionerType, MGCoarseGridApplyPreconditioner<VectorType, PreconditionerType> > dealii::MGCoarseGridApplyPreconditioner< VectorType, PreconditionerType >::preconditioner
private

Reference to the preconditioner.

Definition at line 521 of file fluid_dynamics_matrix_free.cc.


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