MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::LWGraph_kokkos< LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

Lightweight MueLu representation of a compressed row storage graph. More...

#include <MueLu_LWGraph_kokkos_decl.hpp>

Inheritance diagram for MueLu::LWGraph_kokkos< LocalOrdinal, GlobalOrdinal, Node >:
MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, false >

Public Member Functions

RCP< MueLu::LWGraph< LocalOrdinal, GlobalOrdinal, Node > > copyToHost ()
 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 ()=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_typegetGraph () const
RCP< crs_graph_typeGetCrsGraph () const
const std::string & getObjectLabel () const

Additional Inherited Members

Public Types inherited from MueLu::LWGraphBase< LocalOrdinal, GlobalOrdinal, Node, false >
using local_ordinal_type
using global_ordinal_type
using map_type
using crs_graph_type
using size_type
using device_type
using execution_space
using memory_space
using local_graph_device_type
using local_graph_type
using boundary_nodes_type
using row_type
using entries_type
using neighbor_vertices_type

Detailed Description

template<class LocalOrdinal, class GlobalOrdinal, class Node>
class MueLu::LWGraph_kokkos< LocalOrdinal, GlobalOrdinal, Node >

Lightweight MueLu representation of a compressed row storage graph.

This class is lightweight in the sense that it holds to local graph information. These were built without using fillComplete.

Definition at line 30 of file MueLu_LWGraph_kokkos_decl.hpp.

Member Function Documentation

◆ copyToHost()

Definition at line 19 of file MueLu_LWGraph_kokkos_def.hpp.


The documentation for this class was generated from the following files: