Tpetra parallel linear algebra
Version of the Day
|
Implementation detail of makeOptimizedColMap, and makeOptimizedColMapAndImport. More...
#include <Tpetra_Details_makeOptimizedColMap.hpp>
Static Public Member Functions | |
static std::pair< Teuchos::RCP < const map_type > , Teuchos::RCP< import_type > > | makeOptColMapAndImport (std::ostream &errStream, bool &lclErr, const map_type &domMap, const map_type &colMap, const import_type *oldImport) |
Return an optimized reordering of the given column Map. Optionally, recompute an Import from the input domain Map to the new column Map. More... | |
Implementation detail of makeOptimizedColMap, and makeOptimizedColMapAndImport.
Definition at line 45 of file Tpetra_Details_makeOptimizedColMap.hpp.
|
inlinestatic |
Return an optimized reordering of the given column Map. Optionally, recompute an Import from the input domain Map to the new column Map.
MapType | A specialization of Map. |
See the documentation of the free function makeOptimizedColMapAndImport().
errStream | [out] Output stream for human-readable error reporting. This is local to the calling process and may differ on different processes. |
lclErr | [out] On output: true if anything went wrong on the calling process. This value is local to the calling process and may differ on different processes. |
domMap | [in] Domain Map of a CrsGraph or CrsMatrix. |
colMap | [in] Original column Map of the same CrsGraph or CrsMatrix as domMap . |
oldImport | [in] Optional pointer to the "original Import: an Import from domMap to colMap . This is not required, but if you supply this, this function may use it to avoid some communication and/or work when setting up the new Import object. |
newColMap
, and the corresponding Import from domMap
to newColMap
.domMap
and colMap
must have the same or congruent communicators. colMap
must be a subset of the indices in domMap
. Definition at line 297 of file Tpetra_Details_makeOptimizedColMap.hpp.