A implementation of the Platform class for serial platforms. More...
#include <Xpetra_SerialPlatform.hpp>
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... | |
Protected Attributes | |
Teuchos::RCP< const Teuchos::SerialComm< int > > | comm_ |
Teuchos::Comm object instantiated for the platform. More... | |
Teuchos::RCP< Node > | node_ |
Node object instantiated for the platform. More... | |
Private Member Functions | |
SerialPlatform (const SerialPlatform< Node > &platform) | |
Constructor/Destructor Methods | |
SerialPlatform (const Teuchos::RCP< Node > &node) | |
Constructor. More... | |
~SerialPlatform () | |
Destructor. More... | |
Class Creation and Accessor Methods | |
const Teuchos::RCP< const Teuchos::SerialComm< int > > | getComm () const |
Comm Instance. More... | |
const Teuchos::RCP< Node > | getNode () const |
Get Get a node for parallel computation. More... | |
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 64 of file Xpetra_SerialPlatform.hpp.
typedef Node Xpetra::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 67 of file Xpetra_SerialPlatform.hpp.
|
explicit |
Constructor.
Definition at line 100 of file Xpetra_SerialPlatform.hpp.
Xpetra::SerialPlatform< Node >::~SerialPlatform | ( | ) |
Destructor.
Definition at line 106 of file Xpetra_SerialPlatform.hpp.
|
private |
const Teuchos::RCP< const Teuchos::SerialComm< int > > Xpetra::SerialPlatform< Node >::getComm | ( | ) | const |
Comm Instance.
Definition at line 110 of file Xpetra_SerialPlatform.hpp.
const Teuchos::RCP< Node > Xpetra::SerialPlatform< Node >::getNode | ( | ) | const |
Get Get a node for parallel computation.
Definition at line 116 of file Xpetra_SerialPlatform.hpp.
|
protected |
Teuchos::Comm object instantiated for the platform.
Definition at line 94 of file Xpetra_SerialPlatform.hpp.
|
protected |
Node object instantiated for the platform.
Definition at line 96 of file Xpetra_SerialPlatform.hpp.