Tpetra parallel linear algebra
Version of the Day
|
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. More... | |
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 28 of file Tpetra_Details_CrsPadding.hpp.
|
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 135 of file Tpetra_Details_CrsPadding.hpp.