45 #include "Epetra_SerialComm.h" 47 # include "Epetra_MpiComm.h" 49 #include "Epetra_Map.h" 50 #include "Epetra_CrsMatrix.h" 51 #include "Teuchos_as.hpp" 52 #include "Teuchos_Array.hpp" 53 #include "Teuchos_RCP.hpp" 54 #include "Teuchos_Comm.hpp" 55 #include "Teuchos_UnitTestHarness.hpp" 69 using Teuchos::outArg;
72 typedef Teuchos_Ordinal Ordinal;
76 bool g_dumpAll =
false;
77 bool g_show_all_tests =
false;
82 Teuchos::UnitTestRepository::getCLP().setOption(
83 "local-dim", &
g_localDim,
"Local dimension of each vector." );
84 Teuchos::UnitTestRepository::getCLP().setOption(
85 "show-all-tests",
"no-show-all-tests", &g_show_all_tests,
86 "Set if all tests are shown or not." );
87 Teuchos::UnitTestRepository::getCLP().setOption(
88 "dump-all",
"no-dump-all", &g_dumpAll,
89 "Dump lots of data" );
93 RCP<const Epetra_Comm> getEpetraComm()
96 return rcp(
new Epetra_MpiComm(MPI_COMM_WORLD));
98 return rcp(
new Epetra_SerialComm());