test/VbrMatrix/cxx_main.cpp File Reference

#include "Epetra_SerialDenseMatrix.h"
#include "Epetra_Map.h"
#include "Epetra_Time.h"
#include "Epetra_Vector.h"
#include "Epetra_Flops.h"
#include "Epetra_VbrMatrix.h"
#include "Epetra_VbrRowMatrix.h"
#include "Epetra_CrsMatrix.h"
#include <vector>
#include "Epetra_MpiComm.h"
#include "mpi.h"
#include "../epetra_test_err.h"
#include "../src/Epetra_matrix_data.h"
#include "Epetra_ConfigDefs.h"
#include "Epetra_Version.h"
Include dependency graph for test/VbrMatrix/cxx_main.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  ConsType {
  VariableEntriesPerRow, FixedEntriesPerRow, NoEntriesPerRow, RowMapColMap_VEPR,
  RowMapColMap_FEPR, RowMapColMap_NEPR, WithGraph, CopyConstructor
}

Functions

int checkValues (double x, double y, string message="", bool verbose=false)
int checkMultiVectors (Epetra_MultiVector &X, Epetra_MultiVector &Y, string message="", bool verbose=false)
int checkVbrRowMatrix (Epetra_RowMatrix &A, Epetra_RowMatrix &B, bool verbose)
int CompareValues (double *A, int LDA, int NumRowsA, int NumColsA, double *B, int LDB, int NumRowsB, int NumColsB)
int check (Epetra_VbrMatrix &A, int NumMyRows1, int NumGlobalRows1, int NumMyNonzeros1, int NumGlobalNonzeros1, int NumMyBlockRows1, int NumGlobalBlockRows1, int NumMyBlockNonzeros1, int NumGlobalBlockNonzeros1, int *MyGlobalElements, bool verbose)
int power_method (bool TransA, Epetra_VbrMatrix &A, Epetra_MultiVector &q, Epetra_MultiVector &z, Epetra_MultiVector &resid, double *lambda, int niters, double tolerance, bool verbose)
int checkMergeRedundantEntries (Epetra_Comm &comm, bool verbose)
int checkExtractMyRowCopy (Epetra_Comm &comm, bool verbose)
int checkMatvecSameVectors (Epetra_Comm &comm, bool verbose)
int checkEarlyDelete (Epetra_Comm &comm, bool verbose)
void ConvertVbrToCrs (Epetra_VbrMatrix *VbrIn, Epetra_CrsMatrix *&CrsOut)
int checkmultiply (bool transpose, Epetra_VbrMatrix &A, Epetra_MultiVector &X, Epetra_MultiVector &Check_Y)
int TestMatrix (Epetra_Comm &Comm, bool verbose, bool debug, int NumMyElements, int MinSize, int MaxSize, ConsType ConstructorType, bool ExtraBlocks, bool insertlocal, bool symmetric, Epetra_VbrMatrix **PreviousA)
int main (int argc, char *argv[])

Enumeration Type Documentation

enum ConsType
Enumerator:
VariableEntriesPerRow 
FixedEntriesPerRow 
NoEntriesPerRow 
RowMapColMap_VEPR 
RowMapColMap_FEPR 
RowMapColMap_NEPR 
WithGraph 
CopyConstructor 

Definition at line 275 of file test/VbrMatrix/cxx_main.cpp.


Function Documentation

int checkValues ( double  x,
double  y,
string  message = "",
bool  verbose = false 
)

Definition at line 60 of file test/VbrMatrix/cxx_main.cpp.

int checkMultiVectors ( Epetra_MultiVector X,
Epetra_MultiVector Y,
string  message = "",
bool  verbose = false 
)

Definition at line 71 of file test/VbrMatrix/cxx_main.cpp.

int checkVbrRowMatrix ( Epetra_RowMatrix A,
Epetra_RowMatrix B,
bool  verbose 
)

Definition at line 2081 of file test/VbrMatrix/cxx_main.cpp.

int CompareValues ( double *  A,
int  LDA,
int  NumRowsA,
int  NumColsA,
double *  B,
int  LDB,
int  NumRowsB,
int  NumColsB 
)

Definition at line 1700 of file test/VbrMatrix/cxx_main.cpp.

int check ( Epetra_VbrMatrix A,
int  NumMyRows1,
int  NumGlobalRows1,
int  NumMyNonzeros1,
int  NumGlobalNonzeros1,
int  NumMyBlockRows1,
int  NumGlobalBlockRows1,
int  NumMyBlockNonzeros1,
int  NumGlobalBlockNonzeros1,
int *  MyGlobalElements,
bool  verbose 
)

Definition at line 1427 of file test/VbrMatrix/cxx_main.cpp.

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

Definition at line 1395 of file test/VbrMatrix/cxx_main.cpp.

int checkMergeRedundantEntries ( Epetra_Comm comm,
bool  verbose 
)

Definition at line 1721 of file test/VbrMatrix/cxx_main.cpp.

int checkExtractMyRowCopy ( Epetra_Comm comm,
bool  verbose 
)

Definition at line 1864 of file test/VbrMatrix/cxx_main.cpp.

int checkMatvecSameVectors ( Epetra_Comm comm,
bool  verbose 
)

Definition at line 1958 of file test/VbrMatrix/cxx_main.cpp.

int checkEarlyDelete ( Epetra_Comm comm,
bool  verbose 
)

Definition at line 2016 of file test/VbrMatrix/cxx_main.cpp.

void ConvertVbrToCrs ( Epetra_VbrMatrix VbrIn,
Epetra_CrsMatrix *&  CrsOut 
)

Definition at line 117 of file test/VbrMatrix/cxx_main.cpp.

int checkmultiply ( bool  transpose,
Epetra_VbrMatrix A,
Epetra_MultiVector X,
Epetra_MultiVector Check_Y 
)

Definition at line 175 of file test/VbrMatrix/cxx_main.cpp.

int TestMatrix ( Epetra_Comm Comm,
bool  verbose,
bool  debug,
int  NumMyElements,
int  MinSize,
int  MaxSize,
ConsType  ConstructorType,
bool  ExtraBlocks,
bool  insertlocal,
bool  symmetric,
Epetra_VbrMatrix **  PreviousA 
)

Definition at line 279 of file test/VbrMatrix/cxx_main.cpp.

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

Definition at line 1173 of file test/VbrMatrix/cxx_main.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:58:42 2011 for Epetra Package Browser (Single Doxygen Collection) by  doxygen 1.6.3