EpetraExt Package Browser (Single Doxygen Collection) Development
Namespaces | Functions | Variables
test/MatrixMatrix/cxx_main.cpp File Reference
#include <cstring>
#include <cstdio>
#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_Map.h>
#include <Epetra_LocalMap.h>
#include <Epetra_CrsGraph.h>
#include <Epetra_CrsMatrix.h>
#include <Epetra_Vector.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

namespace  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 *colmap)
int read_input_file (Epetra_Comm &Comm, const char *input_file_name, const char **&filenames, int &numfiles, int &numfilenames_allocated)
int read_matrix_file_names (Epetra_Comm &Comm, const char *input_file_name, char *&A_file, bool &transA, char *&B_file, bool &transB, char *&C_file)
int broadcast_name (Epetra_Comm &Comm, const char *&name)
int create_maps (Epetra_Comm &Comm, const char *input_file_name, Epetra_Map *&row_map, Epetra_Map *&col_map, Epetra_Map *&range_map, Epetra_Map *&domain_map)
int read_matrix (const char *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 char *filename, 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 main (int argc, char **argv)
int expand_name_list (const char *newname, const char **&names, int &alloc_len, int &num_names)

Variables

char * path

Function Documentation

int read_input_file ( Epetra_Comm Comm,
const char *  input_file_name,
const char **&  filenames,
int &  numfiles,
int &  numfilenames_allocated 
)

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

int read_matrix_file_names ( Epetra_Comm Comm,
const char *  input_file_name,
char *&  A_file,
bool &  transA,
char *&  B_file,
bool &  transB,
char *&  C_file 
)

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

int broadcast_name ( Epetra_Comm Comm,
const char *&  name 
)

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

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

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

int read_matrix ( const char *  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 637 of file test/MatrixMatrix/cxx_main.cpp.

int run_test ( Epetra_Comm Comm,
const char *  filename,
bool  result_mtx_to_file = false,
bool  verbose = false 
)

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

int two_proc_test ( Epetra_Comm Comm,
bool  verbose = false 
)

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

int test_find_rows ( Epetra_Comm Comm)

Definition at line 202 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 839 of file test/MatrixMatrix/cxx_main.cpp.

int time_matrix_matrix_multiply ( Epetra_Comm Comm,
bool  verbose 
)

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

int main ( int  argc,
char **  argv 
)

Definition at line 89 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 249 of file test/MatrixMatrix/cxx_main.cpp.


Variable Documentation

char* path

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines