Epetra Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
epetra_test Namespace Reference

Classes

class  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. More...
 
Epetra_Commcreate_comm (int argc, char **argv)
 If macro EPETRA_MPI is defined, call MPI_Init and then return new Epetra_MpiComm. More...
 
bool compare_matrices (const Epetra_CrsMatrix &A, const Epetra_CrsMatrix &B)
 Check whether the two CrsMatrix arguments have the same size, structure and coefs. More...
 
bool compare_matrices_LL (const Epetra_CrsMatrix &A, const Epetra_CrsMatrix &B)
 

Variables

static const int nodes_per_elem = 4
 

Function Documentation

void epetra_test::get_node_ids ( int  elem_id,
int *  node_ids 
)

Definition at line 133 of file Epetra_matrix_data.cpp.

EPETRA_LIB_DLL_EXPORT 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 54 of file Epetra_test_functions.cpp.

EPETRA_LIB_DLL_EXPORT 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 82 of file Epetra_test_functions.cpp.

EPETRA_LIB_DLL_EXPORT 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 93 of file Epetra_test_functions.cpp.

bool epetra_test::compare_matrices_LL ( const Epetra_CrsMatrix A,
const Epetra_CrsMatrix B 
)

Definition at line 206 of file Epetra_test_functions.cpp.

Variable Documentation

const int epetra_test::nodes_per_elem = 4
static

Definition at line 131 of file Epetra_matrix_data.cpp.