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

Protected Attributes

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

Detailed Description

template<class Node = Kokkos::DefaultNode::DefaultNodeType>
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.

Examples:

LocalMatOpExample.cpp, Tpetra_Power_Method.cpp, and Tpetra_Power_Method_From_File.cpp.

Definition at line 45 of file Tpetra_SerialPlatform.hpp.


Member Typedef Documentation

template<class Node = Kokkos::DefaultNode::DefaultNodeType>
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 Teuchos::RCP< Node > &  node) [explicit]

Constructor.

Definition at line 81 of file Tpetra_SerialPlatform.hpp.

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

Destructor.

Definition at line 87 of file Tpetra_SerialPlatform.hpp.


Member Function Documentation

template<class Node >
const Teuchos::RCP< const Teuchos::SerialComm< int > > Tpetra::SerialPlatform< Node >::getComm ( ) const

Comm Instance.

Definition at line 91 of file Tpetra_SerialPlatform.hpp.

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

Get Get a node for parallel computation.

Definition at line 97 of file Tpetra_SerialPlatform.hpp.


Member Data Documentation

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

Teuchos::Comm object instantiated for the platform.

Definition at line 75 of file Tpetra_SerialPlatform.hpp.

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

Node object instantiated for the platform.

Definition at line 77 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