Const sub-block type. More...
Public Member Functions | |
ConstBlock (const vsType &vs) | |
Construct for a given vector. More... | |
const Cmpt & | operator[] (const direction i) const |
[i] const element access operator More... | |
const Cmpt & | operator() (const direction i, const direction) const |
(i, 0) const element access operator More... | |
Static Public Attributes | |
static const direction | nComponents = SubVector::nComponents |
Number of components in this vector space. More... | |
Const sub-block type.
Definition at line 135 of file VectorSpace.H.
|
inline |
Construct for a given vector.
Definition at line 65 of file VectorSpaceI.H.
References VectorSpace< Form, Cmpt, Ncmpts >::nComponents, and VectorSpace< Form, Cmpt, Ncmpts >::ConstBlock< SubVector, BStart >::nComponents.
[i] const element access operator
Definition at line 230 of file VectorSpaceI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
(i, 0) const element access operator
Definition at line 252 of file VectorSpaceI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
static |
Number of components in this vector space.
Definition at line 142 of file VectorSpace.H.
Referenced by VectorSpace< Form, Cmpt, Ncmpts >::ConstBlock< SubVector, BStart >::ConstBlock().