All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Private Attributes | List of all members
Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

#include <Xpetra_TpetraExport.hpp>

Inheritance diagram for Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >:
Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node > Teuchos::Describable Teuchos::LabeledObject

Public Types

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

Private Attributes

RCP< const Tpetra::Export
< LocalOrdinal, GlobalOrdinal,
Node > > 
export_
 

Constructor/Destructor Methods

 TpetraExport (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target)
 Construct a Export object from the source and target Map. More...
 
 TpetraExport (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...
 
 TpetraExport (const Export< LocalOrdinal, GlobalOrdinal, Node > &rhs)
 Copy constructor. More...
 
 ~TpetraExport ()
 Destructor. More...
 

Export 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...
 
Teuchos::RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
getSourceMap () const
 The source Map used to construct this Export. More...
 
Teuchos::RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
getTargetMap () const
 The target Map used to construct this Export. More...
 

I/O Methods

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

Xpetra specific

 TpetraExport (const RCP< const Tpetra::Export< LocalOrdinal, GlobalOrdinal, Node > > &exp)
 TpetraExport constructor to wrap a Tpetra::Export object. More...
 
RCP< const Tpetra::Export
< LocalOrdinal, GlobalOrdinal,
Node > > 
getTpetra_Export () const
 

Additional Inherited Members

- Public Member Functions inherited from Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >
virtual ~Export ()
 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

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
class Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >

Definition at line 73 of file Xpetra_TpetraExport.hpp.

Member Typedef Documentation

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
typedef Map<LocalOrdinal,GlobalOrdinal,Node> Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::map_type

The specialization of Map used by this class.

Definition at line 80 of file Xpetra_TpetraExport.hpp.

Constructor & Destructor Documentation

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::TpetraExport ( const Teuchos::RCP< const map_type > &  source,
const Teuchos::RCP< const map_type > &  target 
)
inline

Construct a Export object from the source and target Map.

Definition at line 86 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::TpetraExport ( 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 90 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::TpetraExport ( const Export< LocalOrdinal, GlobalOrdinal, Node > &  rhs)
inline

Copy constructor.

Definition at line 94 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::~TpetraExport ( )
inline

Destructor.

Definition at line 98 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::TpetraExport ( const RCP< const Tpetra::Export< LocalOrdinal, GlobalOrdinal, Node > > &  exp)
inline

TpetraExport constructor to wrap a Tpetra::Export object.

Definition at line 152 of file Xpetra_TpetraExport.hpp.

Member Function Documentation

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getNumSameIDs ( ) const
inlinevirtual

Number of initial identical IDs.

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 106 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getNumPermuteIDs ( ) const
inlinevirtual

Number of IDs to permute but not to communicate.

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 109 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
ArrayView< const LocalOrdinal > Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getPermuteFromLIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 112 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
ArrayView< const LocalOrdinal > Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getPermuteToLIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 115 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getNumRemoteIDs ( ) const
inlinevirtual

Number of entries not on the calling process.

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 118 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
ArrayView< const LocalOrdinal > Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getRemoteLIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 121 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getNumExportIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 124 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
ArrayView< const LocalOrdinal > Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getExportLIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 127 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
ArrayView< const int > Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getExportPIDs ( ) const
inlinevirtual

List of processes to which entries will be sent.

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 130 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getSourceMap ( ) const
inlinevirtual

The source Map used to construct this Export.

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 133 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getTargetMap ( ) const
inlinevirtual

The target Map used to construct this Export.

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 136 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::print ( std::ostream &  os) const
inlinevirtual

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

Implements Xpetra::Export< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 144 of file Xpetra_TpetraExport.hpp.

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Tpetra::Export< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::getTpetra_Export ( ) const
inline

Definition at line 154 of file Xpetra_TpetraExport.hpp.

Member Data Documentation

template<class LocalOrdinal = Export<>::local_ordinal_type, class GlobalOrdinal = typename Export<LocalOrdinal>::global_ordinal_type, class Node = typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
RCP<const Tpetra::Export< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraExport< LocalOrdinal, GlobalOrdinal, Node >::export_
private

Definition at line 160 of file Xpetra_TpetraExport.hpp.


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