MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

Concrete preconditioner factory subclass based on MueLu. More...

#include <Thyra_MueLuTpetraQ2Q1PreconditionerFactory_decl.hpp>

Inheritance diagram for Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >:

Private Types

typedef Scalar SC
 
typedef LocalOrdinal LO
 
typedef GlobalOrdinal GO
 
typedef Node NO
 

Private Member Functions

Teuchos::RCP
< MueLu::TpetraOperator< SC,
LO, GO, NO > > 
Q2Q1MkPrecond (const ParameterList &paramList, const Teuchos::RCP< Tpetra::MultiVector< SC, LO, GO, NO > > &velCoords, const Teuchos::RCP< Tpetra::MultiVector< SC, LO, GO, NO > > &presCoords, const Teuchos::ArrayRCP< LO > &p2vMap, const Teko::LinearOp &thA11, const Teko::LinearOp &thA12, const Teko::LinearOp &thA21, const Teko::LinearOp &thA11_9Pt) const
 
Teuchos::RCP< Xpetra::Matrix
< SC, LO, GO, NO > > 
Absolute (const Xpetra::Matrix< SC, LO, GO, NO > &A) const
 
Teuchos::RCP< Xpetra::Matrix
< SC, LO, GO, NO > > 
FilterMatrix (Xpetra::Matrix< SC, LO, GO, NO > &A, Xpetra::Matrix< SC, LO, GO, NO > &Pattern, SC dropTol) const
 
void SetDependencyTree (MueLu::FactoryManager< SC, LO, GO, NO > &M, const ParameterList &paramList) const
 
void SetBlockDependencyTree (MueLu::FactoryManager< SC, LO, GO, NO > &M, LO row, LO col, const std::string &mode, const ParameterList &paramList) const
 
RCP< MueLu::FactoryBaseGetSmoother (const std::string &type, const ParameterList &paramList, bool coarseSolver) const
 

Private Attributes

Teuchos::RCP
< Teuchos::ParameterList
paramList_
 

Constructors/initializers/accessors

 MueLuTpetraQ2Q1PreconditionerFactory ()
 

Overridden from PreconditionerFactoryBase

bool isCompatible (const LinearOpSourceBase< SC > &fwdOp) const
 
Teuchos::RCP
< PreconditionerBase< SC > > 
createPrec () const
 
void initializePrec (const Teuchos::RCP< const LinearOpSourceBase< SC > > &fwdOp, PreconditionerBase< SC > *prec, const ESupportSolveUse supportSolveUse) const
 
void uninitializePrec (PreconditionerBase< SC > *prec, Teuchos::RCP< const LinearOpSourceBase< SC > > *fwdOp, ESupportSolveUse *supportSolveUse) const
 

Overridden from Teuchos::ParameterListAcceptor

void setParameterList (const Teuchos::RCP< Teuchos::ParameterList > &paramList)
 
Teuchos::RCP
< Teuchos::ParameterList
unsetParameterList ()
 
Teuchos::RCP
< Teuchos::ParameterList
getNonconstParameterList ()
 
Teuchos::RCP< const
Teuchos::ParameterList
getParameterList () const
 
Teuchos::RCP< const
Teuchos::ParameterList
getValidParameters () const
 

Public functions overridden from Describable.

std::string description () const
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
class Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Concrete preconditioner factory subclass based on MueLu.

ToDo: Finish documentation!

Definition at line 67 of file Thyra_MueLuTpetraQ2Q1PreconditionerFactory_decl.hpp.

Member Typedef Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = KokkosClassic::DefaultNode::DefaultNodeType>
typedef Scalar Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SC
private
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = KokkosClassic::DefaultNode::DefaultNodeType>
typedef LocalOrdinal Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::LO
private
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = KokkosClassic::DefaultNode::DefaultNodeType>
typedef GlobalOrdinal Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GO
private
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = KokkosClassic::DefaultNode::DefaultNodeType>
typedef Node Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::NO
private

Constructor & Destructor Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::MueLuTpetraQ2Q1PreconditionerFactory ( )

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
bool Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::isCompatible ( const LinearOpSourceBase< SC > &  fwdOp) const
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< PreconditionerBase< Scalar > > Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::createPrec ( ) const
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::initializePrec ( const Teuchos::RCP< const LinearOpSourceBase< SC > > &  fwdOp,
PreconditionerBase< SC > *  prec,
const ESupportSolveUse  supportSolveUse 
) const
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::uninitializePrec ( PreconditionerBase< SC > *  prec,
Teuchos::RCP< const LinearOpSourceBase< SC > > *  fwdOp,
ESupportSolveUse *  supportSolveUse 
) const
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setParameterList ( const Teuchos::RCP< Teuchos::ParameterList > &  paramList)
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< ParameterList > Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::unsetParameterList ( )
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< ParameterList > Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getNonconstParameterList ( )
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const ParameterList > Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getParameterList ( ) const
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const ParameterList > Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getValidParameters ( ) const
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
std::string Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::description ( ) const
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< MueLu::TpetraOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Q2Q1MkPrecond ( const ParameterList paramList,
const Teuchos::RCP< Tpetra::MultiVector< SC, LO, GO, NO > > &  velCoords,
const Teuchos::RCP< Tpetra::MultiVector< SC, LO, GO, NO > > &  presCoords,
const Teuchos::ArrayRCP< LO > &  p2vMap,
const Teko::LinearOp &  thA11,
const Teko::LinearOp &  thA12,
const Teko::LinearOp &  thA21,
const Teko::LinearOp &  thA11_9Pt 
) const
private
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Absolute ( const Xpetra::Matrix< SC, LO, GO, NO > &  A) const
private
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::FilterMatrix ( Xpetra::Matrix< SC, LO, GO, NO > &  A,
Xpetra::Matrix< SC, LO, GO, NO > &  Pattern,
SC  dropTol 
) const
private
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetDependencyTree ( MueLu::FactoryManager< SC, LO, GO, NO > &  M,
const ParameterList paramList 
) const
private
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::SetBlockDependencyTree ( MueLu::FactoryManager< SC, LO, GO, NO > &  M,
LO  row,
LO  col,
const std::string &  mode,
const ParameterList paramList 
) const
private
template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< MueLu::FactoryBase > Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::GetSmoother ( const std::string &  type,
const ParameterList paramList,
bool  coarseSolver 
) const
private

Member Data Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node = KokkosClassic::DefaultNode::DefaultNodeType>
Teuchos::RCP<Teuchos::ParameterList> Thyra::MueLuTpetraQ2Q1PreconditionerFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::paramList_
private

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