Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Classes | 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.

Classes

class  Tpetra::ScopeGuard
 Scope guard whose destructor automatically calls Tpetra::finalize for you. More...
 

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.
 
void Tpetra::finalize ()
 Finalize 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.