Tpetra parallel linear algebra
Version of the Day
|
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 DefaultPlatformType & | getDefaultPlatform () |
Return a reference to the default platform singleton. More... | |
Returns a default platform appropriate for the enviroment.
*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.
typedef SerialPlatform< ::Tpetra::Details::DefaultTypes::node_type> Tpetra::DefaultPlatform::DefaultPlatformType |
The default platform type specified at compile time.
Definition at line 74 of file Tpetra_DefaultPlatform.hpp.
|
static |
Return a reference to the default platform singleton.
Definition at line 53 of file Tpetra_DefaultPlatform.cpp.