Tpetra Matrix/Vector Services Version of the Day
Public Types | Protected Attributes
Tpetra::MpiPlatform< Node > Class Template Reference

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

#include <Tpetra_MpiPlatform.hpp>

Inheritance diagram for Tpetra::MpiPlatform< Node >:
Inheritance graph
[legend]

List of all members.

Public Types

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

Public Member Functions

Constructor/Destructor Methods
 MpiPlatform (Teuchos::RCP< Node > node)
 Constructor.
 MpiPlatform (Teuchos::RCP< Node > node, const Teuchos::RCP< const Teuchos::OpaqueWrapper< MPI_Comm > > &rawMpiComm)
 Constructor.
 ~MpiPlatform ()
 Destructor.
Class Creation and Accessor Methods
Teuchos::RCP< const
Teuchos::Comm< int > > 
getComm () const
 Comm Instance.
Teuchos::RCP< Node > getNode () const
 Get Get a node for parallel computation.

Protected Attributes

Teuchos::RCP< Node > node_
 Node object instantiated for the platform.

Detailed Description

template<class Node = Kokkos::DefaultNode::DefaultNodeType>
class Tpetra::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 45 of file Tpetra_MpiPlatform.hpp.


Member Typedef Documentation

template<class Node = Kokkos::DefaultNode::DefaultNodeType>
typedef Node Tpetra::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 48 of file Tpetra_MpiPlatform.hpp.


Constructor & Destructor Documentation

template<class Node >
Tpetra::MpiPlatform< Node >::MpiPlatform ( Teuchos::RCP< Node >  node) [explicit]

Constructor.

Definition at line 90 of file Tpetra_MpiPlatform.hpp.

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

Constructor.

Definition at line 84 of file Tpetra_MpiPlatform.hpp.

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

Destructor.

Definition at line 96 of file Tpetra_MpiPlatform.hpp.


Member Function Documentation

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

Comm Instance.

Definition at line 105 of file Tpetra_MpiPlatform.hpp.

template<class Node >
Teuchos::RCP< Node > Tpetra::MpiPlatform< Node >::getNode ( ) const

Get Get a node for parallel computation.

Definition at line 110 of file Tpetra_MpiPlatform.hpp.


Member Data Documentation

template<class Node = Kokkos::DefaultNode::DefaultNodeType>
Teuchos::RCP<Node> Tpetra::MpiPlatform< Node >::node_ [protected]

Node object instantiated for the platform.

Definition at line 76 of file Tpetra_MpiPlatform.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines