Ifpack2 Templated Preconditioning Package  Version 1.0
Namespaces | Functions
Ifpack2_Utilities.hpp File Reference

File for utility functions. More...

#include "Ifpack2_ConfigDefs.hpp"
#include "Teuchos_RefCountPtr.hpp"
#include "Teuchos_ScalarTraits.hpp"
#include "Tpetra_ConfigDefs.hpp"
#include "Tpetra_CrsGraph.hpp"

Go to the source code of this file.

Namespaces

 Ifpack2
 Preconditioners and smoothers for Tpetra sparse matrices.
 

Functions

template<class graph_type >
Teuchos::RCP< Tpetra::CrsGraph< typename graph_type::local_ordinal_type, typename graph_type::global_ordinal_type, typename graph_type::node_type > > Ifpack2::Details::computeDiagonalGraph (graph_type const &graph)
 Compute and return the graph of the diagonal of the input graph. More...
 
std::string Ifpack2::Details::canonicalize (const std::string &precType)
 Transform to canonical form of preconditioner name. More...
 

Detailed Description

File for utility functions.

Function Documentation

◆ computeDiagonalGraph()

template<class graph_type >
Teuchos::RCP<Tpetra::CrsGraph<typename graph_type::local_ordinal_type, typename graph_type::global_ordinal_type, typename graph_type::node_type> > Ifpack2::Details::computeDiagonalGraph ( graph_type const &  graph)

Compute and return the graph of the diagonal of the input graph.

This is copied from Tpetra::Experimental::BlockCrsMatrix.

◆ canonicalize()

std::string Ifpack2::Details::canonicalize ( const std::string &  precType)

Transform to canonical form of preconditioner name.