54 #include "../epetra_test_err.h" 
   57 int main(
int argc, 
char *argv[]) {
 
   62   MPI_Init(&argc,&argv);
 
   72   if (argc>1) 
if (argv[1][0]==
'-' && argv[1][1]==
'v') verbose = 
true;
 
   75   int localverbose = verbose ? 1 : 0;
 
   77   MPI_Allreduce(&localverbose, &globalverbose, 1, MPI_INT, MPI_SUM,
 
   79   verbose = (globalverbose>0);
 
   82   int MyPID = Comm.
MyPID();
 
   85   if (verbose && MyPID==0)
 
   88   if (verbose) cout << Comm <<endl;
 
   90   int NumMyElements = 4;
 
   91   int NumGlobalElements = NumMyElements*NumProc;
 
   94   Epetra_Map Map(NumGlobalElements, NumMyElements, IndexBase, Comm);
 
  101   bool preconstruct_graph = 
false;
 
  105   preconstruct_graph = 
true;
 
Epetra_Map: A class for partitioning vectors and matrices. 
 
#define EPETRA_TEST_ERR(a, b)
 
int MyPID() const 
Return my process ID. 
 
Epetra_MpiComm: The Epetra MPI Communication Class. 
 
std::string Epetra_Version()
 
int Drumm1(const Epetra_Map &map, bool verbose)
 
int NumProc() const 
Returns total number of processes (always returns 1 for SerialComm). 
 
Epetra_SerialComm: The Epetra Serial Communication Class. 
 
int main(int argc, char *argv[])
 
int Young1(const Epetra_Comm &Comm, bool verbose)
 
int rectangular(const Epetra_Comm &Comm, bool verbose)
 
int Drumm2(const Epetra_Map &map, bool verbose)
 
int four_quads(const Epetra_Comm &Comm, bool preconstruct_graph, bool verbose)