Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | List of all members
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 18 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

Member Typedef Documentation

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

Definition at line 20 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

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

Definition at line 21 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

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

Definition at line 22 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

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

Definition at line 23 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

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

Definition at line 24 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

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

Definition at line 25 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

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

Definition at line 26 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

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

Definition at line 27 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

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

Definition at line 28 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

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

Definition at line 29 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

Constructor & Destructor Documentation

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

Definition at line 32 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.

Member Function Documentation

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 38 of file Zoltan2_TpetraCrsColorer_Zoltan2.hpp.


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