Tpetra parallel linear algebra  Version of the Day
Classes | Namespaces | Functions
Tpetra_Details_unpackCrsMatrix.hpp File Reference

Functions for unpacking the entries of a Tpetra::CrsMatrix for communication, in the case where it is valid to go to the KokkosSparse::CrsMatrix (local sparse matrix data structure) directly. More...

#include "TpetraCore_config.h"
#include "Teuchos_Array.hpp"
#include "Teuchos_ArrayView.hpp"
#include "Tpetra_Details_OrdinalTraits.hpp"
#include "Tpetra_Details_computeOffsets.hpp"
#include "Kokkos_Core.hpp"
#include <memory>
#include <string>

Go to the source code of this file.

Classes

struct  Tpetra::Details::UnpackCrsMatrixError< LO >
 Reduction result for UnpackCrsMatrixAndCombineFunctor below. More...
 
struct  Tpetra::Details::UnpackCrsMatrixAndCombineFunctor< NumPacketsPerLIDType, OffsetsType, ImportsType, ImportLIDsType, LocalMatrixType, LocalMapType >
 Unpacks and combines a single row of the CrsMatrix. More...
 

Namespaces

 Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 
 Tpetra::Details
 Namespace for Tpetra implementation details.
 

Functions

template<class LocalMatrixType , class LocalMapType >
bool Tpetra::Details::unpackCrsMatrixAndCombine (LocalMatrixType &lclMatrix, const LocalMapType &lclColMap, std::unique_ptr< std::string > &errStr, const Teuchos::ArrayView< const typename LocalMatrixType::ordinal_type > &importLIDs, const Teuchos::ArrayView< const char > &imports, const Teuchos::ArrayView< const size_t > &numPacketsPerLID, size_t constantNumPackets, const int myRank, Distributor &, CombineMode combineMode, const bool atomic)
 Unpack the imported column indices and values, and combine into matrix. More...
 

Detailed Description

Functions for unpacking the entries of a Tpetra::CrsMatrix for communication, in the case where it is valid to go to the KokkosSparse::CrsMatrix (local sparse matrix data structure) directly.

Warning
This file, and its contents, are implementation details of Tpetra. The file itself or its contents may disappear or change at any time.

Definition in file Tpetra_Details_unpackCrsMatrix.hpp.