|
MueLu Version of the Day
|
MueLu utility class for Import-related routines. More...
#include <MueLu_ImportUtils.hpp>
Public Member Functions | |
| void | getPidGidPairs (const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > &Importer, Teuchos::Array< std::pair< int, GlobalOrdinal > > &gpids, bool use_minus_one_for_local) |
| For each GID in the TargetMap, find who owns the GID in the SourceMap. | |
| void | getPids (const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > &Importer, Teuchos::Array< int > &pids, bool use_minus_one_for_local) |
| Like getPidGidPairs, but just gets the PIDs, ordered by the column Map. | |
| void | getPids (const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > &Importer, Teuchos::ArrayView< int > &pids, bool use_minus_one_for_local) |
| Like getPidGidPairs, but just gets the PIDs, ordered by the column Map. | |
| void | getRemotePIDs (const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > &Importer, Teuchos::Array< int > &RemotePIDs) |
| Get a list of remote PIDs from an importer in the order corresponding to the remote LIDs. | |
MueLu utility class for Import-related routines.
The routines should be independent from Epetra/Tpetra and be purely implemented in Xpetra.
Definition at line 44 of file MueLu_ImportUtils.hpp.
|
inline |
For each GID in the TargetMap, find who owns the GID in the SourceMap.
This only uses the Distributor and does not communicate. It returns (as an output argument) an array of (PID,GID) pairs. If use_minus_one_for_local is true, any GIDs owned by this processor get -1 instead of their PID.
Definition at line 55 of file MueLu_ImportUtils.hpp.
|
inline |
Like getPidGidPairs, but just gets the PIDs, ordered by the column Map.
Definition at line 72 of file MueLu_ImportUtils.hpp.
|
inline |
Like getPidGidPairs, but just gets the PIDs, ordered by the column Map.
Definition at line 90 of file MueLu_ImportUtils.hpp.
|
inline |
Get a list of remote PIDs from an importer in the order corresponding to the remote LIDs.
Definition at line 108 of file MueLu_ImportUtils.hpp.