Epetra Package Browser (Single Doxygen Collection)
Development
|
matrix_data is a very simple data source to be used for filling test matrices. More...
#include <Epetra_matrix_data.h>
Public Member Functions | |
matrix_data (int num_rows, int *rowlengths, int blocksize=1) | |
matrix_data (int num_rows, int num_cols, int num_off_diagonals, int blocksize) | |
matrix_data (int num_quad_elements, int num_dof_per_node, bool make_numerically_nonsymmetric=false) | |
virtual | ~matrix_data () |
int | numrows () |
int | numcols () |
int | blocksize () |
int * | rows () |
int * | rowlengths () |
int ** | colindices () |
double ** | coefs () |
double * | coefs (int row, int col) |
bool | compare_local_data (const Epetra_CrsMatrix &A) |
The portion of this matrix_data object's data that corresponds to the locally-owned rows of A, will be copied into A. More... | |
Private Member Functions | |
matrix_data (const matrix_data &data) | |
matrix_data & | operator= (const matrix_data &data) |
Private Attributes | |
int | numrows_ |
int | numcols_ |
int * | rows_ |
int * | rowlengths_ |
int | blocksize_ |
int ** | colindices_ |
double ** | coefs_ |
matrix_data is a very simple data source to be used for filling test matrices.
It is serial; the intent is that a test program declares this class to be of full (global) size on each processor, then fills the local portion of the test matrix from the appropriate section of the data in this class.
Definition at line 66 of file Epetra_matrix_data.h.
epetra_test::matrix_data::matrix_data | ( | int | num_rows, |
int * | rowlengths, | ||
int | blocksize = 1 |
||
) |
Definition at line 50 of file Epetra_matrix_data.cpp.
epetra_test::matrix_data::matrix_data | ( | int | num_rows, |
int | num_cols, | ||
int | num_off_diagonals, | ||
int | blocksize | ||
) |
Definition at line 81 of file Epetra_matrix_data.cpp.
epetra_test::matrix_data::matrix_data | ( | int | num_quad_elements, |
int | num_dof_per_node, | ||
bool | make_numerically_nonsymmetric = false |
||
) |
Definition at line 139 of file Epetra_matrix_data.cpp.
|
virtual |
Definition at line 213 of file Epetra_matrix_data.cpp.
|
private |
|
inline |
Definition at line 74 of file Epetra_matrix_data.h.
|
inline |
Definition at line 75 of file Epetra_matrix_data.h.
|
inline |
Definition at line 76 of file Epetra_matrix_data.h.
|
inline |
Definition at line 77 of file Epetra_matrix_data.h.
|
inline |
Definition at line 78 of file Epetra_matrix_data.h.
|
inline |
Definition at line 80 of file Epetra_matrix_data.h.
|
inline |
Definition at line 81 of file Epetra_matrix_data.h.
double * epetra_test::matrix_data::coefs | ( | int | row, |
int | col | ||
) |
Definition at line 227 of file Epetra_matrix_data.cpp.
bool epetra_test::matrix_data::compare_local_data | ( | const Epetra_CrsMatrix & | A | ) |
The portion of this matrix_data object's data that corresponds to the locally-owned rows of A, will be copied into A.
A.FillComplete() will NOT be called.Compare the local rows of A to the corresponding rows of this matrix_data object's data.
Definition at line 269 of file Epetra_matrix_data.cpp.
|
private |
|
private |
Definition at line 97 of file Epetra_matrix_data.h.
|
private |
Definition at line 98 of file Epetra_matrix_data.h.
|
private |
Definition at line 99 of file Epetra_matrix_data.h.
|
private |
Definition at line 100 of file Epetra_matrix_data.h.
|
private |
Definition at line 101 of file Epetra_matrix_data.h.
|
private |
Definition at line 103 of file Epetra_matrix_data.h.
|
private |
Definition at line 104 of file Epetra_matrix_data.h.