test/BasicPerfTest/cxx_main.cpp File Reference

#include "Epetra_Map.h"
#include "Epetra_LocalMap.h"
#include "Epetra_BlockMap.h"
#include "Epetra_Time.h"
#include "Epetra_CrsMatrix.h"
#include "Epetra_VbrMatrix.h"
#include "Epetra_Vector.h"
#include "Epetra_IntVector.h"
#include "Epetra_MultiVector.h"
#include "Epetra_IntSerialDenseVector.h"
#include "Epetra_SerialDenseVector.h"
#include "Epetra_Flops.h"
#include "Epetra_MpiComm.h"
#include "mpi.h"
#include "../epetra_test_err.h"
#include "Epetra_Version.h"
#include "Epetra_JadMatrix.h"

Include dependency graph for test/BasicPerfTest/cxx_main.cpp:

Go to the source code of this file.

Defines

#define EPETRA_HAVE_JADMATRIX
#define EPETRA_VERY_SHORT_PERFTEST
#define EPETRA_HAVE_STATICPROFILE

Functions

void GenerateCrsProblem (int numNodesX, int numNodesY, int numProcsX, int numProcsY, int numPoints, int *xoff, int *yoff, const Epetra_Comm &comm, bool verbose, bool summary, Epetra_Map *&map, Epetra_CrsMatrix *&A, Epetra_Vector *&b, Epetra_Vector *&bt, Epetra_Vector *&xexact, bool StaticProfile, bool MakeLocalOnly)
void GenerateCrsProblem (int numNodesX, int numNodesY, int numProcsX, int numProcsY, int numPoints, int *xoff, int *yoff, int nrhs, const Epetra_Comm &comm, bool verbose, bool summary, Epetra_Map *&map, Epetra_CrsMatrix *&A, Epetra_MultiVector *&b, Epetra_MultiVector *&bt, Epetra_MultiVector *&xexact, bool StaticProfile, bool MakeLocalOnly)
void GenerateVbrProblem (int numNodesX, int numNodesY, int numProcsX, int numProcsY, int numPoints, int *xoff, int *yoff, int nsizes, int *sizes, const Epetra_Comm &comm, bool verbose, bool summary, Epetra_BlockMap *&map, Epetra_VbrMatrix *&A, Epetra_Vector *&b, Epetra_Vector *&bt, Epetra_Vector *&xexact, bool StaticProfile, bool MakeLocalOnly)
void GenerateVbrProblem (int numNodesX, int numNodesY, int numProcsX, int numProcsY, int numPoints, int *xoff, int *yoff, int nsizes, int *sizes, int nrhs, const Epetra_Comm &comm, bool verbose, bool summary, Epetra_BlockMap *&map, Epetra_VbrMatrix *&A, Epetra_MultiVector *&b, Epetra_MultiVector *&bt, Epetra_MultiVector *&xexact, bool StaticProfile, bool MakeLocalOnly)
void GenerateMyGlobalElements (int numNodesX, int numNodesY, int numProcsX, int numProcs, int myPID, int *&myGlobalElements)
void runMatrixTests (Epetra_CrsMatrix *A, Epetra_MultiVector *b, Epetra_MultiVector *bt, Epetra_MultiVector *xexact, bool StaticProfile, bool verbose, bool summary)
void runJadMatrixTests (Epetra_JadMatrix *A, Epetra_MultiVector *b, Epetra_MultiVector *bt, Epetra_MultiVector *xexact, bool StaticProfile, bool verbose, bool summary)
void runLUMatrixTests (Epetra_CrsMatrix *L, Epetra_MultiVector *bL, Epetra_MultiVector *btL, Epetra_MultiVector *xexactL, Epetra_CrsMatrix *U, Epetra_MultiVector *bU, Epetra_MultiVector *btU, Epetra_MultiVector *xexactU, bool StaticProfile, bool verbose, bool summary)
int main (int argc, char *argv[])


Define Documentation

#define EPETRA_HAVE_JADMATRIX

Definition at line 29 of file test/BasicPerfTest/cxx_main.cpp.

#define EPETRA_VERY_SHORT_PERFTEST

Definition at line 30 of file test/BasicPerfTest/cxx_main.cpp.

#define EPETRA_HAVE_STATICPROFILE

Definition at line 31 of file test/BasicPerfTest/cxx_main.cpp.


Function Documentation

void GenerateCrsProblem ( int  numNodesX,
int  numNodesY,
int  numProcsX,
int  numProcsY,
int  numPoints,
int *  xoff,
int *  yoff,
const Epetra_Comm comm,
bool  verbose,
bool  summary,
Epetra_Map *&  map,
Epetra_CrsMatrix *&  A,
Epetra_Vector *&  b,
Epetra_Vector *&  bt,
Epetra_Vector *&  xexact,
bool  StaticProfile,
bool  MakeLocalOnly 
)

Definition at line 517 of file test/BasicPerfTest/cxx_main.cpp.

void GenerateCrsProblem ( int  numNodesX,
int  numNodesY,
int  numProcsX,
int  numProcsY,
int  numPoints,
int *  xoff,
int *  yoff,
int  nrhs,
const Epetra_Comm comm,
bool  verbose,
bool  summary,
Epetra_Map *&  map,
Epetra_CrsMatrix *&  A,
Epetra_MultiVector *&  b,
Epetra_MultiVector *&  bt,
Epetra_MultiVector *&  xexact,
bool  StaticProfile,
bool  MakeLocalOnly 
)

Definition at line 539 of file test/BasicPerfTest/cxx_main.cpp.

void GenerateVbrProblem ( int  numNodesX,
int  numNodesY,
int  numProcsX,
int  numProcsY,
int  numPoints,
int *  xoff,
int *  yoff,
int  nsizes,
int *  sizes,
const Epetra_Comm comm,
bool  verbose,
bool  summary,
Epetra_BlockMap *&  map,
Epetra_VbrMatrix *&  A,
Epetra_Vector *&  b,
Epetra_Vector *&  bt,
Epetra_Vector *&  xexact,
bool  StaticProfile,
bool  MakeLocalOnly 
)

Definition at line 680 of file test/BasicPerfTest/cxx_main.cpp.

void GenerateVbrProblem ( int  numNodesX,
int  numNodesY,
int  numProcsX,
int  numProcsY,
int  numPoints,
int *  xoff,
int *  yoff,
int  nsizes,
int *  sizes,
int  nrhs,
const Epetra_Comm comm,
bool  verbose,
bool  summary,
Epetra_BlockMap *&  map,
Epetra_VbrMatrix *&  A,
Epetra_MultiVector *&  b,
Epetra_MultiVector *&  bt,
Epetra_MultiVector *&  xexact,
bool  StaticProfile,
bool  MakeLocalOnly 
)

Definition at line 703 of file test/BasicPerfTest/cxx_main.cpp.

void GenerateMyGlobalElements ( int  numNodesX,
int  numNodesY,
int  numProcsX,
int  numProcs,
int  myPID,
int *&  myGlobalElements 
)

Definition at line 816 of file test/BasicPerfTest/cxx_main.cpp.

void runMatrixTests ( Epetra_CrsMatrix A,
Epetra_MultiVector b,
Epetra_MultiVector bt,
Epetra_MultiVector xexact,
bool  StaticProfile,
bool  verbose,
bool  summary 
)

Definition at line 834 of file test/BasicPerfTest/cxx_main.cpp.

void runJadMatrixTests ( Epetra_JadMatrix A,
Epetra_MultiVector b,
Epetra_MultiVector bt,
Epetra_MultiVector xexact,
bool  StaticProfile,
bool  verbose,
bool  summary 
)

Definition at line 909 of file test/BasicPerfTest/cxx_main.cpp.

void runLUMatrixTests ( Epetra_CrsMatrix L,
Epetra_MultiVector bL,
Epetra_MultiVector btL,
Epetra_MultiVector xexactL,
Epetra_CrsMatrix U,
Epetra_MultiVector bU,
Epetra_MultiVector btU,
Epetra_MultiVector xexactU,
bool  StaticProfile,
bool  verbose,
bool  summary 
)

Definition at line 959 of file test/BasicPerfTest/cxx_main.cpp.

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

Definition at line 108 of file test/BasicPerfTest/cxx_main.cpp.


Generated on Wed May 12 21:41:06 2010 for Epetra Package Browser (Single Doxygen Collection) by  doxygen 1.4.7