Go to the documentation of this file.
58 template<
class Form,
class Cmpt, direction Mrows, direction Ncols>
97 template<
class SubTensor, direction BRowStart, direction BColStart>
168 template<
class Form2>
169 inline void operator=
181 template<
class VSForm>
182 inline void operator=
211 template<
class Form2,
class Cmpt2>
220 template<
class, direction, direction>
class Block2,
226 const Block2<Form, BRowStart, BColStart>&
block
236 template<direction Row, direction Col>
237 inline const Cmpt&
elmt()
const;
240 template<direction Row, direction Col>
246 inline const Cmpt&
xx()
const;
247 inline const Cmpt&
xy()
const;
248 inline const Cmpt&
xz()
const;
249 inline const Cmpt&
yx()
const;
250 inline const Cmpt&
yy()
const;
251 inline const Cmpt&
yz()
const;
252 inline const Cmpt&
zx()
const;
253 inline const Cmpt&
zy()
const;
254 inline const Cmpt&
zz()
const;
274 template<
class SubTensor, direction BRowStart, direction BColStart>
275 inline ConstBlock<SubTensor, BRowStart, BColStart>
block()
const;
279 template<
class SubTensor, direction BRowStart, direction BColStart>
280 inline Block<SubTensor, BRowStart, BColStart>
block();
301 template<
class, direction, direction>
class Block2,
305 inline void operator=
307 const Block2<Form, BRowStart, BColStart>&
block
311 template<
class Form2>
312 inline void operator&=
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()
Return the identity matrix for square matrix spaces.
MatrixSpace()
Construct null.
static direction n()
Return the number of columns in the block.
static const direction mRows
friend Ostream & operator(Ostream &, const VectorSpace< Form, Cmpt, Ncmpts > &)
static direction m()
Return the number of rows in the block.
static direction m() noexcept
Return the number of rows.
static direction n() noexcept
Return the number of columns.
A class representing the concept of 0 (zero), which can be used to avoid manipulating objects that ar...