Go to the documentation of this file.
58 template<
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>
279 inline ConstBlock<SubTensor, BRowStart, BColStart>
block()
const;
283 template<
class SubTensor, direction BRowStart, direction BColStart>
284 inline Block<SubTensor, BRowStart, BColStart>
block();
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&=
MatrixSpace()=default
Default construct.
Creates a single block of cells from point coordinates, numbers of cells in each direction and an exp...
const Cmpt & elmt() const
Fast const element access using compile-time addressing.
Abstract template class to provide the transpose form of a form.
typeOfTranspose< Cmpt, Form >::type T() const
Return the transpose of the matrix.
static const direction nCols
static direction n()
Return the number of columns in the block.
static const direction mRows
ConstBlock(const msType &matrix)
Construct for the given matrix.
static constexpr direction mRows
static const direction nCols
void operator=(const Foam::zero)
Assignment to zero.
static constexpr direction nCols
SubTensor operator()() const
Construct and return the sub-tensor corresponding to this block.
Block(msType &matrix)
Construct for the given matrix.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
MatrixSpace< Form, Cmpt, Mrows, Ncols > msType
MatrixSpace type.
SubTensor operator()() const
Construct and return the sub-tensor corresponding to this block.
ConstBlock< SubTensor, BRowStart, BColStart > block() const
Return a const sub-block corresponding to the specified type.
static direction m()
Return the number of rows in the block.
const Cmpt & operator()(const direction &i, const direction &j) const
(i, j) const element access operator
static msType identity()
An identity matrix for square matrix-spaces.
static direction n()
The number of columns in the block.
static const direction mRows
friend Ostream & operator(Ostream &, const VectorSpace< Form, Cmpt, Ncmpts > &)
static direction m()
The number of rows in the block.
static direction m() noexcept
The number of rows.
static direction n() noexcept
The number of columns.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...