55 template<
class Form,
class Cmpt, direction Mrows, direction Ncols>
94 template<
class SubTensor, direction BRowStart, direction BColStart>
98 const msType& matrix_;
103 static const direction nCols = SubTensor::nCols;
147 static const direction nCols = SubTensor::nCols;
162 inline Block(msType& matrix);
165 template<
class Form2>
166 inline void operator=
178 template<
class VSForm>
179 inline void operator=
208 template<
class Form2,
class Cmpt2>
217 template<
class, direction, direction>
class Block2,
223 const Block2<Form, BRowStart, BColStart>&
block 233 template<direction Row, direction Col>
234 inline const Cmpt&
elmt()
const;
237 template<direction Row, direction Col>
243 inline const Cmpt&
xx()
const;
244 inline const Cmpt&
xy()
const;
245 inline const Cmpt&
xz()
const;
246 inline const Cmpt&
yx()
const;
247 inline const Cmpt&
yy()
const;
248 inline const Cmpt&
yz()
const;
249 inline const Cmpt&
zx()
const;
250 inline const Cmpt&
zy()
const;
251 inline const Cmpt&
zz()
const;
271 template<
class SubTensor, direction BRowStart, direction BColStart>
276 template<
class SubTensor, direction BRowStart, direction BColStart>
298 template<
class, direction, direction>
class Block2,
302 inline void operator=
304 const Block2<Form, BRowStart, BColStart>&
block 308 template<
class Form2>
309 inline void operator&=
static const direction nCols
static direction m()
Return the number of rows in the block.
ConstBlock(const msType &matrix)
Construct for the given matrix.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
SubTensor operator()() const
Construct and return the sub-ensor corresponding to this block.
MatrixSpace< Form, Cmpt, Mrows, Ncols > msType
MatrixSpace type.
void operator=(const Foam::zero)
Assignment to zero.
typeOfTranspose< Cmpt, Form >::type T() const
Return the transpose of the matrix.
static const direction mRows
MatrixSpace()
Construct null.
static direction n()
Return the number of columns in the block.
static const direction mRows
const Cmpt & elmt() const
Fast const element access using compile-time addressing.
static direction m()
Return the number of rows.
static const direction nCols
Abstract template class to provide the transpose form of a form.
ConstBlock< SubTensor, BRowStart, BColStart > block() const
Return a const sub-block corresponding to the specified type.
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
friend Ostream & operator(Ostream &, const VectorSpace< Form, Cmpt, Ncmpts > &)
static direction n()
Return the number of columns.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
static msType identity()
Return the identity matrix for square matrix spaces.