3#ifndef DUNE_AMG_GRAPHCREATOR_HH
4#define DUNE_AMG_GRAPHCREATOR_HH
11#include <dune/common/tuples.hh>
12#include <dune/common/unused.hh>
18 template<
class M,
int cat=M::category>
25 typedef typename M::matrix_type
Matrix;
37 template<
class OF,
class T>
59 typedef typename M::matrix_type
Matrix;
72 template<
class OF,
class T,
class PI>
77 typedef typename PI::ParallelIndexSet ParallelIndexSet;
78 typedef typename ParallelIndexSet::const_iterator
IndexIterator;
82 excluded[index->local()] =
of.contains(index->local().attribute());
99 typedef typename M::matrix_type
Matrix;
112 template<
class OF,
class T,
class PI>
117 typedef typename PI::ParallelIndexSet ParallelIndexSet;
118 typedef typename ParallelIndexSet::const_iterator
IndexIterator;
122 excluded[index->local()] =
of.contains(index->local().attribute());
Define general, extensible interface for operators. The available implementation wraps a matrix.
Implementation of the BCRSMatrix class.
Provides classes for initializing the link attributes of a matrix graph.
Provides classes for building the matrix graph.
Definition basearray.hh:19
Statistics about compression achieved in implicit mode.
Definition bcrsmatrix.hh:81
Class representing the properties of an ede in the matrix graph.
Definition dependency.hh:38
Class representing a node in the matrix graph.
Definition dependency.hh:125
The (undirected) graph of a matrix.
Definition graph.hh:49
A subgraph of a graph.
Definition graph.hh:441
An index map for mapping the edges to indices.
Definition graph.hh:468
Attaches properties to the edges and vertices of a graph.
Definition graph.hh:976
Definition graphcreator.hh:20
M::matrix_type Matrix
Definition graphcreator.hh:25
static void free(GraphTuple &graphs)
Definition graphcreator.hh:49
static GraphTuple create(const M &matrix, T &excluded, const SequentialInformation &pinfo, const OF &)
Definition graphcreator.hh:38
Dune::tuple< MatrixGraph *, PropertiesGraph * > GraphTuple
Definition graphcreator.hh:35
Dune::Amg::MatrixGraph< const Matrix > MatrixGraph
Definition graphcreator.hh:27
Dune::Amg::PropertiesGraph< MatrixGraph, VertexProperties, EdgeProperties, IdentityMap, IdentityMap > PropertiesGraph
Definition graphcreator.hh:33
Dune::Amg::MatrixGraph< const Matrix > MatrixGraph
Definition graphcreator.hh:60
Dune::Amg::PropertiesGraph< SubGraph, VertexProperties, EdgeProperties, IdentityMap, typename SubGraph::EdgeIndexMap > PropertiesGraph
Definition graphcreator.hh:68
static void free(GraphTuple &graphs)
Definition graphcreator.hh:89
static GraphTuple create(const M &matrix, T &excluded, PI &pinfo, const OF &of)
Definition graphcreator.hh:73
Dune::tuple< MatrixGraph *, PropertiesGraph *, SubGraph * > GraphTuple
Definition graphcreator.hh:70
M::matrix_type Matrix
Definition graphcreator.hh:59
Dune::Amg::SubGraph< MatrixGraph, std::vector< bool > > SubGraph
Definition graphcreator.hh:62
M::matrix_type Matrix
Definition graphcreator.hh:99
Dune::Amg::MatrixGraph< const Matrix > MatrixGraph
Definition graphcreator.hh:100
Dune::Amg::SubGraph< MatrixGraph, std::vector< bool > > SubGraph
Definition graphcreator.hh:102
static GraphTuple create(const M &matrix, T &excluded, PI &pinfo, const OF &of)
Definition graphcreator.hh:113
static void free(GraphTuple &graphs)
Definition graphcreator.hh:129
Dune::tuple< MatrixGraph *, PropertiesGraph *, SubGraph * > GraphTuple
Definition graphcreator.hh:110
Dune::Amg::PropertiesGraph< SubGraph, VertexProperties, EdgeProperties, IdentityMap, typename SubGraph::EdgeIndexMap > PropertiesGraph
Definition graphcreator.hh:108
Categories for the solvers.
Definition solvercategory.hh:18