56#include "../epetra_test_err.h"
59int main(
int argc,
char *argv[]) {
67 MPI_Init(&argc,&argv);
80 if (argc>1)
if (argv[1][0]==
'-' && argv[1][1]==
'v') verbose =
true;
82 int verbose_int = verbose ? 1 : 0;
84 verbose = verbose_int==1 ? true :
false;
86 int MyPID = Comm.
MyPID();
89 if (verbose && MyPID==0)
92 if (verbose) cout << Comm <<endl;
95 int NumMyElements = 4;
96 int NumGlobalElements = NumMyElements*NumProc;
99 Epetra_Map Map(NumGlobalElements, NumMyElements, IndexBase, Comm);
107 bool preconstruct_graph =
false;
111 preconstruct_graph =
true;
std::string Epetra_Version()
int four_quads(const Epetra_Comm &Comm, bool preconstruct_graph, bool verbose)
int quad1(const Epetra_Map &map, bool verbose)
int quad2(const Epetra_Map &map, bool verbose)
int MultiVectorTests(const Epetra_Map &Map, int NumVectors, bool verbose)
Epetra_Map: A class for partitioning vectors and matrices.
Epetra_MpiComm: The Epetra MPI Communication Class.
int Broadcast(double *MyVals, int Count, int Root) const
Epetra_MpiComm Broadcast function.
int NumProc() const
Returns total number of processes.
int MyPID() const
Return my process ID.
Epetra_SerialComm: The Epetra Serial Communication Class.
#define EPETRA_TEST_ERR(a, b)
int main(int argc, char *argv[])