Tpetra Matrix/Vector Services  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Namespaces | Functions
Tpetra_Core.hpp File Reference

Functions for initializing and finalizing Tpetra. More...

#include <Tpetra_ConfigDefs.hpp>
#include <Teuchos_Comm.hpp>

Go to the source code of this file.

Namespaces

namespace  Tpetra
 

Namespace Tpetra contains the class and methods constituting the Tpetra library.


Functions

Teuchos::RCP< const
Teuchos::Comm< int > > 
Tpetra::getDefaultComm ()
 Get Tpetra's default communicator.
bool Tpetra::isInitialized ()
 Whether Tpetra is in an initialized state.
void Tpetra::initialize (int *argc, char ***argv)
 Initialize Tpetra.
void Tpetra::initialize (int *argc, char ***argv, const Teuchos::RCP< const Teuchos::Comm< int > > &comm)
 Initialize Tpetra.

Detailed Description

Functions for initializing and finalizing Tpetra.

This file declares functions for initializing (setting up) and finalizing (tearing down) Tpetra. All overloads of initialize() automatically initialize MPI (if Trilinos was built with MPI enabled) and Kokkos, if necessary. The finalize() function finalizes MPI (by calling MPI_Finalize) and Kokkos, if necessary.

Definition in file Tpetra_Core.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines