Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
Zoltan2::TpetraCrsColorer< CrsMatrixType > Class Template Reference

#include <Zoltan2_TpetraCrsColorer.hpp>

Public Types

typedef CrsMatrixType matrix_t
 
typedef matrix_t::crs_graph_type graph_t
 
typedef matrix_t::scalar_type scalar_t
 
typedef
matrix_t::local_ordinal_type 
lno_t
 
typedef
matrix_t::global_ordinal_type 
gno_t
 
typedef matrix_t::node_type node_t
 
typedef node_t::device_type device_t
 
typedef device_t::execution_space execution_space
 
typedef Kokkos::View< int
*, device_t
list_of_colors_t
 
typedef
list_of_colors_t::HostMirror 
list_of_colors_host_t
 

Public Member Functions

 TpetraCrsColorer (const Teuchos::RCP< matrix_t > &matrix_)
 
 ~TpetraCrsColorer ()
 
void computeColoring (Teuchos::ParameterList &coloring_params)
 
template<typename MultiVectorType >
void computeSeedMatrix (MultiVectorType &V, const int color_beg=0) const
 
template<typename MultiVectorType >
void computeSeedMatrixFitted (MultiVectorType &V, const int color_beg=0) const
 
template<typename MultiVectorType >
void reconstructMatrix (MultiVectorType &W, const int color_beg=0) const
 
template<typename MultiVectorType >
void reconstructMatrix (MultiVectorType &W, matrix_t &mat, const int color_beg=0) const
 
template<typename MultiVectorType >
void reconstructMatrixFitted (MultiVectorType &W, const int color_beg=0) const
 
template<typename MultiVectorType >
void reconstructMatrixFitted (MultiVectorType &W, matrix_t &mat, const int color_beg=0) const
 
int getNumColors () const
 
int getColor (const size_t col) const
 
bool checkColoring () const
 

Protected Attributes

Teuchos::RCP< matrix_tmatrix
 
Teuchos::RCP< const graph_tgraph
 
list_of_colors_t list_of_colors
 
list_of_colors_host_t list_of_colors_host
 
int num_colors
 

Detailed Description

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

Definition at line 34 of file Zoltan2_TpetraCrsColorer.hpp.

Member Typedef Documentation

template<typename CrsMatrixType>
typedef CrsMatrixType Zoltan2::TpetraCrsColorer< CrsMatrixType >::matrix_t

Definition at line 37 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
typedef matrix_t::crs_graph_type Zoltan2::TpetraCrsColorer< CrsMatrixType >::graph_t

Definition at line 38 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
typedef matrix_t::scalar_type Zoltan2::TpetraCrsColorer< CrsMatrixType >::scalar_t

Definition at line 39 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
typedef matrix_t::local_ordinal_type Zoltan2::TpetraCrsColorer< CrsMatrixType >::lno_t

Definition at line 40 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
typedef matrix_t::global_ordinal_type Zoltan2::TpetraCrsColorer< CrsMatrixType >::gno_t

Definition at line 41 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
typedef matrix_t::node_type Zoltan2::TpetraCrsColorer< CrsMatrixType >::node_t

Definition at line 42 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
typedef node_t::device_type Zoltan2::TpetraCrsColorer< CrsMatrixType >::device_t

Definition at line 43 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
typedef device_t::execution_space Zoltan2::TpetraCrsColorer< CrsMatrixType >::execution_space

Definition at line 44 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
typedef Kokkos::View<int *, device_t> Zoltan2::TpetraCrsColorer< CrsMatrixType >::list_of_colors_t

Definition at line 45 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
typedef list_of_colors_t::HostMirror Zoltan2::TpetraCrsColorer< CrsMatrixType >::list_of_colors_host_t

Definition at line 46 of file Zoltan2_TpetraCrsColorer.hpp.

Constructor & Destructor Documentation

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

Definition at line 201 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
Zoltan2::TpetraCrsColorer< CrsMatrixType >::~TpetraCrsColorer ( )
inline

Definition at line 52 of file Zoltan2_TpetraCrsColorer.hpp.

Member Function Documentation

template<typename CrsMatrixType >
void Zoltan2::TpetraCrsColorer< CrsMatrixType >::computeColoring ( Teuchos::ParameterList &  coloring_params)

Definition at line 216 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType >
template<typename MultiVectorType >
void Zoltan2::TpetraCrsColorer< CrsMatrixType >::computeSeedMatrix ( MultiVectorType &  V,
const int  color_beg = 0 
) const

Definition at line 240 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType >
template<typename MultiVectorType >
void Zoltan2::TpetraCrsColorer< CrsMatrixType >::computeSeedMatrixFitted ( MultiVectorType &  V,
const int  color_beg = 0 
) const

Definition at line 257 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType >
template<typename MultiVectorType >
void Zoltan2::TpetraCrsColorer< CrsMatrixType >::reconstructMatrix ( MultiVectorType &  W,
const int  color_beg = 0 
) const

Definition at line 287 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType >
template<typename MultiVectorType >
void Zoltan2::TpetraCrsColorer< CrsMatrixType >::reconstructMatrix ( MultiVectorType &  W,
matrix_t mat,
const int  color_beg = 0 
) const

Definition at line 297 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType >
template<typename MultiVectorType >
void Zoltan2::TpetraCrsColorer< CrsMatrixType >::reconstructMatrixFitted ( MultiVectorType &  W,
const int  color_beg = 0 
) const

Definition at line 316 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType >
template<typename MultiVectorType >
void Zoltan2::TpetraCrsColorer< CrsMatrixType >::reconstructMatrixFitted ( MultiVectorType &  W,
matrix_t mat,
const int  color_beg = 0 
) const

Definition at line 326 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
int Zoltan2::TpetraCrsColorer< CrsMatrixType >::getNumColors ( ) const
inline

Definition at line 88 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
int Zoltan2::TpetraCrsColorer< CrsMatrixType >::getColor ( const size_t  col) const
inline

Definition at line 95 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
bool Zoltan2::TpetraCrsColorer< CrsMatrixType >::checkColoring ( ) const
inline

Definition at line 103 of file Zoltan2_TpetraCrsColorer.hpp.

Member Data Documentation

template<typename CrsMatrixType>
Teuchos::RCP<matrix_t> Zoltan2::TpetraCrsColorer< CrsMatrixType >::matrix
protected

Definition at line 109 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
Teuchos::RCP<const graph_t> Zoltan2::TpetraCrsColorer< CrsMatrixType >::graph
protected

Definition at line 110 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
list_of_colors_t Zoltan2::TpetraCrsColorer< CrsMatrixType >::list_of_colors
protected

Definition at line 111 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
list_of_colors_host_t Zoltan2::TpetraCrsColorer< CrsMatrixType >::list_of_colors_host
protected

Definition at line 112 of file Zoltan2_TpetraCrsColorer.hpp.

template<typename CrsMatrixType>
int Zoltan2::TpetraCrsColorer< CrsMatrixType >::num_colors
protected

Definition at line 113 of file Zoltan2_TpetraCrsColorer.hpp.


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