|
MueLu Version of the Day
|
#include <MueLu_LWGraphBase.hpp>
Public Types | |
| using | local_ordinal_type = LocalOrdinal |
| using | global_ordinal_type = GlobalOrdinal |
| using | map_type = Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > |
| using | crs_graph_type = Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > |
| using | size_type = size_t |
| using | device_type = typename std::conditional< OnHost, Kokkos::Device< Kokkos::Serial, Kokkos::HostSpace >, typename Node::device_type >::type |
| using | execution_space = typename device_type::execution_space |
| using | memory_space = typename device_type::memory_space |
| using | local_graph_device_type = KokkosSparse::StaticCrsGraph< LocalOrdinal, Kokkos::LayoutLeft, typename Node::device_type, void, size_t > |
| using | local_graph_type = typename std::conditional< OnHost, typename local_graph_device_type::host_mirror_type, local_graph_device_type >::type |
| using | boundary_nodes_type = Kokkos::View< bool *, memory_space > |
| using | row_type = typename local_graph_type::row_map_type |
| using | entries_type = typename local_graph_type::entries_type |
| using | neighbor_vertices_type = KokkosSparse::GraphRowViewConst< local_graph_type > |
Constructors/Destructors. | |
| local_graph_type | graph_ |
| Underlying graph (with label) | |
| RCP< const map_type > | domainMap_ |
| Graph maps. | |
| RCP< const map_type > | importMap_ |
| std::string | objectLabel_ |
| Name of this graph. | |
| boundary_nodes_type | dirichletBoundaries_ |
| Boolean array marking Dirichlet rows. | |
| LO | minLocalIndex_ |
| Local index boundaries (cached from domain map) | |
| LO | maxLocalIndex_ |
| size_type | maxNumRowEntries_ |
| void | setup (const local_graph_type &graph, const RCP< const map_type > &domainMap, const RCP< const map_type > &importMap, const std::string &objectLabel) |
| LWGraphBase (const local_graph_type &graph, const RCP< const map_type > &domainMap, const RCP< const map_type > &importMap, const std::string &objectLabel="") | |
| LWGraph constructor. | |
| LWGraphBase (const RCP< const crs_graph_type > &graph, const std::string &objectLabel="") | |
| LWGraphBase (const row_type &rows, const entries_type &columns, const RCP< const map_type > &domainMap, const RCP< const map_type > &importMap, const std::string &objectLabel="") | |
| ~LWGraphBase ()=default | |
| const RCP< const Teuchos::Comm< int > > | GetComm () const |
| const RCP< const Map > | GetDomainMap () const |
| const RCP< const Map > | GetImportMap () const |
| Return overlapping import map (nodes). | |
| KOKKOS_INLINE_FUNCTION size_type | GetNodeNumVertices () const |
| Return number of graph vertices. | |
| KOKKOS_INLINE_FUNCTION size_type | GetNodeNumEdges () const |
| Return number of graph edges. | |
| Xpetra::global_size_t | GetGlobalNumEdges () const |
| Return global number of graph edges. | |
| KOKKOS_INLINE_FUNCTION size_type | getLocalMaxNumRowEntries () const |
| Returns the maximum number of entries across all rows/columns on this node. | |
| KOKKOS_INLINE_FUNCTION neighbor_vertices_type | getNeighborVertices (LO i) const |
| Return the list of vertices adjacent to the vertex 'v'. | |
| Teuchos::ArrayView< LO > | getNeighborVertices_av (LO i) const |
| Return the list of vertices adjacent to the vertex 'v'. | |
| KOKKOS_INLINE_FUNCTION bool | isLocalNeighborVertex (LO i) const |
| Return true if vertex with local id 'v' is on current process. | |
| KOKKOS_INLINE_FUNCTION row_type | getRowPtrs () const |
| Return the row pointers of the local graph. | |
| KOKKOS_INLINE_FUNCTION entries_type | getEntries () const |
| Return the list entries in the local graph. | |
| KOKKOS_INLINE_FUNCTION void | SetBoundaryNodeMap (const boundary_nodes_type bndry) |
| Set boolean array indicating which rows correspond to Dirichlet boundaries. | |
| KOKKOS_INLINE_FUNCTION const boundary_nodes_type | GetBoundaryNodeMap () const |
| Returns map with global ids of boundary nodes. | |
| std::string | description () const |
| Return a simple one-line description of the Graph. | |
| void | print (Teuchos::FancyOStream &out, const VerbLevel verbLevel=Default) const |
| Print the Graph with some verbosity level to an FancyOStream object. | |
| local_graph_type & | getGraph () const |
| RCP< crs_graph_type > | GetCrsGraph () const |
| const std::string & | getObjectLabel () const |
Definition at line 72 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::local_ordinal_type = LocalOrdinal |
Definition at line 74 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::global_ordinal_type = GlobalOrdinal |
Definition at line 75 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::map_type = Xpetra::Map<LocalOrdinal, GlobalOrdinal, Node> |
Definition at line 76 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::crs_graph_type = Xpetra::CrsGraph<LocalOrdinal, GlobalOrdinal, Node> |
Definition at line 77 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::size_type = size_t |
Definition at line 78 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::device_type = typename std::conditional<OnHost, Kokkos::Device<Kokkos::Serial, Kokkos::HostSpace>, typename Node::device_type>::type |
Definition at line 80 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::execution_space = typename device_type::execution_space |
Definition at line 83 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::memory_space = typename device_type::memory_space |
Definition at line 84 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::local_graph_device_type = KokkosSparse::StaticCrsGraph<LocalOrdinal, Kokkos::LayoutLeft, typename Node::device_type, void, size_t> |
Definition at line 86 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::local_graph_type = typename std::conditional<OnHost, typename local_graph_device_type::host_mirror_type, local_graph_device_type>::type |
Definition at line 90 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::boundary_nodes_type = Kokkos::View<bool*, memory_space> |
Definition at line 91 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::row_type = typename local_graph_type::row_map_type |
Definition at line 92 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::entries_type = typename local_graph_type::entries_type |
Definition at line 93 of file MueLu_LWGraphBase.hpp.
| using MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, OnHost >::neighbor_vertices_type = KokkosSparse::GraphRowViewConst<local_graph_type> |
Definition at line 94 of file MueLu_LWGraphBase.hpp.
|
inline |
LWGraph constructor.
Definition at line 128 of file MueLu_LWGraphBase.hpp.
|
inline |
Definition at line 135 of file MueLu_LWGraphBase.hpp.
|
inline |
Definition at line 160 of file MueLu_LWGraphBase.hpp.
|
default |
|
inlineprivate |
Definition at line 103 of file MueLu_LWGraphBase.hpp.
|
inline |
Definition at line 172 of file MueLu_LWGraphBase.hpp.
|
inline |
Definition at line 175 of file MueLu_LWGraphBase.hpp.
|
inline |
Return overlapping import map (nodes).
Definition at line 179 of file MueLu_LWGraphBase.hpp.
|
inline |
Return number of graph vertices.
Definition at line 184 of file MueLu_LWGraphBase.hpp.
|
inline |
Return number of graph edges.
Definition at line 189 of file MueLu_LWGraphBase.hpp.
|
inline |
Return global number of graph edges.
Definition at line 194 of file MueLu_LWGraphBase.hpp.
|
inline |
Returns the maximum number of entries across all rows/columns on this node.
Definition at line 201 of file MueLu_LWGraphBase.hpp.
|
inline |
Return the list of vertices adjacent to the vertex 'v'.
Definition at line 206 of file MueLu_LWGraphBase.hpp.
|
inline |
Return the list of vertices adjacent to the vertex 'v'.
Definition at line 212 of file MueLu_LWGraphBase.hpp.
|
inline |
Return true if vertex with local id 'v' is on current process.
Definition at line 219 of file MueLu_LWGraphBase.hpp.
|
inline |
Return the row pointers of the local graph.
Definition at line 224 of file MueLu_LWGraphBase.hpp.
|
inline |
Return the list entries in the local graph.
Definition at line 229 of file MueLu_LWGraphBase.hpp.
|
inline |
Set boolean array indicating which rows correspond to Dirichlet boundaries.
Definition at line 234 of file MueLu_LWGraphBase.hpp.
|
inline |
Returns map with global ids of boundary nodes.
Definition at line 239 of file MueLu_LWGraphBase.hpp.
|
inline |
Return a simple one-line description of the Graph.
Definition at line 244 of file MueLu_LWGraphBase.hpp.
|
inline |
Print the Graph with some verbosity level to an FancyOStream object.
Definition at line 249 of file MueLu_LWGraphBase.hpp.
|
inline |
Definition at line 281 of file MueLu_LWGraphBase.hpp.
|
inline |
Definition at line 285 of file MueLu_LWGraphBase.hpp.
|
inline |
Definition at line 301 of file MueLu_LWGraphBase.hpp.
|
mutableprivate |
Underlying graph (with label)
Definition at line 307 of file MueLu_LWGraphBase.hpp.
|
private |
Graph maps.
Definition at line 310 of file MueLu_LWGraphBase.hpp.
|
private |
Definition at line 311 of file MueLu_LWGraphBase.hpp.
|
private |
Name of this graph.
Definition at line 314 of file MueLu_LWGraphBase.hpp.
|
private |
Boolean array marking Dirichlet rows.
Definition at line 317 of file MueLu_LWGraphBase.hpp.
|
private |
Local index boundaries (cached from domain map)
Definition at line 320 of file MueLu_LWGraphBase.hpp.
|
private |
Definition at line 320 of file MueLu_LWGraphBase.hpp.
|
private |
Definition at line 321 of file MueLu_LWGraphBase.hpp.