42 #ifndef TPETRA_CORE_HPP
43 #define TPETRA_CORE_HPP
54 #include <Tpetra_ConfigDefs.hpp>
55 #include <Teuchos_Comm.hpp>
56 #ifdef HAVE_TPETRACORE_MPI
58 #endif // HAVE_TPETRACORE_MPI
108 #ifdef HAVE_TPETRA_MPI
109 void initialize (
int* argc,
char*** argv, MPI_Comm comm);
135 #endif // HAVE_TPETRA_MPI
168 const Teuchos::RCP<
const Teuchos::Comm<int> >& comm);
232 #ifdef HAVE_TPETRA_MPI
233 ScopeGuard (
int* argc,
char*** argv, MPI_Comm comm);
245 #endif // HAVE_TPETRA_MPI
263 #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)