Templated matrix space. More...
Classes | |
class | Block |
class | ConstBlock |
Public Types | |
typedef MatrixSpace< Form, Cmpt, Mrows, Ncols > | msType |
![]() | |
typedef VectorSpace< Form, Cmpt, Ncmpts > | vsType |
typedef Cmpt | cmptType |
typedef Cmpt | magType |
typedef Cmpt * | iterator |
Public Member Functions | |
MatrixSpace ()=default | |
MatrixSpace (const Foam::zero) | |
template<class Form2 , class Cmpt2 > | |
MatrixSpace (const VectorSpace< Form2, Cmpt2, Mrows *Ncols > &) | |
template<template< class, direction, direction > class Block2, direction BRowStart, direction BColStart> | |
MatrixSpace (const Block2< Form, BRowStart, BColStart > &block) | |
MatrixSpace (Istream &is) | |
template<direction Row, direction Col> | |
const Cmpt & | elmt () const |
template<direction Row, direction Col> | |
Cmpt & | elmt () |
const Cmpt & | xx () const |
const Cmpt & | xy () const |
const Cmpt & | xz () const |
const Cmpt & | yx () const |
const Cmpt & | yy () const |
const Cmpt & | yz () const |
const Cmpt & | zx () const |
const Cmpt & | zy () const |
const Cmpt & | zz () const |
Cmpt & | xx () |
Cmpt & | xy () |
Cmpt & | xz () |
Cmpt & | yx () |
Cmpt & | yy () |
Cmpt & | yz () |
Cmpt & | zx () |
Cmpt & | zy () |
Cmpt & | zz () |
typeOfTranspose< Cmpt, Form >::type | T () const |
template<class SubTensor , direction BRowStart, direction BColStart> | |
ConstBlock< SubTensor, BRowStart, BColStart > | block () const |
template<class SubTensor , direction BRowStart, direction BColStart> | |
Block< SubTensor, BRowStart, BColStart > | block () |
const Cmpt & | operator() (const direction &i, const direction &j) const |
Cmpt & | operator() (const direction &i, const direction &j) |
void | operator= (const Foam::zero) |
template<template< class, direction, direction > class Block2, direction BRowStart, direction BColStart> | |
void | operator= (const Block2< Form, BRowStart, BColStart > &block) |
template<class Form2 > | |
void | operator&= (const MatrixSpace< Form, Cmpt, Ncols, Ncols > &matrix) |
template<class SubTensor , Foam::direction BRowStart, Foam::direction BColStart> | |
Foam::MatrixSpace< Form, Cmpt, Mrows, Ncols >::template ConstBlock< SubTensor, BRowStart, BColStart > | block () const |
template<class SubTensor , Foam::direction BRowStart, Foam::direction BColStart> | |
Foam::MatrixSpace< Form, Cmpt, Mrows, Ncols >::template Block< SubTensor, BRowStart, BColStart > | block () |
![]() | |
VectorSpace ()=default | |
VectorSpace (const Foam::zero) | |
VectorSpace (const VectorSpace< Form, Cmpt, Ncmpts > &vs) | |
VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &) | |
VectorSpace (Istream &is) | |
const Cmpt & | component (const direction) const |
Cmpt & | component (const direction) |
void | component (Cmpt &, const direction) const |
void | replace (const direction, const Cmpt &) |
const Cmpt * | cdata () const noexcept |
Cmpt * | data () noexcept |
const ConstBlock< SubVector, BStart > | block () const |
const Foam::VectorSpace< Form, Cmpt, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
const Cmpt & | operator[] (const direction) const |
Cmpt & | operator[] (const direction) |
void | operator= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator= (const Foam::zero) |
void | operator+= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator-= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator*= (const scalar) |
void | operator/= (const scalar) |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
Static Public Member Functions | |
static direction | m () noexcept |
static direction | n () noexcept |
static msType | identity () |
![]() | |
static constexpr direction | size () noexcept |
static Form | uniform (const Cmpt &s) |
Static Public Attributes | |
static constexpr direction | mRows = Mrows |
static constexpr direction | nCols = Ncols |
![]() | |
static constexpr direction | dim |
static constexpr direction | nComponents |
static constexpr direction | mRows |
static constexpr direction | nCols |
static const char *const | typeName |
static const char *const | componentNames [] |
static const Form | zero |
static const Form | one |
static const Form | max |
static const Form | min |
static const Form | rootMax |
static const Form | rootMin |
Additional Inherited Members | |
![]() | |
const typedef Cmpt * | const_iterator |
Cmpt | v_ [Ncmpts] |
Templated matrix space.
Template arguments are the Form the matrix space will be used to create, the type of the elements and the number of rows and columns of the matrix.
Definition at line 54 of file MatrixSpace.H.
typedef MatrixSpace<Form, Cmpt, Mrows, Ncols> msType |
Definition at line 63 of file MatrixSpace.H.
|
default |
|
inline |
Definition at line 27 of file MatrixSpaceI.H.
|
inlineexplicit |
Definition at line 38 of file MatrixSpaceI.H.
|
inline |
Definition at line 54 of file MatrixSpaceI.H.
|
inlineexplicit |
Definition at line 69 of file MatrixSpaceI.H.
|
inlinestaticnoexcept |
Definition at line 75 of file MatrixSpace.H.
|
inlinestaticnoexcept |
Definition at line 81 of file MatrixSpace.H.
|
inlinestatic |
Definition at line 263 of file MatrixSpaceI.H.
|
inline |
Definition at line 121 of file MatrixSpaceI.H.
|
inline |
Definition at line 130 of file MatrixSpaceI.H.
|
inline |
Definition at line 138 of file MatrixSpaceI.H.
Referenced by Rxyz::jcalc(), Rzyx::jcalc(), Ryxz::jcalc(), and Rs::jcalc().
|
inline |
Definition at line 152 of file MatrixSpaceI.H.
Referenced by Rxyz::jcalc(), and Ryxz::jcalc().
|
inline |
Definition at line 166 of file MatrixSpaceI.H.
Referenced by Rzyx::jcalc().
|
inline |
Definition at line 180 of file MatrixSpaceI.H.
Referenced by Rxyz::jcalc(), Rzyx::jcalc(), and Ryxz::jcalc().
|
inline |
Definition at line 194 of file MatrixSpaceI.H.
Referenced by Rxyz::jcalc(), Rzyx::jcalc(), Ryxz::jcalc(), and Rs::jcalc().
|
inline |
Definition at line 208 of file MatrixSpaceI.H.
|
inline |
Definition at line 222 of file MatrixSpaceI.H.
Referenced by Rxyz::jcalc(), Rzyx::jcalc(), and Ryxz::jcalc().
|
inline |
Definition at line 236 of file MatrixSpaceI.H.
Referenced by Rzyx::jcalc().
|
inline |
Definition at line 250 of file MatrixSpaceI.H.
Referenced by Rxyz::jcalc(), Ryxz::jcalc(), and Rs::jcalc().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 279 of file MatrixSpaceI.H.
Referenced by Foam::T().
|
inline |
Referenced by MatrixSpace< BarycentricTensor< Cmpt >, Cmpt, 4, 3 >::operator=().
Definition at line 330 of file MatrixSpaceI.H.
Referenced by MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::operator()(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::operator=(), MatrixSpace< BarycentricTensor< Cmpt >, Cmpt, 4, 3 >::operator=(), and MatrixSpace< BarycentricTensor< Cmpt >, Cmpt, 4, 3 >::T().
Definition at line 350 of file MatrixSpaceI.H.
|
inline |
Definition at line 435 of file MatrixSpaceI.H.
|
inline |
Definition at line 462 of file MatrixSpaceI.H.
|
inline |
Definition at line 446 of file MatrixSpaceI.H.
|
inline |
Definition at line 304 of file MatrixSpaceI.H.
|
inline |
Definition at line 320 of file MatrixSpaceI.H.
|
staticconstexpr |
Definition at line 68 of file MatrixSpace.H.
Referenced by MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::Block(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::ConstBlock< SubTensor, BRowStart, BColStart >::ConstBlock(), and MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::operator=().
|
staticconstexpr |
Definition at line 69 of file MatrixSpace.H.
Referenced by MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::Block(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::ConstBlock< SubTensor, BRowStart, BColStart >::ConstBlock(), and MatrixSpace< Form, Cmpt, Mrows, Ncols >::Block< SubTensor, BRowStart, BColStart >::operator=().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.