Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra::MpiPlatform< Node > Class Template Reference

A implementation of the Platform class for MPI-based platforms. More...

#include <Xpetra_MpiPlatform.hpp>

Inheritance diagram for Xpetra::MpiPlatform< Node >:

Public Types

typedef Node NodeType
 Typedef indicating the node type over which the platform is templated. This default to the Kokkos default node type. More...
 

Private Member Functions

 MpiPlatform (const MpiPlatform< Node > &platform)
 

Private Attributes

Teuchos::RCP< Teuchos::MpiComm
< int > > 
comm_
 

Constructor/Destructor Methods

 MpiPlatform (Teuchos::RCP< Node > node)
 Constructor. More...
 
 MpiPlatform (Teuchos::RCP< Node > node, const Teuchos::RCP< const Teuchos::OpaqueWrapper< MPI_Comm > > &rawMpiComm)
 Constructor. More...
 
 ~MpiPlatform ()
 Destructor. More...
 

Class Creation and Accessor Methods

Teuchos::RCP< const
Teuchos::Comm< int > > 
getComm () const
 Comm Instance. More...
 

Detailed Description

template<class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
class Xpetra::MpiPlatform< Node >

A implementation of the Platform class for MPI-based platforms.

This class is templated on Scalar, LocalOrdinal and GlobalOrdinal. The LocalOrdinal type, if omitted, defaults to int. The GlobalOrdinal type, if omitted, defaults to the LocalOrdinal type.

Definition at line 28 of file Xpetra_MpiPlatform.hpp.

Member Typedef Documentation

template<class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
typedef Node Xpetra::MpiPlatform< Node >::NodeType

Typedef indicating the node type over which the platform is templated. This default to the Kokkos default node type.

Definition at line 31 of file Xpetra_MpiPlatform.hpp.

Constructor & Destructor Documentation

template<class Node >
Xpetra::MpiPlatform< Node >::MpiPlatform ( Teuchos::RCP< Node >  node)
explicit

Constructor.

Definition at line 64 of file Xpetra_MpiPlatform.hpp.

template<class Node >
Xpetra::MpiPlatform< Node >::MpiPlatform ( Teuchos::RCP< Node >  node,
const Teuchos::RCP< const Teuchos::OpaqueWrapper< MPI_Comm > > &  rawMpiComm 
)

Constructor.

Definition at line 60 of file Xpetra_MpiPlatform.hpp.

template<class Node >
Xpetra::MpiPlatform< Node >::~MpiPlatform ( )

Destructor.

Definition at line 68 of file Xpetra_MpiPlatform.hpp.

template<class Node >
Xpetra::MpiPlatform< Node >::MpiPlatform ( const MpiPlatform< Node > &  platform)
private

Definition at line 71 of file Xpetra_MpiPlatform.hpp.

Member Function Documentation

template<class Node >
Teuchos::RCP< const Teuchos::Comm< int > > Xpetra::MpiPlatform< Node >::getComm ( ) const

Comm Instance.

Definition at line 77 of file Xpetra_MpiPlatform.hpp.

Member Data Documentation

template<class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
Teuchos::RCP<Teuchos::MpiComm<int> > Xpetra::MpiPlatform< Node >::comm_
private

Definition at line 55 of file Xpetra_MpiPlatform.hpp.


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