Const sub-block type. More...
Public Member Functions | |
ConstBlock (const msType &matrix) | |
Construct for the given matrix. More... | |
SubTensor | operator() () const |
Construct and return the sub-tensor corresponding to this block. More... | |
const Cmpt & | operator() (const direction i, const direction j) const |
(i, j) const element access operator More... | |
Static Public Member Functions | |
static direction | m () |
Return the number of rows in the block. More... | |
static direction | n () |
Return the number of columns in the block. More... | |
Static Public Attributes | |
static const direction | mRows = SubTensor::mRows |
static const direction | nCols = SubTensor::nCols |
Const sub-block type.
Definition at line 104 of file MatrixSpace.H.
|
inline |
Construct for the given matrix.
Definition at line 79 of file MatrixSpaceI.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::mRows, MatrixSpace< Form, Cmpt, Mrows, Ncols >::ConstBlock< SubTensor, BRowStart, BColStart >::mRows, MatrixSpace< Form, Cmpt, Mrows, Ncols >::nCols, and MatrixSpace< Form, Cmpt, Mrows, Ncols >::ConstBlock< SubTensor, BRowStart, BColStart >::nCols.
|
inlinestatic |
Return the number of rows in the block.
Definition at line 119 of file MatrixSpace.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::ConstBlock< SubTensor, BRowStart, BColStart >::mRows.
|
inlinestatic |
Return the number of columns in the block.
Definition at line 127 of file MatrixSpace.H.
References MatrixSpace< Form, Cmpt, Mrows, Ncols >::ConstBlock< SubTensor, BRowStart, BColStart >::nCols.
|
inline |
Construct and return the sub-tensor corresponding to this block.
Definition at line 251 of file MatrixSpaceI.H.
(i, j) const element access operator
Definition at line 262 of file MatrixSpaceI.H.
|
static |
|
static |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.