11 #include "Epetra_SerialComm.h"
13 # include "Epetra_MpiComm.h"
15 #include "Epetra_Map.h"
16 #include "Epetra_CrsMatrix.h"
35 using Teuchos::outArg;
42 bool g_dumpAll =
false;
43 bool g_show_all_tests =
false;
49 "local-dim", &g_localDim,
"Local dimension of each vector." );
51 "show-all-tests",
"no-show-all-tests", &g_show_all_tests,
52 "Set if all tests are shown or not." );
54 "dump-all",
"no-dump-all", &g_dumpAll,
55 "Dump lots of data" );
59 RCP<const Epetra_Comm> getEpetraComm()
62 return rcp(
new Epetra_MpiComm(MPI_COMM_WORLD));
64 return rcp(
new Epetra_SerialComm());
72 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
74 #warning "The ThyraEpetraAdapters package is deprecated"
static CommandLineProcessor & getCLP()
TEUCHOS_ORDINAL_TYPE Teuchos_Ordinal
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
void setOption(const char option_true[], const char option_false[], bool *option_val, const char documentation[]=NULL)
TypeTo as(const TypeFrom &t)