EpetraExt Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions | Variables
test/MatrixMatrix/cxx_main.cpp File Reference
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <Epetra_ConfigDefs.h>
#include <mpi.h>
#include <Epetra_MpiComm.h>
#include <Epetra_SerialComm.h>
#include <Epetra_Time.h>
#include <Epetra_Import.h>
#include <Epetra_Export.h>
#include <Epetra_Map.h>
#include <Epetra_LocalMap.h>
#include <Epetra_CrsGraph.h>
#include <Epetra_CrsMatrix.h>
#include <Epetra_Vector.h>
#include <EpetraExt_MMHelpers.h>
#include <EpetraExt_MatrixMatrix.h>
#include <EpetraExt_BlockMapIn.h>
#include <EpetraExt_CrsMatrixIn.h>
#include <EpetraExt_RowMatrixOut.h>
Include dependency graph for test/MatrixMatrix/cxx_main.cpp:

Go to the source code of this file.

Namespaces

 EpetraExt
 EpetraExt::BlockCrsMatrix: A class for constructing a distributed block matrix.
 

Functions

Epetra_MapEpetraExt::find_rows_containing_cols (const Epetra_CrsMatrix &M, const Epetra_Map &column_map)
 
int read_input_file (Epetra_Comm &Comm, const std::string &input_file_name, std::vector< std::string > &filenames)
 
int read_matrix_file_names (Epetra_Comm &Comm, const std::string &input_file_name, std::string &A_file, bool &transA, std::string &B_file, bool &transB, std::string &C_file)
 
int broadcast_name (Epetra_Comm &Comm, std::string &name)
 
int create_maps (Epetra_Comm &Comm, const std::string &input_file_name, Epetra_Map *&row_map, Epetra_Map *&col_map, Epetra_Map *&range_map, Epetra_Map *&domain_map)
 
int read_matrix (const std::string &filename, Epetra_Comm &Comm, const Epetra_Map *rowmap, Epetra_Map *colmap, const Epetra_Map *rangemap, const Epetra_Map *domainmap, Epetra_CrsMatrix *&mat)
 
int run_test (Epetra_Comm &Comm, const std::string &filename, bool do_FillComplete, bool result_mtx_to_file=false, bool verbose=false)
 
int two_proc_test (Epetra_Comm &Comm, bool verbose=false)
 
int test_find_rows (Epetra_Comm &Comm)
 
Epetra_CrsMatrixcreate_epetra_crsmatrix (int numProcs, int localProc, int local_n, bool callFillComplete=true, bool symmetric=true)
 
int time_matrix_matrix_multiply (Epetra_Comm &Comm, bool verbose)
 
int test_drumm1 (Epetra_Comm &Comm)
 
int main (int argc, char **argv)
 
int expand_name_list (const char *newname, const char **&names, int &alloc_len, int &num_names)
 

Variables

std::string path
 

Function Documentation

int read_input_file ( Epetra_Comm Comm,
const std::string &  input_file_name,
std::vector< std::string > &  filenames 
)

Definition at line 338 of file test/MatrixMatrix/cxx_main.cpp.

int read_matrix_file_names ( Epetra_Comm Comm,
const std::string &  input_file_name,
std::string &  A_file,
bool &  transA,
std::string &  B_file,
bool &  transB,
std::string &  C_file 
)

Definition at line 614 of file test/MatrixMatrix/cxx_main.cpp.

int broadcast_name ( Epetra_Comm Comm,
std::string &  name 
)

Definition at line 317 of file test/MatrixMatrix/cxx_main.cpp.

int create_maps ( Epetra_Comm Comm,
const std::string &  input_file_name,
Epetra_Map *&  row_map,
Epetra_Map *&  col_map,
Epetra_Map *&  range_map,
Epetra_Map *&  domain_map 
)

Definition at line 695 of file test/MatrixMatrix/cxx_main.cpp.

int read_matrix ( const std::string &  filename,
Epetra_Comm Comm,
const Epetra_Map rowmap,
Epetra_Map colmap,
const Epetra_Map rangemap,
const Epetra_Map domainmap,
Epetra_CrsMatrix *&  mat 
)

Definition at line 711 of file test/MatrixMatrix/cxx_main.cpp.

int run_test ( Epetra_Comm Comm,
const std::string &  filename,
bool  do_FillComplete,
bool  result_mtx_to_file = false,
bool  verbose = false 
)

Definition at line 409 of file test/MatrixMatrix/cxx_main.cpp.

int two_proc_test ( Epetra_Comm Comm,
bool  verbose = false 
)

Definition at line 726 of file test/MatrixMatrix/cxx_main.cpp.

int test_find_rows ( Epetra_Comm Comm)

Definition at line 246 of file test/MatrixMatrix/cxx_main.cpp.

Epetra_CrsMatrix * create_epetra_crsmatrix ( int  numProcs,
int  localProc,
int  local_n,
bool  callFillComplete = true,
bool  symmetric = true 
)

Definition at line 917 of file test/MatrixMatrix/cxx_main.cpp.

int time_matrix_matrix_multiply ( Epetra_Comm Comm,
bool  verbose 
)

Definition at line 800 of file test/MatrixMatrix/cxx_main.cpp.

int test_drumm1 ( Epetra_Comm Comm)

Definition at line 1002 of file test/MatrixMatrix/cxx_main.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 135 of file test/MatrixMatrix/cxx_main.cpp.

int expand_name_list ( const char *  newname,
const char **&  names,
int &  alloc_len,
int &  num_names 
)

Definition at line 292 of file test/MatrixMatrix/cxx_main.cpp.

Variable Documentation

std::string path

Definition at line 132 of file test/MatrixMatrix/cxx_main.cpp.