Public Types | |
typedef MatrixType::cmptType | cmptType |
Public Member Functions | |
ConstMatrixBlock (const MatrixType &matrix, const label m, const label n, const label mStart, const label nStart) | |
Construct block for matrix, size and location. More... | |
label | m () const |
Return the number of rows in the block. More... | |
label | n () const |
Return the number of columns in the block. More... | |
const cmptType & | operator() (const label i, const label j) const |
(i, j) const element access operator More... | |
operator Field< cmptType > () const | |
Convert a column of a matrix to a Field. More... | |
typedef MatrixType::cmptType cmptType |
Definition at line 75 of file MatrixBlock.H.
|
inline |
Construct block for matrix, size and location.
Definition at line 30 of file MatrixBlockI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and MatrixBlock< MatrixType >::MatrixBlock().
|
inline |
Return the number of rows in the block.
Definition at line 93 of file MatrixBlockI.H.
|
inline |
Return the number of columns in the block.
Definition at line 100 of file MatrixBlockI.H.
(i, j) const element access operator
Definition at line 125 of file MatrixBlockI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Convert a column of a matrix to a Field.
Definition at line 31 of file MatrixBlock.C.
References Foam::abort(), f(), Foam::FatalError, FatalErrorInFunction, and forAll.