Epetra Package Browser (Single Doxygen Collection) Development
Enumerations | Functions
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_Version.h"
Include dependency graph for test/VbrMatrix/cxx_main.cpp:

Go to the source code of this file.


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


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

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

Function Documentation

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

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

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

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

int checkVbrRowMatrix ( Epetra_RowMatrix A,
Epetra_RowMatrix B,
bool  verbose 

Definition at line 2091 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 1711 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 1439 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 1407 of file test/VbrMatrix/cxx_main.cpp.

int checkMergeRedundantEntries ( Epetra_Comm comm,
bool  verbose 

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

int checkExtractMyRowCopy ( Epetra_Comm comm,
bool  verbose 

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

int checkMatvecSameVectors ( Epetra_Comm comm,
bool  verbose 

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

int checkEarlyDelete ( Epetra_Comm comm,
bool  verbose 

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

void ConvertVbrToCrs ( Epetra_VbrMatrix VbrIn,
Epetra_CrsMatrix *&  CrsOut 

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

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

Definition at line 189 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 293 of file test/VbrMatrix/cxx_main.cpp.

int main ( int  argc,
char *  argv[] 

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines