10#ifndef IFPACK2_UTILITIES_HPP
11#define IFPACK2_UTILITIES_HPP
13#include "Ifpack2_ConfigDefs.hpp"
15#include "Teuchos_RefCountPtr.hpp"
16#include "Teuchos_ScalarTraits.hpp"
18#include "Tpetra_ConfigDefs.hpp"
19#include "Tpetra_CrsGraph.hpp"
32template <
class graph_type>
33Teuchos::RCP<Tpetra::CrsGraph<typename graph_type::local_ordinal_type, typename graph_type::global_ordinal_type, typename graph_type::node_type> >
35 typedef typename graph_type::local_ordinal_type LO;
36 typedef typename graph_type::global_ordinal_type GO;
37 typedef typename graph_type::node_type NO;
38 typedef Tpetra::Map<LO, GO, NO> map_type;
39 typedef Tpetra::CrsGraph<LO, GO, NO> crs_graph_type;
63std::string canonicalize(
const std::string& precType);
Teuchos::RCP< Tpetra::CrsGraph< typename graph_type::local_ordinal_type, typename graph_type::global_ordinal_type, typename graph_type::node_type > > computeDiagonalGraph(graph_type const &graph)
Compute and return the graph of the diagonal of the input graph.
Definition Ifpack2_Utilities.hpp:34
Ifpack2's implementation of Trilinos::Details::LinearSolver interface.
Definition Ifpack2_Details_LinearSolver_decl.hpp:75
Ifpack2 implementation details.
Preconditioners and smoothers for Tpetra sparse matrices.
Definition Ifpack2_AdditiveSchwarz_decl.hpp:40