Epetra Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
Functions
cxx_main.cpp File Reference
#include "Epetra_Map.h"
#include "Epetra_Time.h"
#include "Epetra_CrsMatrix.h"
#include "Epetra_JadMatrix.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 <vector>
#include <algorithm>
#include <string>
Include dependency graph for test/RowMatrix_LL/cxx_main.cpp:

Go to the source code of this file.

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 check (Epetra_RowMatrix &A, Epetra_RowMatrix &B, bool verbose)
 
int powerMethodTests (Epetra_RowMatrix &A, Epetra_RowMatrix &JadA, Epetra_Map &Map, Epetra_Vector &q, Epetra_Vector &z, Epetra_Vector &resid, bool verbose)
 
int power_method (bool TransA, Epetra_RowMatrix &A, Epetra_Vector &q, Epetra_Vector &z0, Epetra_Vector &resid, double *lambda, int niters, double tolerance, bool verbose)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ checkValues()

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

Definition at line 63 of file test/RowMatrix_LL/cxx_main.cpp.

◆ checkMultiVectors()

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

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

◆ check()

int check ( Epetra_RowMatrix & A,
Epetra_RowMatrix & B,
bool verbose )

Definition at line 392 of file test/RowMatrix_LL/cxx_main.cpp.

◆ powerMethodTests()

int powerMethodTests ( Epetra_RowMatrix & A,
Epetra_RowMatrix & JadA,
Epetra_Map & Map,
Epetra_Vector & q,
Epetra_Vector & z,
Epetra_Vector & resid,
bool verbose )

Definition at line 281 of file test/RowMatrix_LL/cxx_main.cpp.

◆ power_method()

int power_method ( bool TransA,
Epetra_RowMatrix & A,
Epetra_Vector & q,
Epetra_Vector & z0,
Epetra_Vector & resid,
double * lambda,
int niters,
double tolerance,
bool verbose )

Definition at line 361 of file test/RowMatrix_LL/cxx_main.cpp.

◆ main()

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

Definition at line 103 of file test/RowMatrix_LL/cxx_main.cpp.