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 47 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 50 of file Tpetra_MpiPlatform.hpp.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 92 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 
) [inline]

Constructor.

Definition at line 86 of file Tpetra_MpiPlatform.hpp.

template<class Node >
Tpetra::MpiPlatform< Node >::~MpiPlatform (  )  [inline]

Destructor.

Definition at line 98 of file Tpetra_MpiPlatform.hpp.


Member Function Documentation

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

Comm Instance.

Definition at line 107 of file Tpetra_MpiPlatform.hpp.

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

Get Get a node for parallel computation.

Definition at line 112 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 78 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
Generated on Wed Apr 13 10:21:42 2011 for Tpetra Matrix/Vector Services by  doxygen 1.6.3