10 #ifndef TPETRA_CORE_HPP
11 #define TPETRA_CORE_HPP
22 #include <Tpetra_ConfigDefs.hpp>
23 #include <Teuchos_Comm.hpp>
24 #ifdef HAVE_TPETRACORE_MPI
26 #endif // HAVE_TPETRACORE_MPI
76 #ifdef HAVE_TPETRA_MPI
77 void initialize (
int* argc,
char*** argv, MPI_Comm comm);
103 #endif // HAVE_TPETRA_MPI
136 const Teuchos::RCP<
const Teuchos::Comm<int> >& comm);
200 #ifdef HAVE_TPETRA_MPI
201 ScopeGuard (
int* argc,
char*** argv, MPI_Comm comm);
213 #endif // HAVE_TPETRA_MPI
231 #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)