#include <Tpetra_Platform.hpp>
Inheritance diagram for Tpetra::Platform< Ordinal >:

Public Member Functions | |
Constructor/Destructor Methods | |
| Platform (const std::string &str) | |
| Constructor. | |
| virtual | ~Platform () |
| Destructor. | |
| virtual Teuchos::RCP< Platform< Ordinal > > | clone () const =0 |
| Clone method. | |
Class Creation and Accessor Methods | |
| virtual Teuchos::RCP< Teuchos::Comm< Ordinal > > | createComm () const =0 |
| Create a Comm instance for global communication between nodes. | |
Platform is an abstract base class. Platform is used to generate Comm instances. It also manages platform-specific information, such as how inter-image communication is implemented. An implementation of Platform (e.g., SerialPlatform) will create corresponding classes, (e.g., SerialComm). These will then be cast to their base class, and passed back to other Tpetra modules. As a result, other Tpetra modules don't need to know anything about the platform they're running on, or any implementation-specific details.
| Tpetra::Platform< Ordinal >::Platform | ( | const std::string & | str | ) |
Constructor.
| virtual Tpetra::Platform< Ordinal >::~Platform | ( | ) | [inline, virtual] |
Destructor.
| virtual Teuchos::RCP< Platform<Ordinal> > Tpetra::Platform< Ordinal >::clone | ( | ) | const [pure virtual] |
Clone method.
Returns a copy of this Platform instance. It is allocated on the heap and encapsulated in a Teuchos RCP.
Implemented in Tpetra::MpiPlatform< Ordinal >, and Tpetra::SerialPlatform< Ordinal >.
| virtual Teuchos::RCP< Teuchos::Comm<Ordinal> > Tpetra::Platform< Ordinal >::createComm | ( | ) | const [pure virtual] |
Create a Comm instance for global communication between nodes.
Implemented in Tpetra::MpiPlatform< Ordinal >, and Tpetra::SerialPlatform< Ordinal >.
1.4.7