55 template<
class Form,
class Cmpt, direction Mrows, direction Ncols>
94 template<
class SubTensor, direction BRowStart, direction BColStart>
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&=
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static direction n()
Return the number of columns in the block.
static direction m()
Return the number of rows in the block.
Block(msType &matrix)
Construct for the given matrix.
SubTensor operator()() const
Construct and return the sub-tensor corresponding to this block.
static const direction nCols
static const direction mRows
ConstBlock(const msType &matrix)
Construct for the given matrix.
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-ensor corresponding to this block.
static const direction nCols
static const direction mRows
typeOfTranspose< Cmpt, Form >::type T() const
Return the transpose of the matrix.
MatrixSpace()
Construct null.
MatrixSpace< Form, Cmpt, Mrows, Ncols > msType
MatrixSpace type.
static msType identityMap()
Return the identity matrix for square matrix spaces.
static direction n()
Return the number of columns.
static direction m()
Return the number of rows.
const Cmpt & elmt() const
Fast const element access using compile-time addressing.
const Cmpt & operator()(const direction &i, const direction &j) const
(i, j) const element access operator
ConstBlock< SubTensor, BRowStart, BColStart > block() const
Return a const sub-block corresponding to the specified type.
static const direction nCols
static const direction mRows
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...
Abstract template class to provide the transpose form of a form.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...