Xpetra Version of the Day
Loading...
Searching...
No Matches
Xpetra::ImportUtils< int, int, EpetraNode > Class Reference

#include <Xpetra_ImportUtils.hpp>

Public Member Functions

void getPidGidPairs (const Import< LocalOrdinal, GlobalOrdinal, Node > &Importer, Teuchos::Array< std::pair< int, GlobalOrdinal > > &gpids, bool use_minus_one_for_local)
 
void getPids (const 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 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 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.
 

Private Types

typedef int LocalOrdinal
 
typedef int GlobalOrdinal
 
typedef EpetraNode Node
 

Detailed Description

Definition at line 168 of file Xpetra_ImportUtils.hpp.

Member Typedef Documentation

◆ LocalOrdinal

typedef int Xpetra::ImportUtils< int, int, EpetraNode >::LocalOrdinal
private

Definition at line 169 of file Xpetra_ImportUtils.hpp.

◆ GlobalOrdinal

typedef int Xpetra::ImportUtils< int, int, EpetraNode >::GlobalOrdinal
private

Definition at line 170 of file Xpetra_ImportUtils.hpp.

◆ Node

typedef EpetraNode Xpetra::ImportUtils< int, int, EpetraNode >::Node
private

Definition at line 171 of file Xpetra_ImportUtils.hpp.

Member Function Documentation

◆ getPidGidPairs()

void Xpetra::ImportUtils< int, int, EpetraNode >::getPidGidPairs ( const Import< LocalOrdinal, GlobalOrdinal, Node > & Importer,
Teuchos::Array< std::pair< int, GlobalOrdinal > > & gpids,
bool use_minus_one_for_local )
inline

Definition at line 176 of file Xpetra_ImportUtils.hpp.

◆ getPids() [1/2]

void Xpetra::ImportUtils< int, int, EpetraNode >::getPids ( const Import< LocalOrdinal, GlobalOrdinal, Node > & Importer,
Teuchos::Array< int > & pids,
bool use_minus_one_for_local )
inline

Like getPidGidPairs, but just gets the PIDs, ordered by the column Map.

Definition at line 196 of file Xpetra_ImportUtils.hpp.

◆ getPids() [2/2]

void Xpetra::ImportUtils< int, int, EpetraNode >::getPids ( const Import< LocalOrdinal, GlobalOrdinal, Node > & Importer,
Teuchos::ArrayView< int > & pids,
bool use_minus_one_for_local )
inline

Like getPidGidPairs, but just gets the PIDs, ordered by the column Map.

Definition at line 216 of file Xpetra_ImportUtils.hpp.

◆ getRemotePIDs()

void Xpetra::ImportUtils< int, int, EpetraNode >::getRemotePIDs ( const Import< LocalOrdinal, GlobalOrdinal, Node > & Importer,
Teuchos::Array< int > & RemotePIDs )
inline

Get a list of remote PIDs from an importer in the order corresponding to the remote LIDs.

Definition at line 235 of file Xpetra_ImportUtils.hpp.


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