epetra_test Namespace Reference


Classes

class  epetra_test::matrix_data
 matrix_data is a very simple data source to be used for filling test matrices. More...

Functions

void get_node_ids (int elem_id, int *node_ids)
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.

Variables

const int nodes_per_elem = 4


Function Documentation

void get_node_ids int  elem_id,
int *  node_ids
 

Definition at line 120 of file Epetra_matrix_data.cpp.

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.


Variable Documentation

const int epetra_test::nodes_per_elem = 4 [static]
 

Definition at line 118 of file Epetra_matrix_data.cpp.


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