Zoltan2
Loading...
Searching...
No Matches
TpetraRowGraphInputKokkos.cpp File Reference
#include <Zoltan2_InputTraits.hpp>
#include <Zoltan2_TestHelpers.hpp>
#include <Zoltan2_TpetraCrsGraphAdapter.hpp>
#include <Zoltan2_TpetraRowGraphAdapter.hpp>
#include <Teuchos_Comm.hpp>
#include <Teuchos_CommHelpers.hpp>
#include <Teuchos_DefaultComm.hpp>
#include <Teuchos_RCP.hpp>
#include <cstdlib>
#include <stdexcept>
Include dependency graph for TpetraRowGraphInputKokkos.cpp:

Go to the source code of this file.

Typedefs

using ztcrsgraph_t = Tpetra::CrsGraph<zlno_t, zgno_t, znode_t>
using ztrowgraph_t = Tpetra::RowGraph<zlno_t, zgno_t, znode_t>
using node_t = typename Zoltan2::InputTraits<ztrowgraph_t>::node_t
using rowAdapter_t = Zoltan2::TpetraRowGraphAdapter<ztrowgraph_t>
using crsAdapter_t = Zoltan2::TpetraCrsGraphAdapter<ztcrsgraph_t>
using execspace_t

Functions

template<typename offset_t>
void printGraph (RCP< const Comm< int > > &comm, zlno_t nvtx, const zgno_t *vtxIds, const offset_t *offsets, const zgno_t *edgeIds)
template<typename adapter_t, typename graph_t>
void TestGraphIds (adapter_t &ia, graph_t &graph)
template<typename adapter_t, typename graph_t>
void verifyInputAdapter (adapter_t &ia, graph_t &graph)
int main (int narg, char *arg[])

Typedef Documentation

◆ ztcrsgraph_t

using ztcrsgraph_t = Tpetra::CrsGraph<zlno_t, zgno_t, znode_t>

Definition at line 35 of file TpetraRowGraphInputKokkos.cpp.

◆ ztrowgraph_t

using ztrowgraph_t = Tpetra::RowGraph<zlno_t, zgno_t, znode_t>

Definition at line 36 of file TpetraRowGraphInputKokkos.cpp.

◆ node_t

Definition at line 37 of file TpetraRowGraphInputKokkos.cpp.

◆ rowAdapter_t

◆ crsAdapter_t

◆ execspace_t

using execspace_t
Initial value:
typename rowAdapter_t::ConstWeightsHostView1D::execution_space

Definition at line 41 of file TpetraRowGraphInputKokkos.cpp.

Function Documentation

◆ printGraph()

template<typename offset_t>
void printGraph ( RCP< const Comm< int > > & comm,
zlno_t nvtx,
const zgno_t * vtxIds,
const offset_t * offsets,
const zgno_t * edgeIds )

Definition at line 45 of file TpetraRowGraphInputKokkos.cpp.

◆ TestGraphIds()

template<typename adapter_t, typename graph_t>
void TestGraphIds ( adapter_t & ia,
graph_t & graph )

Definition at line 68 of file TpetraRowGraphInputKokkos.cpp.

◆ verifyInputAdapter()

template<typename adapter_t, typename graph_t>
void verifyInputAdapter ( adapter_t & ia,
graph_t & graph )

Definition at line 111 of file TpetraRowGraphInputKokkos.cpp.

◆ main()

int main ( int narg,
char * arg[] )

Definition at line 210 of file TpetraRowGraphInputKokkos.cpp.