Xpetra Version of the Day
Loading...
Searching...
No Matches
Xpetra::CrsMatrixUtils< double, int, long long, EpetraNode > Class Reference

#include <Xpetra_CrsMatrixUtils.hpp>

Static Public Member Functions

static void sortCrsEntries (const Teuchos::ArrayView< size_t > &CRS_rowptr, const Teuchos::ArrayView< LocalOrdinal > &CRS_colind, const Teuchos::ArrayView< Scalar > &CRS_vals, const UnderlyingLib lib)
 Sort the entries of the (raw CSR) matrix by column index within each row.
static void sortAndMergeCrsEntries (const Teuchos::ArrayView< size_t > &CRS_rowptr, const Teuchos::ArrayView< LocalOrdinal > &CRS_colind, const Teuchos::ArrayView< Scalar > &CRS_vals, const UnderlyingLib lib)
 Sort and merge the entries of the (raw CSR) matrix by column index within each row.

Private Types

typedef double Scalar
typedef int LocalOrdinal
typedef long long GlobalOrdinal
typedef EpetraNode Node

Detailed Description

Definition at line 147 of file Xpetra_CrsMatrixUtils.hpp.

Member Typedef Documentation

◆ Scalar

typedef double Xpetra::CrsMatrixUtils< double, int, long long, EpetraNode >::Scalar
private

Definition at line 148 of file Xpetra_CrsMatrixUtils.hpp.

◆ LocalOrdinal

typedef int Xpetra::CrsMatrixUtils< double, int, long long, EpetraNode >::LocalOrdinal
private

Definition at line 149 of file Xpetra_CrsMatrixUtils.hpp.

◆ GlobalOrdinal

typedef long long Xpetra::CrsMatrixUtils< double, int, long long, EpetraNode >::GlobalOrdinal
private

Definition at line 150 of file Xpetra_CrsMatrixUtils.hpp.

◆ Node

typedef EpetraNode Xpetra::CrsMatrixUtils< double, int, long long, EpetraNode >::Node
private

Definition at line 151 of file Xpetra_CrsMatrixUtils.hpp.

Member Function Documentation

◆ sortCrsEntries()

void Xpetra::CrsMatrixUtils< double, int, long long, EpetraNode >::sortCrsEntries ( const Teuchos::ArrayView< size_t > & CRS_rowptr,
const Teuchos::ArrayView< LocalOrdinal > & CRS_colind,
const Teuchos::ArrayView< Scalar > & CRS_vals,
const UnderlyingLib lib )
inlinestatic

Sort the entries of the (raw CSR) matrix by column index within each row.

Definition at line 157 of file Xpetra_CrsMatrixUtils.hpp.

◆ sortAndMergeCrsEntries()

void Xpetra::CrsMatrixUtils< double, int, long long, EpetraNode >::sortAndMergeCrsEntries ( const Teuchos::ArrayView< size_t > & CRS_rowptr,
const Teuchos::ArrayView< LocalOrdinal > & CRS_colind,
const Teuchos::ArrayView< Scalar > & CRS_vals,
const UnderlyingLib lib )
inlinestatic

Sort and merge the entries of the (raw CSR) matrix by column index within each row.

Definition at line 182 of file Xpetra_CrsMatrixUtils.hpp.


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