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 RCP< const Comm< int > > &comm, ParameterList &pl)
 Constructor.
 ~HybridPlatform ()
 Destructor.

Class Query, Creation and Accessor Methods

RCP< const Comm< int > > getComm () const
 Comm Instance.
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.
static RCP< ParameterListlistSupportedNodes ()
 List of supported nodes and their valid parameters.
template<class Node >
static bool isNodeSupported ()
 Query support for a specific 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:

IRTR_double.cpp, IRTR_qd.cpp, MultiPrecExample_double.cpp, MultiPrecExample_double_double.cpp, MultiPrecExample_double_float.cpp, MultiPrecExample_qd.cpp, and MultiPrecExample_qd_dd_double.cpp.

Definition at line 76 of file Tpetra_HybridPlatform.hpp.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 151 of file Tpetra_HybridPlatform.hpp.

Tpetra::HybridPlatform::~HybridPlatform ( )

Destructor.

Definition at line 268 of file Tpetra_HybridPlatform.hpp.


Member Function Documentation

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

Comm Instance.

Definition at line 335 of file Tpetra_HybridPlatform.hpp.

RCP< ParameterList > Tpetra::HybridPlatform::listSupportedNodes ( ) [static]

List of supported nodes and their valid parameters.

Definition at line 271 of file Tpetra_HybridPlatform.hpp.

template<class Node >
bool Tpetra::HybridPlatform::isNodeSupported ( ) [static]

Query support for a specific node type.

Definition at line 316 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 407 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 374 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