Tpetra Matrix/Vector Services Version of the Day
Tpetra::HybridPlatform Class Reference

A platform class for hybrid nodes. More...

#include <Tpetra_HybridPlatform.hpp>

Inheritance diagram for Tpetra::HybridPlatform:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Constructor/Destructor Methods
 HybridPlatform (const Teuchos::RCP< const Teuchos::Comm< int > > &comm, Teuchos::ParameterList &pl)
 Constructor.
 ~HybridPlatform ()
 Destructor.
Class Query, Creation and Accessor Methods
Teuchos::RCP< const
Teuchos::Comm< int > > 
getComm () const
 Comm Instance.
void createNode ()
template<template< class Node > class UserCode>
void runUserCode ()
 Run user code with the runtime-selected Node type.
template<class UserCode >
void runUserCode (UserCode &code)
 Run user code with the runtime-selected Node type.

Detailed Description

A platform class for hybrid nodes.

This class is templated on two types, those of the two underlying Nodes. In this way, the HybridPlatform is compiled with support for a particular hybrid architecture.

Examples:

MultiPrecExample_double.cpp, MultiPrecExample_double_double.cpp, MultiPrecExample_double_float.cpp, and MultiPrecExample_qd_dd_double.cpp.

Definition at line 56 of file Tpetra_HybridPlatform.hpp.


Constructor & Destructor Documentation

Tpetra::HybridPlatform::HybridPlatform ( const Teuchos::RCP< const Teuchos::Comm< int > > &  comm,
Teuchos::ParameterList pl 
)

Constructor.

Definition at line 117 of file Tpetra_HybridPlatform.hpp.

Tpetra::HybridPlatform::~HybridPlatform ( )

Destructor.

Definition at line 229 of file Tpetra_HybridPlatform.hpp.


Member Function Documentation

Teuchos::RCP< const Teuchos::Comm< int > > Tpetra::HybridPlatform::getComm ( ) const

Comm Instance.

Definition at line 233 of file Tpetra_HybridPlatform.hpp.

template<template< class Node > class UserCode>
void Tpetra::HybridPlatform::runUserCode ( )

Run user code with the runtime-selected Node type.

Definition at line 295 of file Tpetra_HybridPlatform.hpp.

template<class UserCode >
void Tpetra::HybridPlatform::runUserCode ( UserCode &  code)

Run user code with the runtime-selected Node type.

Definition at line 267 of file Tpetra_HybridPlatform.hpp.


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