40 #ifndef TPETRA_CORE_HPP
41 #define TPETRA_CORE_HPP
52 #include <Tpetra_ConfigDefs.hpp>
53 #include <Teuchos_Comm.hpp>
54 #ifdef HAVE_TPETRACORE_MPI
56 #endif // HAVE_TPETRACORE_MPI
106 #ifdef HAVE_TPETRA_MPI
107 void initialize (
int* argc,
char*** argv, MPI_Comm comm);
133 #endif // HAVE_TPETRA_MPI
166 const Teuchos::RCP<
const Teuchos::Comm<int> >& comm);
230 #ifdef HAVE_TPETRA_MPI
231 ScopeGuard (
int* argc,
char*** argv, MPI_Comm comm);
243 #endif // HAVE_TPETRA_MPI
261 #endif // TPETRA_CORE_HPP
~ScopeGuard()
Finalize Tpetra.
bool isInitialized()
Whether Tpetra is in an initialized state.
void initialize(int *argc, char ***argv)
Initialize Tpetra.
Scope guard whose destructor automatically calls Tpetra::finalize for you.
void finalize()
Finalize Tpetra.
Teuchos::RCP< const Teuchos::Comm< int > > getDefaultComm()
Get Tpetra's default communicator.
ScopeGuard()=delete
Default constructor (FORBIDDEN)