waves
Basic FE playground
Graph.h
Go to the documentation of this file.
1 #ifndef KATOPTRON_GRAPH_H
2 #define KATOPTRON_GRAPH_H
3 
4 #include "katoptron.h"
5 
6 #include "Map.h"
7 #include "ElementsList.h"
8 
9 #include <Tpetra_Map.hpp>
10 #include <Tpetra_Vector.hpp>
11 #include <Tpetra_CrsGraph.hpp>
12 
13 #include <Teuchos_RCP.hpp>
14 
15 namespace katoptron
16 {
17 
21 class Graph
22 {
25  typedef Tpetra::CrsGraph<local_ordinal_type, global_ordinal_type> crs_graph_type;
26 
27 public:
28  Teuchos::RCP<crs_graph_type> K;
29  Teuchos::RCP<crs_graph_type> S;
30  Teuchos::RCP<crs_graph_type> L;
31 
32  Graph(Teuchos::RCP<Map> map, Teuchos::RCP<ElementsList> elementsList);
33 };
34 }; // namespace katoptron
35 
36 #endif //KATOPTRON_GRAPH_H
katoptron::Map::local_ordinal_type
int local_ordinal_type
Definition: Map.h:27
katoptron::Graph::S
Teuchos::RCP< crs_graph_type > S
Definition: Graph.h:29
katoptron::Graph::K
Teuchos::RCP< crs_graph_type > K
Definition: Graph.h:28
katoptron::Graph::local_ordinal_type
Map::local_ordinal_type local_ordinal_type
Definition: Graph.h:23
katoptron::Map::global_ordinal_type
int global_ordinal_type
Definition: Map.h:28
katoptron::Graph::L
Teuchos::RCP< crs_graph_type > L
Definition: Graph.h:30
katoptron::Graph::global_ordinal_type
Map::global_ordinal_type global_ordinal_type
Definition: Graph.h:24
katoptron::Graph::Graph
Graph(Teuchos::RCP< Map > map, Teuchos::RCP< ElementsList > elementsList)
Graph constructor.
Definition: Graph.cpp:41
katoptron::Graph
Class used to compute and store the graph of the primal matrices with and without overlaps.
Definition: Graph.h:21
ElementsList.h
katoptron
katoptron namespace
Definition: Algebraic.h:18
katoptron.h
Map.h
katoptron::Graph::crs_graph_type
Tpetra::CrsGraph< local_ordinal_type, global_ordinal_type > crs_graph_type
Definition: Graph.h:25