58template<
class Form,
class Cmpt, direction Mrows, direction Ncols>
98 template<
class SubTensor, direction BRowStart, direction BColStart>
169 template<
class Form2>
170 inline void operator=
182 template<
class VSForm>
183 inline void operator=
215 template<
class Form2,
class Cmpt2>
224 template<
class, direction, direction>
class Block2,
230 const Block2<Form, BRowStart, BColStart>&
block
240 template<direction Row, direction Col>
241 inline const Cmpt&
elmt()
const;
244 template<direction Row, direction Col>
250 inline const Cmpt&
xx()
const;
251 inline const Cmpt&
xy()
const;
252 inline const Cmpt&
xz()
const;
253 inline const Cmpt&
yx()
const;
254 inline const Cmpt&
yy()
const;
255 inline const Cmpt&
yz()
const;
256 inline const Cmpt&
zx()
const;
257 inline const Cmpt&
zy()
const;
258 inline const Cmpt&
zz()
const;
278 template<
class SubTensor, direction BRowStart, direction BColStart>
283 template<
class SubTensor, direction BRowStart, direction BColStart>
305 template<
class, direction, direction>
class Block2,
309 inline void operator=
311 const Block2<Form, BRowStart, BColStart>&
block
315 template<
class Form2>
316 inline void operator&=
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static direction n()
The number of columns in the block.
static direction m()
The number of rows in the block.
SubTensor operator()() const
Construct and return the sub-tensor corresponding to this block.
static const direction nCols
static const direction mRows
static direction n()
Return the number of columns in the block.
static direction m()
Return the number of rows in the block.
SubTensor operator()() const
Construct and return the sub-tensor corresponding to this block.
static const direction nCols
static const direction mRows
typeOfTranspose< Cmpt, Form >::type T() const
Return the transpose of the matrix.
static constexpr direction nCols
Block< SubTensor, BRowStart, BColStart > block()
Return a sub-block corresponding to the specified type.
MatrixSpace< Form, Cmpt, Mrows, Ncols > msType
MatrixSpace type.
static direction m() noexcept
The number of rows.
static msType identity()
An identity matrix for square matrix-spaces.
const Cmpt & elmt() const
Fast const element access using compile-time addressing.
static constexpr direction mRows
ConstBlock< SubTensor, BRowStart, BColStart > block() const
Return a const sub-block corresponding to the specified type.
static direction n() noexcept
The number of columns.
MatrixSpace()=default
Default construct.
const Cmpt & operator()(const direction &i, const direction &j) const
(i, j) const element access operator
void operator=(const Foam::zero)
Assignment to zero.
friend Ostream & operator(Ostream &, const VectorSpace< Form, Cmpt, Ncmpts > &)
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
type
Volume classification types.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...