Tpetra::DefaultPlatform Class Reference

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

#include <Tpetra_DefaultPlatform.hpp>

List of all members.

Static Public Member Functions

static DefaultPlatformTypegetDefaultPlatform ()
 Return the default platform.


Detailed Description

Returns a default platform appropriate for the enviroment.

The DefaultPlatform mechanism is useful for easily accessing default Comm and Node types on a particular system.

If HAVE_MPI is defined, then an instance of MpiPlatform will be created. Otherwise, a SerialPlatform is returned.


Member Function Documentation

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

Return the default platform.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:39:07 2010 for Tpetra Matrix/Vector Services by  doxygen 1.4.7