Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Tpetra::Details::CrsPadding< LocalOrdinal, GlobalOrdinal > Class Template Reference

Keep track of how much more space a CrsGraph or CrsMatrix needs, when the graph or matrix is the target of a doExport or doImport. More...

#include <Tpetra_Details_CrsPadding.hpp>

Public Member Functions

Result get_result (const LO targetLocalIndex) const
 For a given target matrix local row index, return the number of unique source column indices to merge into that row encountered thus far that are not already in the row, and whether we've seen that row already.
 

Detailed Description

template<class LocalOrdinal, class GlobalOrdinal>
class Tpetra::Details::CrsPadding< LocalOrdinal, GlobalOrdinal >

Keep track of how much more space a CrsGraph or CrsMatrix needs, when the graph or matrix is the target of a doExport or doImport.

Definition at line 19 of file Tpetra_Details_CrsPadding.hpp.

Member Function Documentation

◆ get_result()

Result Tpetra::Details::CrsPadding< LocalOrdinal, GlobalOrdinal >::get_result ( const LO targetLocalIndex) const
inline

For a given target matrix local row index, return the number of unique source column indices to merge into that row encountered thus far that are not already in the row, and whether we've seen that row already.

This method relies only on const methods of std::map, and thus should be thread safe (on host).

Definition at line 126 of file Tpetra_Details_CrsPadding.hpp.


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