Zoltan2
Loading...
Searching...
No Matches
Zoltan2::Zoltan2CrsColorer< CrsMatrixType > Class Template Reference

#include <Zoltan2_TpetraCrsColorer_Zoltan2.hpp>

Public Types

using matrix_t = CrsMatrixType
using graph_t = typename matrix_t::crs_graph_type
using node_t = typename matrix_t::node_type
using device_t = typename node_t::device_type
using list_of_colors_t = Kokkos::View<int *, device_t>
using list_of_colors_host_t = typename list_of_colors_t::HostMirror
using SC = typename matrix_t::scalar_type
using LO = typename matrix_t::local_ordinal_type
using GO = typename matrix_t::global_ordinal_type
using vector_t = typename Tpetra::Vector<SC, LO, GO, node_t>

Public Member Functions

 Zoltan2CrsColorer (const Teuchos::RCP< matrix_t > &matrix_)
void computeColoring (Teuchos::ParameterList &coloring_params, int &num_colors, list_of_colors_host_t &list_of_colors_host, list_of_colors_t &list_of_colors)

Detailed Description

template<typename CrsMatrixType>
class Zoltan2::Zoltan2CrsColorer< CrsMatrixType >

Definition at line 27 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

Member Typedef Documentation

◆ matrix_t

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::matrix_t = CrsMatrixType

Definition at line 29 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

◆ graph_t

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::graph_t = typename matrix_t::crs_graph_type

Definition at line 30 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

◆ node_t

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::node_t = typename matrix_t::node_type

Definition at line 31 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

◆ device_t

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::device_t = typename node_t::device_type

Definition at line 32 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

◆ list_of_colors_t

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::list_of_colors_t = Kokkos::View<int *, device_t>

Definition at line 33 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

◆ list_of_colors_host_t

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::list_of_colors_host_t = typename list_of_colors_t::HostMirror

Definition at line 34 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

◆ SC

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::SC = typename matrix_t::scalar_type

Definition at line 35 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

◆ LO

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::LO = typename matrix_t::local_ordinal_type

Definition at line 36 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

◆ GO

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::GO = typename matrix_t::global_ordinal_type

Definition at line 37 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

◆ vector_t

template<typename CrsMatrixType>
using Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::vector_t = typename Tpetra::Vector<SC, LO, GO, node_t>

Definition at line 38 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

Constructor & Destructor Documentation

◆ Zoltan2CrsColorer()

template<typename CrsMatrixType>
Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::Zoltan2CrsColorer ( const Teuchos::RCP< matrix_t > & matrix_)
inline

Definition at line 41 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

Member Function Documentation

◆ computeColoring()

template<typename CrsMatrixType>
void Zoltan2::Zoltan2CrsColorer< CrsMatrixType >::computeColoring ( Teuchos::ParameterList & coloring_params,
int & num_colors,
list_of_colors_host_t & list_of_colors_host,
list_of_colors_t & list_of_colors )
inline

Definition at line 47 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.


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