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

A implementation of the Platform class for serial platforms. More...

#include <Tpetra_SerialPlatform.hpp>

Inheritance diagram for Tpetra::SerialPlatform< 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
 SerialPlatform (const RCP< Node > &node)
 Node-accepting constructor.
 ~SerialPlatform ()
 Destructor.
Class Creation and Accessor Methods
RCP< const Comm< int > > getComm () const
 Comm Instance.
RCP< Node > getNode () const
 Get Get a node for parallel computation.

Protected Attributes

RCP< const Teuchos::SerialComm
< int > > 
comm_
 Teuchos::Comm object instantiated for the platform.
RCP< Node > node_
 Node object instantiated for the platform.

Detailed Description

template<class Node>
class Tpetra::SerialPlatform< Node >

A implementation of the Platform class for serial 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_SerialPlatform.hpp.


Member Typedef Documentation

template<class Node>
typedef Node Tpetra::SerialPlatform< 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_SerialPlatform.hpp.


Constructor & Destructor Documentation

template<class Node>
Tpetra::SerialPlatform< Node >::SerialPlatform ( const RCP< Node > &  node) [inline, explicit]

Node-accepting constructor.

Definition at line 53 of file Tpetra_SerialPlatform.hpp.

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

Destructor.

Definition at line 59 of file Tpetra_SerialPlatform.hpp.


Member Function Documentation

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

Comm Instance.

Definition at line 67 of file Tpetra_SerialPlatform.hpp.

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

Get Get a node for parallel computation.

Definition at line 72 of file Tpetra_SerialPlatform.hpp.


Member Data Documentation

template<class Node>
RCP<const Teuchos::SerialComm<int> > Tpetra::SerialPlatform< Node >::comm_ [protected]

Teuchos::Comm object instantiated for the platform.

Definition at line 82 of file Tpetra_SerialPlatform.hpp.

template<class Node>
RCP<Node> Tpetra::SerialPlatform< Node >::node_ [protected]

Node object instantiated for the platform.

Definition at line 84 of file Tpetra_SerialPlatform.hpp.


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