OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Types | Public Member Functions | List of all members
AmrPreconditioner< Matrix, Level > Class Template Referenceabstract

#include <AmrPreconditioner.h>

Public Types

typedef amr::operator_t operator_t
 

Public Member Functions

virtual void create (const Teuchos::RCP< Matrix > &A, Level *level_p=nullptr)=0
 
virtual Teuchos::RCP< operator_tget ()=0
 

Detailed Description

template<class Matrix, class Level>
class AmrPreconditioner< Matrix, Level >

Definition at line 41 of file AmrPreconditioner.h.

Member Typedef Documentation

◆ operator_t

template<class Matrix , class Level >
typedef amr::operator_t AmrPreconditioner< Matrix, Level >::operator_t

Definition at line 44 of file AmrPreconditioner.h.

Member Function Documentation

◆ create()

template<class Matrix , class Level >
virtual void AmrPreconditioner< Matrix, Level >::create ( const Teuchos::RCP< Matrix > &  A,
Level *  level_p = nullptr 
)
pure virtual

Instantiate the preconditioner matrix

Parameters
Amatrix for which to create preconditioner
level_pbottom level if necessary to build preconditioner

Implemented in MueLuPreconditioner< Level >, and Ifpack2Preconditioner< Level >.

◆ get()

template<class Matrix , class Level >
virtual Teuchos::RCP<operator_t> AmrPreconditioner< Matrix, Level >::get ( )
pure virtual
Returns
the preconditioner

Implemented in MueLuPreconditioner< Level >, and Ifpack2Preconditioner< Level >.


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