Epetra Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
test/FusedImportExport_LL/cxx_main.cpp File Reference
#include "Epetra_Map.h"
#include "Epetra_Time.h"
#include "Epetra_CrsMatrix.h"
#include "Epetra_Import.h"
#include "Epetra_Export.h"
#include "Epetra_Util.h"
#include "Epetra_Vector.h"
#include "Epetra_Flops.h"
#include "Epetra_MpiComm.h"
#include "mpi.h"
#include "../epetra_test_err.h"
#include "Epetra_Version.h"
Include dependency graph for test/FusedImportExport_LL/cxx_main.cpp:

Go to the source code of this file.

Macros

#define ENABLE_TEST_1
 
#define ENABLE_TEST_2
 
#define ENABLE_TEST_3
 
#define ENABLE_TEST_4
 
#define ENABLE_TEST_5
 
#define ENABLE_TEST_6
 

Functions

int check (Epetra_CrsMatrix &A, int NumMyRows1, int NumGlobalRows1, int NumMyNonzeros1, int NumGlobalNonzeros1, int *MyGlobalElements, bool verbose)
 
int power_method (bool TransA, Epetra_CrsMatrix &A, Epetra_Vector &q, Epetra_Vector &z, Epetra_Vector &resid, double *lambda, int niters, double tolerance, bool verbose)
 
int check_graph_sharing (Epetra_Comm &Comm)
 
double test_with_matvec (const Epetra_CrsMatrix &A, const Epetra_CrsMatrix &B)
 
double test_with_matvec_reduced_maps (const Epetra_CrsMatrix &A, const Epetra_CrsMatrix &B, const Epetra_Map &Bfullmap)
 
int build_matrix_unfused (const Epetra_CrsMatrix &SourceMatrix, Epetra_Import &RowImporter, Epetra_CrsMatrix *&A)
 
int build_matrix_unfused (const Epetra_CrsMatrix &SourceMatrix, Epetra_Export &RowExporter, Epetra_CrsMatrix *&A)
 
void build_test_matrix (Epetra_MpiComm &Comm, int test_number, Epetra_CrsMatrix *&A)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define ENABLE_TEST_1
#define ENABLE_TEST_2
#define ENABLE_TEST_3
#define ENABLE_TEST_4
#define ENABLE_TEST_5
#define ENABLE_TEST_6

Function Documentation

int check ( Epetra_CrsMatrix A,
int  NumMyRows1,
int  NumGlobalRows1,
int  NumMyNonzeros1,
int  NumGlobalNonzeros1,
int *  MyGlobalElements,
bool  verbose 
)

Definition at line 989 of file test/CrsMatrix/cxx_main.cpp.

int power_method ( bool  TransA,
Epetra_CrsMatrix A,
Epetra_Vector q,
Epetra_Vector z,
Epetra_Vector resid,
double *  lambda,
int  niters,
double  tolerance,
bool  verbose 
)

Definition at line 958 of file test/CrsMatrix/cxx_main.cpp.

int check_graph_sharing ( Epetra_Comm Comm)

Definition at line 1089 of file test/CrsMatrix/cxx_main.cpp.

double test_with_matvec ( const Epetra_CrsMatrix A,
const Epetra_CrsMatrix B 
)

Definition at line 73 of file test/FusedImportExport_LL/cxx_main.cpp.

double test_with_matvec_reduced_maps ( const Epetra_CrsMatrix A,
const Epetra_CrsMatrix B,
const Epetra_Map Bfullmap 
)

Definition at line 115 of file test/FusedImportExport_LL/cxx_main.cpp.

int build_matrix_unfused ( const Epetra_CrsMatrix SourceMatrix,
Epetra_Import RowImporter,
Epetra_CrsMatrix *&  A 
)

Definition at line 150 of file test/FusedImportExport_LL/cxx_main.cpp.

int build_matrix_unfused ( const Epetra_CrsMatrix SourceMatrix,
Epetra_Export RowExporter,
Epetra_CrsMatrix *&  A 
)

Definition at line 159 of file test/FusedImportExport_LL/cxx_main.cpp.

void build_test_matrix ( Epetra_MpiComm Comm,
int  test_number,
Epetra_CrsMatrix *&  A 
)

Definition at line 170 of file test/FusedImportExport_LL/cxx_main.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 248 of file test/FusedImportExport_LL/cxx_main.cpp.