OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
Ifpack2Preconditioner< Level > Class Template Reference

#include <Ifpack2Preconditioner.h>

Inheritance diagram for Ifpack2Preconditioner< Level >:
Inheritance graph
[legend]
Collaboration diagram for Ifpack2Preconditioner< Level >:
Collaboration graph
[legend]

Public Types

typedef amr::Preconditioner Preconditioner
 
typedef Ifpack2::Preconditioner< amr::scalar_t, amr::local_ordinal_t, amr::global_ordinal_t, amr::node_tprecond_t
 
typedef std::map< std::string, Preconditionermap_t
 
- Public Types inherited from AmrPreconditioner< amr::matrix_t, Level >
typedef amr::operator_t operator_t
 

Public Member Functions

 Ifpack2Preconditioner (Preconditioner prec)
 
void create (const Teuchos::RCP< amr::matrix_t > &A, Level *level_p=nullptr)
 
Teuchos::RCP< amr::operator_tget ()
 

Static Public Member Functions

static void fillMap (map_t &map)
 

Private Member Functions

void init_m (Preconditioner prec)
 

Private Attributes

std::string prectype_m
 preconditioner type More...
 
Teuchos::RCP< Teuchos::ParameterList > params_mp
 parameter list of preconditioner More...
 
Teuchos::RCP< precond_tprec_mp
 

Detailed Description

template<class Level>
class Ifpack2Preconditioner< Level >

Definition at line 29 of file Ifpack2Preconditioner.h.

Member Typedef Documentation

◆ map_t

template<class Level >
typedef std::map<std::string, Preconditioner> Ifpack2Preconditioner< Level >::map_t

Definition at line 40 of file Ifpack2Preconditioner.h.

◆ precond_t

template<class Level >
typedef Ifpack2::Preconditioner< amr::scalar_t, amr::local_ordinal_t, amr::global_ordinal_t, amr::node_t > Ifpack2Preconditioner< Level >::precond_t

Definition at line 38 of file Ifpack2Preconditioner.h.

◆ Preconditioner

template<class Level >
typedef amr::Preconditioner Ifpack2Preconditioner< Level >::Preconditioner

Definition at line 32 of file Ifpack2Preconditioner.h.

Constructor & Destructor Documentation

◆ Ifpack2Preconditioner()

template<class Level >
Ifpack2Preconditioner< Level >::Ifpack2Preconditioner ( Preconditioner  prec)

Definition at line 24 of file Ifpack2Preconditioner.hpp.

References Ifpack2Preconditioner< Level >::init_m().

Here is the call graph for this function:

Member Function Documentation

◆ create()

template<class Level >
void Ifpack2Preconditioner< Level >::create ( const Teuchos::RCP< amr::matrix_t > &  A,
Level *  level_p = nullptr 
)
virtual

Instantiate the preconditioner matrix

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

Implements AmrPreconditioner< amr::matrix_t, Level >.

Definition at line 32 of file Ifpack2Preconditioner.hpp.

◆ fillMap()

template<class Level >
void Ifpack2Preconditioner< Level >::fillMap ( map_t map)
static

◆ get()

template<class Level >
Teuchos::RCP< amr::operator_t> Ifpack2Preconditioner< Level >::get
virtual
Returns
the preconditioner

Implements AmrPreconditioner< amr::matrix_t, Level >.

Definition at line 45 of file Ifpack2Preconditioner.hpp.

◆ init_m()

template<class Level >
void Ifpack2Preconditioner< Level >::init_m ( Preconditioner  prec)
private

Member Data Documentation

◆ params_mp

template<class Level >
Teuchos::RCP<Teuchos::ParameterList> Ifpack2Preconditioner< Level >::params_mp
private

parameter list of preconditioner

Definition at line 63 of file Ifpack2Preconditioner.h.

◆ prec_mp

template<class Level >
Teuchos::RCP<precond_t> Ifpack2Preconditioner< Level >::prec_mp
private

Definition at line 65 of file Ifpack2Preconditioner.h.

◆ prectype_m

template<class Level >
std::string Ifpack2Preconditioner< Level >::prectype_m
private

preconditioner type

Definition at line 60 of file Ifpack2Preconditioner.h.


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