Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra::TpetraImport< int, int, EpetraNode > Class Template Reference

#include <Xpetra_TpetraImport_def.hpp>

Inheritance diagram for Xpetra::TpetraImport< int, int, EpetraNode >:
Xpetra::Import< int, int, EpetraNode >

Public Types

typedef int LocalOrdinal
 
typedef int GlobalOrdinal
 
typedef EpetraNode Node
 
typedef Map< LocalOrdinal,
GlobalOrdinal, Node
map_type
 The specialization of Map used by this class. More...
 
- Public Types inherited from Xpetra::Import< int, int, EpetraNode >
typedef int local_ordinal_type
 
typedef int global_ordinal_type
 
typedef EpetraNode node_type
 

Constructor/Destructor Methods

 TpetraImport (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target)
 Construct an Import from the source and target Maps. More...
 
 TpetraImport (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target, const Teuchos::RCP< Teuchos::ParameterList > &plist)
 Constructor (with list of parameters). More...
 
 TpetraImport (const Import< LocalOrdinal, GlobalOrdinal, Node > &import)
 Copy constructor. More...
 
 ~TpetraImport ()
 Destructor. More...
 

Import Attribute Methods

size_t getNumSameIDs () const
 Number of initial identical IDs. More...
 
size_t getNumPermuteIDs () const
 Number of IDs to permute but not to communicate. More...
 
ArrayView< const LocalOrdinalgetPermuteFromLIDs () const
 List of local IDs in the source Map that are permuted. More...
 
ArrayView< const LocalOrdinalgetPermuteToLIDs () const
 List of local IDs in the target Map that are permuted. More...
 
size_t getNumRemoteIDs () const
 Number of entries not on the calling process. More...
 
ArrayView< const LocalOrdinalgetRemoteLIDs () const
 List of entries in the target Map to receive from other processes. More...
 
size_t getNumExportIDs () const
 Number of entries that must be sent by the calling process to other processes. More...
 
ArrayView< const LocalOrdinalgetExportLIDs () const
 List of entries in the source Map that will be sent to other processes. More...
 
ArrayView< const int > getExportPIDs () const
 List of processes to which entries will be sent. More...
 
Teuchos::RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
getSourceMap () const
 The Source Map used to construct this Import object. More...
 
Teuchos::RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
getTargetMap () const
 The Target Map used to construct this Import object. More...
 
void setDistributorParameters (const Teuchos::RCP< Teuchos::ParameterList > params) const
 Set parameters on the underlying object. More...
 

I/O Methods

void print (std::ostream &os) const
 Print the Import's data to the given output stream. More...
 

Xpetra specific

 TpetraImport (const RCP< const Tpetra::Import< LocalOrdinal, GlobalOrdinal, Node > > &import)
 TpetraImport constructor to wrap a Tpetra::Import object. More...
 
RCP< const Tpetra::Import
< LocalOrdinal, GlobalOrdinal,
Node > > 
getTpetra_Import () const
 

Detailed Description

template<>
class Xpetra::TpetraImport< int, int, EpetraNode >

Definition at line 149 of file Xpetra_TpetraImport_def.hpp.

Member Typedef Documentation

typedef int Xpetra::TpetraImport< int, int, EpetraNode >::LocalOrdinal

Definition at line 153 of file Xpetra_TpetraImport_def.hpp.

typedef int Xpetra::TpetraImport< int, int, EpetraNode >::GlobalOrdinal

Definition at line 154 of file Xpetra_TpetraImport_def.hpp.

Definition at line 155 of file Xpetra_TpetraImport_def.hpp.

The specialization of Map used by this class.

Definition at line 158 of file Xpetra_TpetraImport_def.hpp.

Constructor & Destructor Documentation

Xpetra::TpetraImport< int, int, EpetraNode >::TpetraImport ( const Teuchos::RCP< const map_type > &  source,
const Teuchos::RCP< const map_type > &  target 
)
inline

Construct an Import from the source and target Maps.

Definition at line 164 of file Xpetra_TpetraImport_def.hpp.

Xpetra::TpetraImport< int, int, EpetraNode >::TpetraImport ( const Teuchos::RCP< const map_type > &  source,
const Teuchos::RCP< const map_type > &  target,
const Teuchos::RCP< Teuchos::ParameterList > &  plist 
)
inline

Constructor (with list of parameters).

Definition at line 169 of file Xpetra_TpetraImport_def.hpp.

Xpetra::TpetraImport< int, int, EpetraNode >::TpetraImport ( const Import< LocalOrdinal, GlobalOrdinal, Node > &  import)
inline

Copy constructor.

Definition at line 174 of file Xpetra_TpetraImport_def.hpp.

Xpetra::TpetraImport< int, int, EpetraNode >::~TpetraImport ( )
inline

Destructor.

Definition at line 179 of file Xpetra_TpetraImport_def.hpp.

Xpetra::TpetraImport< int, int, EpetraNode >::TpetraImport ( const RCP< const Tpetra::Import< LocalOrdinal, GlobalOrdinal, Node > > &  import)
inline

TpetraImport constructor to wrap a Tpetra::Import object.

Definition at line 236 of file Xpetra_TpetraImport_def.hpp.

Member Function Documentation

size_t Xpetra::TpetraImport< int, int, EpetraNode >::getNumSameIDs ( ) const
inlinevirtual

Number of initial identical IDs.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 187 of file Xpetra_TpetraImport_def.hpp.

size_t Xpetra::TpetraImport< int, int, EpetraNode >::getNumPermuteIDs ( ) const
inlinevirtual

Number of IDs to permute but not to communicate.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 190 of file Xpetra_TpetraImport_def.hpp.

ArrayView< const LocalOrdinal > Xpetra::TpetraImport< int, int, EpetraNode >::getPermuteFromLIDs ( ) const
inlinevirtual

List of local IDs in the source Map that are permuted.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 193 of file Xpetra_TpetraImport_def.hpp.

ArrayView< const LocalOrdinal > Xpetra::TpetraImport< int, int, EpetraNode >::getPermuteToLIDs ( ) const
inlinevirtual

List of local IDs in the target Map that are permuted.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 196 of file Xpetra_TpetraImport_def.hpp.

size_t Xpetra::TpetraImport< int, int, EpetraNode >::getNumRemoteIDs ( ) const
inlinevirtual

Number of entries not on the calling process.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 199 of file Xpetra_TpetraImport_def.hpp.

ArrayView< const LocalOrdinal > Xpetra::TpetraImport< int, int, EpetraNode >::getRemoteLIDs ( ) const
inlinevirtual

List of entries in the target Map to receive from other processes.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 202 of file Xpetra_TpetraImport_def.hpp.

size_t Xpetra::TpetraImport< int, int, EpetraNode >::getNumExportIDs ( ) const
inlinevirtual

Number of entries that must be sent by the calling process to other processes.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 205 of file Xpetra_TpetraImport_def.hpp.

ArrayView< const LocalOrdinal > Xpetra::TpetraImport< int, int, EpetraNode >::getExportLIDs ( ) const
inlinevirtual

List of entries in the source Map that will be sent to other processes.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 208 of file Xpetra_TpetraImport_def.hpp.

ArrayView< const int > Xpetra::TpetraImport< int, int, EpetraNode >::getExportPIDs ( ) const
inlinevirtual

List of processes to which entries will be sent.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 211 of file Xpetra_TpetraImport_def.hpp.

Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraImport< int, int, EpetraNode >::getSourceMap ( ) const
inlinevirtual

The Source Map used to construct this Import object.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 214 of file Xpetra_TpetraImport_def.hpp.

Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraImport< int, int, EpetraNode >::getTargetMap ( ) const
inlinevirtual

The Target Map used to construct this Import object.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 217 of file Xpetra_TpetraImport_def.hpp.

void Xpetra::TpetraImport< int, int, EpetraNode >::setDistributorParameters ( const Teuchos::RCP< Teuchos::ParameterList >  params) const
inlinevirtual

Set parameters on the underlying object.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 220 of file Xpetra_TpetraImport_def.hpp.

void Xpetra::TpetraImport< int, int, EpetraNode >::print ( std::ostream &  os) const
inlinevirtual

Print the Import's data to the given output stream.

Implements Xpetra::Import< int, int, EpetraNode >.

Definition at line 228 of file Xpetra_TpetraImport_def.hpp.

RCP< const Tpetra::Import< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraImport< int, int, EpetraNode >::getTpetra_Import ( ) const
inline

Definition at line 240 of file Xpetra_TpetraImport_def.hpp.


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