|
Tpetra Matrix/Vector Services
Version of the Day
|
Implementation detail of makeOptimizedColMap, and makeOptimizedColMapAndImport. More...
#include <Tpetra_Details_makeOptimizedColMap.hpp>
Static Public Member Functions | |
| static std::pair< map_type, Teuchos::RCP< import_type > > | make (std::ostream &errStream, bool &lclErr, const map_type &domMap, const map_type &colMap, const import_type *oldImport, const bool makeImport) |
| Return an optimized reordering of the given column Map. Optionally, recompute an Import from the input domain Map to the new column Map. | |
Implementation detail of makeOptimizedColMap, and makeOptimizedColMapAndImport.
Definition at line 76 of file Tpetra_Details_makeOptimizedColMap.hpp.
| static std::pair<map_type, Teuchos::RCP<import_type> > Tpetra::Details::OptColMap< MapType >::make | ( | std::ostream & | errStream, |
| bool & | lclErr, | ||
| const map_type & | domMap, | ||
| const map_type & | colMap, | ||
| const import_type * | oldImport, | ||
| const bool | makeImport | ||
| ) | [inline, static] |
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. This function will only look at this pointer if makeImport is true. |
| makeImport | [in] Whether to make and return an Import from the input domain Map to the new column Map. |
newColMap, and the corresponding Import from domMap to newColMap. The latter is nonnull if and only if makeImport is true.domMap and colMap must have the same or congruent communicators. colMap must be a subset of the indices in domMap. Definition at line 121 of file Tpetra_Details_makeOptimizedColMap.hpp.
1.7.6.1