Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Static Public Member Functions | List of all members
Tpetra::DefaultPlatform Class Reference

Returns a default platform appropriate for the enviroment. More...

#include <Tpetra_DefaultPlatform.hpp>

Public Types

typedef SerialPlatform
< ::Tpetra::Details::DefaultTypes::node_type
DefaultPlatformType
 The default platform type specified at compile time. More...
 

Static Public Member Functions

static DefaultPlatformTypegetDefaultPlatform ()
 Return a reference to the default platform singleton. More...
 

Detailed Description

Returns a default platform appropriate for the enviroment.

Warning
This class is DEPRECATED and will be REMOVED SOON. Do not use *Platform classes any more. To initialize Tpetra, include Tpetra_Core.hpp and use Tpetra::ScopeGuard, or Tpetra::initialize and Tpetra::finalize. To get Tpetra's default Comm instance, include Tpetra_Core.hpp and call Tpetra::getDefaultComm(). For the default Node type, use Tpetra::Map<>::node_type. Do not create Node instances yourself. It is OK for Node instances to be null.

Definition at line 66 of file Tpetra_DefaultPlatform.hpp.

Member Typedef Documentation

The default platform type specified at compile time.

Warning
This typedef is DEPRECATED and will be removed soon!

Definition at line 74 of file Tpetra_DefaultPlatform.hpp.

Member Function Documentation

DefaultPlatform::DefaultPlatformType & Tpetra::DefaultPlatform::getDefaultPlatform ( )
static

Return a reference to the default platform singleton.

Warning
This method is DEPRECATED and will be removed soon!

Definition at line 53 of file Tpetra_DefaultPlatform.cpp.


The documentation for this class was generated from the following files: