Class to allow sorting of column indices in conversion to epetra matrix. More...
Public Member Functions | |
DistributionPredicate (const int &first_col, const int &ncol_local) | |
Constructor: Pass number of first column and the number of local columns. More... | |
bool | operator() (const int &col) |
Comparison operator: is column col in the range between (including) First_col and Last_col. More... | |
Private Attributes | |
int | First_col |
First column held locally. More... | |
int | Last_col |
Last colum held locally. More... | |
Class to allow sorting of column indices in conversion to epetra matrix.
Definition at line 430 of file trilinos_helpers.cc.
|
inline |
Constructor: Pass number of first column and the number of local columns.
Definition at line 434 of file trilinos_helpers.cc.
|
inline |
Comparison operator: is column col in the range between (including) First_col and Last_col.
Definition at line 441 of file trilinos_helpers.cc.
|
private |
First column held locally.
Definition at line 455 of file trilinos_helpers.cc.
Referenced by operator()().
|
private |
Last colum held locally.
Definition at line 458 of file trilinos_helpers.cc.
Referenced by operator()().