Epetra Package Browser (Single Doxygen Collection) Development
Defines | Functions
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 43 of file test/BasicPerfTest/cxx_main.cpp.

#define EPETRA_VERY_SHORT_PERFTEST

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

#define EPETRA_HAVE_STATICPROFILE

Definition at line 45 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 532 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 554 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 695 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 718 of file test/BasicPerfTest/cxx_main.cpp.

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

Definition at line 831 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 849 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 924 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 974 of file test/BasicPerfTest/cxx_main.cpp.

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

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines