|
| | CompactSpatialTensorT ()=default |
| | Default construct. More...
|
| |
| | CompactSpatialTensorT (const Foam::zero) |
| |
| | CompactSpatialTensorT (const typename CompactSpatialTensorT::msType &) |
| | Construct given MatrixSpace of the same rank. More...
|
| |
| | CompactSpatialTensorT (const Cmpt &t00, const Cmpt &t01, const Cmpt &t02, const Cmpt &t10, const Cmpt &t11, const Cmpt &t12, const Cmpt &t20, const Cmpt &t21, const Cmpt &t22, const Cmpt &t30, const Cmpt &t31, const Cmpt &t32, const Cmpt &t40, const Cmpt &t41, const Cmpt &t42, const Cmpt &t50, const Cmpt &t51, const Cmpt &t52) |
| | Construct given 18 components. More...
|
| |
| | CompactSpatialTensorT (Istream &) |
| | Construct from Istream. More...
|
| |
| | MatrixSpace ()=default |
| | Default construct. More...
|
| |
| | MatrixSpace (Foam::zero) |
| | Construct initialized to zero. More...
|
| |
| | MatrixSpace (const VectorSpace< Form2, Cmpt2, Mrows *Ncols > &) |
| | Construct as copy of a VectorSpace with the same size. More...
|
| |
| | MatrixSpace (const Block2< CompactSpatialTensorT< Cmpt >, BRowStart, BColStart > &block) |
| | Construct from a block of another matrix space. More...
|
| |
| | MatrixSpace (Istream &is) |
| | Construct from Istream. More...
|
| |
| const Cmpt & | elmt () const noexcept |
| | Fast const element access using compile-time addressing. More...
|
| |
| Cmpt & | elmt () noexcept |
| | Fast element access using compile-time addressing. More...
|
| |
| const Cmpt & | xx () const noexcept |
| |
| Cmpt & | xx () noexcept |
| |
| const Cmpt & | xy () const noexcept |
| |
| Cmpt & | xy () noexcept |
| |
| const Cmpt & | xz () const noexcept |
| |
| Cmpt & | xz () noexcept |
| |
| const Cmpt & | yx () const noexcept |
| |
| Cmpt & | yx () noexcept |
| |
| const Cmpt & | yy () const noexcept |
| |
| Cmpt & | yy () noexcept |
| |
| const Cmpt & | yz () const noexcept |
| |
| Cmpt & | yz () noexcept |
| |
| const Cmpt & | zx () const noexcept |
| |
| Cmpt & | zx () noexcept |
| |
| const Cmpt & | zy () const noexcept |
| |
| Cmpt & | zy () noexcept |
| |
| const Cmpt & | zz () const noexcept |
| |
| Cmpt & | zz () noexcept |
| |
| typeOfTranspose< Cmpt, CompactSpatialTensorT< Cmpt > >::type | T () const |
| | Return the transpose of the matrix. More...
|
| |
| ConstBlock< SubTensor, BRowStart, BColStart > | block () const |
| | Return a const sub-block corresponding to the specified type. More...
|
| |
| Block< SubTensor, BRowStart, BColStart > | block () |
| | Return a sub-block corresponding to the specified type. More...
|
| |
| Foam::MatrixSpace< CompactSpatialTensorT< Cmpt >, Cmpt, Mrows, Ncols >::template ConstBlock< SubTensor, BRowStart, BColStart > | block () const |
| |
| Foam::MatrixSpace< CompactSpatialTensorT< Cmpt >, Cmpt, Mrows, Ncols >::template Block< SubTensor, BRowStart, BColStart > | block () |
| |
| const Cmpt & | operator() (const direction i, const direction j) const |
| | (i, j) const element access operator More...
|
| |
| Cmpt & | operator() (const direction i, const direction j) |
| | (i, j) element access operator More...
|
| |
| void | operator= (Foam::zero) |
| | Assignment to zero. More...
|
| |
| void | operator= (const Block2< CompactSpatialTensorT< Cmpt >, BRowStart, BColStart > &block) |
| | Assignment to a block of another matrix space. More...
|
| |
| void | operator&= (const MatrixSpace< CompactSpatialTensorT< Cmpt >, Cmpt, Ncols, Ncols > &matrix) |
| | Inner product with a compatible square matrix. More...
|
| |
| | VectorSpace ()=default |
| | Default construct. More...
|
| |
| | VectorSpace (Foam::zero) |
| | Construct initialized to zero. More...
|
| |
| | VectorSpace (const VectorSpace< CompactSpatialTensorT< Cmpt >, Cmpt, Ncmpts > &vs) |
| | Copy construct. More...
|
| |
| | VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &) |
| | Copy construct of a VectorSpace with the same size. More...
|
| |
| | VectorSpace (Istream &is) |
| | Construct from Istream. More...
|
| |
| 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 |
| | Return const pointer to the first data element. More...
|
| |
| Cmpt * | data () noexcept |
| | Return pointer to the first data element. More...
|
| |
| void | fill (const Cmpt &s) |
| | Assign all components to given value. More...
|
| |
| const ConstBlock< SubVector, BStart > | block () const |
| |
| const Foam::VectorSpace< CompactSpatialTensorT< Cmpt >, Cmpt, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
| |
| const Cmpt & | operator[] (const direction) const |
| |
| Cmpt & | operator[] (const direction) |
| |
| void | operator= (const VectorSpace< CompactSpatialTensorT< Cmpt >, Cmpt, Ncmpts > &) |
| |
| void | operator= (const VectorSpace< Form2, Cmpt2, Ncmpts > &) |
| | Copy assign from a VectorSpace with the same size. More...
|
| |
| void | operator= (Foam::zero) |
| |
| void | operator+= (const VectorSpace< CompactSpatialTensorT< Cmpt >, Cmpt, Ncmpts > &) |
| |
| void | operator-= (const VectorSpace< CompactSpatialTensorT< Cmpt >, Cmpt, Ncmpts > &) |
| |
| void | operator*= (const scalar) |
| |
| void | operator/= (const scalar) |
| |
| iterator | begin () noexcept |
| | Return an iterator (pointer) to begin of VectorSpace. More...
|
| |
| const_iterator | begin () const noexcept |
| | Return const_iterator (const pointer) to begin of VectorSpace. More...
|
| |
| const_iterator | cbegin () const noexcept |
| | Return const_iterator (const pointer) to begin of VectorSpace. More...
|
| |
| iterator | end () noexcept |
| | Return an iterator (pointer) to end of VectorSpace. More...
|
| |
| const_iterator | end () const noexcept |
| | Return const_iterator (const pointer) to end of VectorSpace. More...
|
| |
| const_iterator | cend () const noexcept |
| | Return const_iterator (const pointer) to end of VectorSpace. More...
|
| |
template<class Cmpt>
class Foam::CompactSpatialTensorT< Cmpt >
Templated 3D transposed compact spatial tensor derived from MatrixSpace used to represent transformations of spatial vectors of rigid bodies.
Reference:
Featherstone, R. (2008).
Rigid body dynamics algorithms.
Springer.
- Source files
-
- See also
- Foam::MatrixSpace Foam::CompactSpatialTensor
Definition at line 60 of file CompactSpatialTensorT.H.