Class for a compressed-matrix coefficent (for either CC or CR matrices). Contains the (row or column) index and value of a coefficient in a compressed row or column. Currently only used in ILU(0) for CCDoubleMatrices to allow the coefficients in each compressed column [row] to be sorted by their row [column] index. More...
#include <general_purpose_preconditioners.h>
Public Member Functions | |
| CompressedMatrixCoefficient () | |
| Constructor (no arguments) More... | |
| CompressedMatrixCoefficient (const unsigned &index, const double &value) | |
| Constructor (takes the index and value as arguments) More... | |
| ~CompressedMatrixCoefficient () | |
| Destructor (does nothing) More... | |
| CompressedMatrixCoefficient (const CompressedMatrixCoefficient &a) | |
| Copy Constructor. Not Broken. Required for STL sort function. More... | |
| void | operator= (const CompressedMatrixCoefficient &a) |
| Assignment Operator. Not Broken. Required for STL sort function. More... | |
| bool | operator< (const CompressedMatrixCoefficient &a) const |
| Less Than Operator (for the STL sort function) More... | |
| unsigned & | index () |
| access function for the coefficient's (row or column) index More... | |
| double & | value () |
| access function for the coefficient value More... | |
| unsigned | index () const |
| Access function for the coefficient's (row or column_ index (const version) More... | |
| double | value () const |
| access function for the coefficient's value (const version) More... | |
Private Attributes | |
| unsigned | Index |
| the row or column index of the compressed-matrix coefficient More... | |
| double | Value |
| the value of the compressed-matrix coefficient More... | |
Class for a compressed-matrix coefficent (for either CC or CR matrices). Contains the (row or column) index and value of a coefficient in a compressed row or column. Currently only used in ILU(0) for CCDoubleMatrices to allow the coefficients in each compressed column [row] to be sorted by their row [column] index.
Definition at line 206 of file general_purpose_preconditioners.h.
|
inline |
Constructor (no arguments)
Definition at line 212 of file general_purpose_preconditioners.h.
|
inline |
Constructor (takes the index and value as arguments)
Definition at line 215 of file general_purpose_preconditioners.h.
|
inline |
Destructor (does nothing)
Definition at line 223 of file general_purpose_preconditioners.h.
|
inline |
Copy Constructor. Not Broken. Required for STL sort function.
Definition at line 226 of file general_purpose_preconditioners.h.
|
inline |
access function for the coefficient's (row or column) index
Definition at line 246 of file general_purpose_preconditioners.h.
Referenced by CompressedMatrixCoefficient(), operator<(), and operator=().
|
inline |
Access function for the coefficient's (row or column_ index (const version)
Definition at line 253 of file general_purpose_preconditioners.h.
|
inline |
Less Than Operator (for the STL sort function)
Definition at line 240 of file general_purpose_preconditioners.h.
References index().
|
inline |
Assignment Operator. Not Broken. Required for STL sort function.
Definition at line 233 of file general_purpose_preconditioners.h.
|
inline |
access function for the coefficient value
Definition at line 249 of file general_purpose_preconditioners.h.
Referenced by CompressedMatrixCoefficient(), and operator=().
|
inline |
access function for the coefficient's value (const version)
Definition at line 256 of file general_purpose_preconditioners.h.
|
private |
the row or column index of the compressed-matrix coefficient
Definition at line 261 of file general_purpose_preconditioners.h.
|
private |
the value of the compressed-matrix coefficient
Definition at line 264 of file general_purpose_preconditioners.h.