Epetra_test_functions.cpp File Reference

#include <Epetra_Map.h>
#include <Epetra_CrsMatrix.h>
#include <Epetra_SerialComm.h>
#include <Epetra_Util.h>
#include <Epetra_MpiComm.h>

Include dependency graph for Epetra_test_functions.cpp:

Go to the source code of this file.

Namespaces

namespace  epetra_test

Functions

bool global_check_for_flag_on_proc_0 (const char *flag, int numargs, char **strargs, const Epetra_Comm &comm)
 Check through a list of C-style string arguments searching for a specified flag on proc 0.
Epetra_Commcreate_comm (int argc, char **argv)
 If macro EPETRA_MPI is defined, call MPI_Init and then return new Epetra_MpiComm.
bool compare_matrices (const Epetra_CrsMatrix &A, const Epetra_CrsMatrix &B)
 Check whether the two CrsMatrix arguments have the same size, structure and coefs.


Function Documentation

bool epetra_test::global_check_for_flag_on_proc_0 const char *  flag,
int  numargs,
char **  strargs,
const Epetra_Comm comm
 

Check through a list of C-style string arguments searching for a specified flag on proc 0.

Case-sensitive search. return true on all procs if flag occurs in strargs, false on all procs if not.

Definition at line 41 of file Epetra_test_functions.cpp.

Epetra_Comm * epetra_test::create_comm int  argc,
char **  argv
 

If macro EPETRA_MPI is defined, call MPI_Init and then return new Epetra_MpiComm.

Otherwise, return new Epetra_SerialComm.

Definition at line 69 of file Epetra_test_functions.cpp.

bool epetra_test::compare_matrices const Epetra_CrsMatrix A,
const Epetra_CrsMatrix B
 

Check whether the two CrsMatrix arguments have the same size, structure and coefs.

Definition at line 80 of file Epetra_test_functions.cpp.


Generated on Thu Sep 18 12:38:03 2008 for Epetra Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1