All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Private Types | Private Attributes | List of all members
Xpetra::EpetraImport Class Reference

#include <Xpetra_EpetraImport.hpp>

Inheritance diagram for Xpetra::EpetraImport:
Xpetra::Import< int, int > Teuchos::Describable Teuchos::LabeledObject

Private Types

typedef int LocalOrdinal
 
typedef int GlobalOrdinal
 
typedef
Kokkos::DefaultNode::DefaultNodeType 
Node
 
typedef Map< LocalOrdinal,
GlobalOrdinal, Node > 
map_type
 The specialization of Map used by this class. More...
 

Private Attributes

RCP< const Epetra_Import > import_
 

Constructor/Destructor Methods

 EpetraImport (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target)
 Construct an Import from the source and target Maps. More...
 
 EpetraImport (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...
 
 EpetraImport (const Import< LocalOrdinal, GlobalOrdinal, Node > &import)
 Copy constructor. More...
 
 ~EpetraImport ()
 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 LocalOrdinal > getPermuteFromLIDs () const
 List of local IDs in the source Map that are permuted. More...
 
ArrayView< const LocalOrdinal > getPermuteToLIDs () 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 LocalOrdinal > getRemoteLIDs () 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 LocalOrdinal > getExportLIDs () 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...
 
const RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
getSourceMap () const
 The Source Map used to construct this Import object. More...
 
const RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
getTargetMap () const
 The Target Map used to construct this Import object. More...
 

I/O Methods

void print (std::ostream &os) const
 Print method. More...
 

Xpetra specific

 EpetraImport (const RCP< const Epetra_Import > &import)
 EpetraImport constructor to wrap a Epetra_Import object. More...
 
RCP< const Epetra_Import > getEpetra_Import () const
 Get the underlying Epetra import. More...
 

Additional Inherited Members

- Public Member Functions inherited from Xpetra::Import< int, int >
virtual ~Import ()
 Destructor. More...
 
- Public Member Functions inherited from Teuchos::Describable
virtual std::string description () const
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

Definition at line 67 of file Xpetra_EpetraImport.hpp.

Member Typedef Documentation

Definition at line 71 of file Xpetra_EpetraImport.hpp.

Definition at line 72 of file Xpetra_EpetraImport.hpp.

Definition at line 73 of file Xpetra_EpetraImport.hpp.

The specialization of Map used by this class.

Definition at line 75 of file Xpetra_EpetraImport.hpp.

Constructor & Destructor Documentation

Xpetra::EpetraImport::EpetraImport ( const Teuchos::RCP< const map_type > &  source,
const Teuchos::RCP< const map_type > &  target 
)

Construct an Import from the source and target Maps.

Xpetra::EpetraImport::EpetraImport ( 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).

Xpetra::EpetraImport::EpetraImport ( const Import< LocalOrdinal, GlobalOrdinal, Node > &  import)

Copy constructor.

Xpetra::EpetraImport::~EpetraImport ( )
inline

Destructor.

Definition at line 92 of file Xpetra_EpetraImport.hpp.

Xpetra::EpetraImport::EpetraImport ( const RCP< const Epetra_Import > &  import)
inline

EpetraImport constructor to wrap a Epetra_Import object.

Definition at line 146 of file Xpetra_EpetraImport.hpp.

Member Function Documentation

size_t Xpetra::EpetraImport::getNumSameIDs ( ) const
inlinevirtual

Number of initial identical IDs.

Implements Xpetra::Import< int, int >.

Definition at line 100 of file Xpetra_EpetraImport.hpp.

size_t Xpetra::EpetraImport::getNumPermuteIDs ( ) const
inlinevirtual

Number of IDs to permute but not to communicate.

Implements Xpetra::Import< int, int >.

Definition at line 103 of file Xpetra_EpetraImport.hpp.

ArrayView< const int > Xpetra::EpetraImport::getPermuteFromLIDs ( ) const
virtual

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

Implements Xpetra::Import< int, int >.

Definition at line 75 of file Xpetra_EpetraImport.cpp.

ArrayView< const int > Xpetra::EpetraImport::getPermuteToLIDs ( ) const
virtual

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

Implements Xpetra::Import< int, int >.

Definition at line 79 of file Xpetra_EpetraImport.cpp.

size_t Xpetra::EpetraImport::getNumRemoteIDs ( ) const
virtual

Number of entries not on the calling process.

Implements Xpetra::Import< int, int >.

Definition at line 83 of file Xpetra_EpetraImport.cpp.

ArrayView< const int > Xpetra::EpetraImport::getRemoteLIDs ( ) const
virtual

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

Implements Xpetra::Import< int, int >.

Definition at line 87 of file Xpetra_EpetraImport.cpp.

size_t Xpetra::EpetraImport::getNumExportIDs ( ) const
virtual

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

Implements Xpetra::Import< int, int >.

Definition at line 91 of file Xpetra_EpetraImport.cpp.

ArrayView< const int > Xpetra::EpetraImport::getExportLIDs ( ) const
virtual

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

Implements Xpetra::Import< int, int >.

Definition at line 95 of file Xpetra_EpetraImport.cpp.

ArrayView< const int > Xpetra::EpetraImport::getExportPIDs ( ) const
virtual

List of processes to which entries will be sent.

Implements Xpetra::Import< int, int >.

Definition at line 73 of file Xpetra_EpetraImport.cpp.

const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraImport::getSourceMap ( ) const
inlinevirtual

The Source Map used to construct this Import object.

Implements Xpetra::Import< int, int >.

Definition at line 127 of file Xpetra_EpetraImport.hpp.

const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraImport::getTargetMap ( ) const
inlinevirtual

The Target Map used to construct this Import object.

Implements Xpetra::Import< int, int >.

Definition at line 130 of file Xpetra_EpetraImport.hpp.

void Xpetra::EpetraImport::print ( std::ostream &  os) const
virtual

Print method.

Implements Xpetra::Import< int, int >.

Definition at line 99 of file Xpetra_EpetraImport.cpp.

RCP< const Epetra_Import> Xpetra::EpetraImport::getEpetra_Import ( ) const
inline

Get the underlying Epetra import.

Definition at line 149 of file Xpetra_EpetraImport.hpp.

Member Data Documentation

RCP<const Epetra_Import> Xpetra::EpetraImport::import_
private

Definition at line 155 of file Xpetra_EpetraImport.hpp.


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