A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace. More...
Public Types | |
enum | components { XX , XY , XZ , YX , YY , YZ , ZX , ZY , ZZ } |
Component labeling enumeration. More... | |
typedef Tensor< label > | labelType |
Equivalent type of labels used for valid component indexing. More... | |
Public Types inherited from MatrixSpace< Tensor< Cmpt >, Cmpt, 3, 3 > | |
typedef MatrixSpace< Tensor< Cmpt >, Cmpt, Mrows, Ncols > | msType |
MatrixSpace type. More... | |
Public Types inherited from VectorSpace< Form, Cmpt, Ncmpts > | |
typedef VectorSpace< Form, Cmpt, Ncmpts > | vsType |
VectorSpace type. More... | |
typedef Cmpt | cmptType |
Component type. More... | |
typedef Cmpt | magType |
Magnitude type. More... | |
typedef Cmpt * | iterator |
Random access iterator for traversing VectorSpace. More... | |
typedef const Cmpt * | const_iterator |
Random access iterator for traversing VectorSpace. More... | |
Public Member Functions | |
Tensor ()=default | |
Default construct. More... | |
Tensor (const Tensor &)=default | |
Copy construct. More... | |
Tensor & | operator= (const Tensor &)=default |
Copy assignment. More... | |
Tensor (const Foam::zero) | |
Construct initialized to zero. More... | |
template<class Cmpt2 > | |
Tensor (const MatrixSpace< Tensor< Cmpt2 >, Cmpt2, 3, 3 > &vs) | |
Construct given MatrixSpace of the same rank. More... | |
template<class Cmpt2 > | |
Tensor (const VectorSpace< Tensor< Cmpt2 >, Cmpt2, 9 > &vs) | |
Construct given VectorSpace of the same rank. More... | |
Tensor (const SphericalTensor< Cmpt > &st) | |
Construct given SphericalTensor. More... | |
Tensor (const SymmTensor< Cmpt > &st) | |
Construct given SymmTensor. More... | |
Tensor (const Vector< Vector< Cmpt > > &vecs, const bool transposed=false) | |
Tensor (const Vector< Cmpt > &x, const Vector< Cmpt > &y, const Vector< Cmpt > &z, const bool transposed=false) | |
Tensor (const Cmpt txx, const Cmpt txy, const Cmpt txz, const Cmpt tyx, const Cmpt tyy, const Cmpt tyz, const Cmpt tzx, const Cmpt tzy, const Cmpt tzz) | |
Construct given the nine components. More... | |
template<template< class, direction, direction > class Block2, direction BRowStart, direction BColStart> | |
Tensor (const Block2< Tensor< Cmpt >, BRowStart, BColStart > &block) | |
Construct from a block of another matrix space. More... | |
Tensor (Istream &is) | |
Construct from Istream. More... | |
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 () |
Vector< Cmpt > | cx () const |
Extract vector for column 0. More... | |
Vector< Cmpt > | cy () const |
Extract vector for column 1. More... | |
Vector< Cmpt > | cz () const |
Extract vector for column 2. More... | |
template<direction Idx> | |
Vector< Cmpt > | col () const |
Extract vector for given column: compile-time check of index. More... | |
Vector< Cmpt > | col (const direction c) const |
Extract vector for given column (0,1,2): runtime check of index. More... | |
template<direction Idx> | |
void | col (const Vector< Cmpt > &v) |
Set values of given column: compile-time check of index. More... | |
void | col (const direction c, const Vector< Cmpt > &v) |
Set values of given column (0,1,2): runtime check of index. More... | |
void | cols (const Vector< Cmpt > &x, const Vector< Cmpt > &y, const Vector< Cmpt > &z) |
Set column values. More... | |
Vector< Cmpt > | x () const |
Extract vector for row 0. More... | |
Vector< Cmpt > | y () const |
Extract vector for row 1. More... | |
Vector< Cmpt > | z () const |
Extract vector for row 2. More... | |
template<direction Idx> | |
Vector< Cmpt > | row () const |
Extract vector for given row: compile-time check of index. More... | |
Vector< Cmpt > | row (const direction r) const |
Extract vector for given row (0,1,2): runtime check of index. More... | |
template<direction Idx> | |
void | row (const Vector< Cmpt > &v) |
Set values of given row: compile-time check of index. More... | |
void | row (const direction r, const Vector< Cmpt > &v) |
Set values of given row (0,1,2): runtime check of row. More... | |
void | rows (const Vector< Cmpt > &x, const Vector< Cmpt > &y, const Vector< Cmpt > &z) |
Set row values. More... | |
Vector< Cmpt > | diag () const |
Extract the diagonal as a vector. More... | |
void | diag (const Vector< Cmpt > &v) |
Set values of the diagonal. More... | |
bool | is_identity (const scalar tol=ROOTVSMALL) const |
Is identity tensor? More... | |
Tensor< Cmpt > | T () const |
Return non-Hermitian transpose. More... | |
Tensor< Cmpt > | inv () const |
Return inverse. More... | |
Tensor< Cmpt > | inner (const Tensor< Cmpt > &t2) const |
Inner-product of this with another Tensor. More... | |
Tensor< Cmpt > | schur (const Tensor< Cmpt > &t2) const |
Schur-product of this with another Tensor. More... | |
void | operator&= (const Tensor< Cmpt > &t) |
Assign inner-product of this with another Tensor. More... | |
template<class Cmpt2 > | |
void | operator= (const VectorSpace< Tensor< Cmpt2 >, Cmpt2, 9 > &) |
Assign to an equivalent vector space. More... | |
void | operator= (const SphericalTensor< Cmpt > &) |
Assign to a SphericalTensor. More... | |
void | operator= (const SymmTensor< Cmpt > &) |
Assign to a SymmTensor. More... | |
void | operator= (const Vector< Vector< Cmpt > > &) |
Assign to a triad of row vectors. More... | |
Vector< Cmpt > | vectorComponent (const direction cmpt) const |
Deprecated(2018-12) Return vector for given row (0,1) More... | |
const Foam::Tensor< float > | I (1, 0, 0, 0, 1, 0, 0, 0, 1) |
const Foam::Tensor< double > | I (1, 0, 0, 0, 1, 0, 0, 0, 1) |
template<Foam::direction Idx> | |
Foam::Vector< Cmpt > | col () const |
template<Foam::direction Idx> | |
Foam::Vector< Cmpt > | row () const |
Public Member Functions inherited from MatrixSpace< Tensor< Cmpt >, Cmpt, 3, 3 > | |
MatrixSpace ()=default | |
Default construct. More... | |
MatrixSpace (const 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< Tensor< Cmpt >, BRowStart, BColStart > &block) | |
Construct from a block of another matrix space. More... | |
MatrixSpace (Istream &is) | |
Construct from Istream. More... | |
const Cmpt & | elmt () const |
Fast const element access using compile-time addressing. More... | |
Cmpt & | elmt () |
Fast element access using compile-time addressing. More... | |
const Cmpt & | xx () const |
Cmpt & | xx () |
const Cmpt & | xy () const |
Cmpt & | xy () |
const Cmpt & | xz () const |
Cmpt & | xz () |
const Cmpt & | yx () const |
Cmpt & | yx () |
const Cmpt & | yy () const |
Cmpt & | yy () |
const Cmpt & | yz () const |
Cmpt & | yz () |
const Cmpt & | zx () const |
Cmpt & | zx () |
const Cmpt & | zy () const |
Cmpt & | zy () |
const Cmpt & | zz () const |
Cmpt & | zz () |
typeOfTranspose< Cmpt, Tensor< 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< Tensor< Cmpt >, Cmpt, Mrows, Ncols >::template ConstBlock< SubTensor, BRowStart, BColStart > | block () const |
Foam::MatrixSpace< Tensor< 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= (const Foam::zero) |
Assignment to zero. More... | |
void | operator= (const Block2< Tensor< Cmpt >, BRowStart, BColStart > &block) |
Assignment to a block of another matrix space. More... | |
void | operator&= (const MatrixSpace< Tensor< Cmpt >, Cmpt, Ncols, Ncols > &matrix) |
Inner product with a compatible square matrix. More... | |
Public Member Functions inherited from VectorSpace< Form, Cmpt, Ncmpts > | |
VectorSpace ()=default | |
Default construct. More... | |
VectorSpace (const Foam::zero) | |
Construct initialized to zero. More... | |
VectorSpace (const VectorSpace< Form, Cmpt, Ncmpts > &vs) | |
Copy construct. More... | |
template<class Form2 , class Cmpt2 > | |
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... | |
template<class SubVector , direction BStart> | |
const 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 VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator-= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
void | operator= (const Foam::zero) |
void | operator*= (const scalar) |
void | operator/= (const scalar) |
iterator | begin () noexcept |
Return an iterator to begin of VectorSpace. More... | |
iterator | end () noexcept |
Return an iterator to end of VectorSpace. More... | |
const_iterator | cbegin () const noexcept |
Return const_iterator to begin of VectorSpace. More... | |
const_iterator | cend () const noexcept |
Return const_iterator to end of VectorSpace. More... | |
const_iterator | begin () const noexcept |
Return const_iterator to begin of VectorSpace. More... | |
const_iterator | end () const noexcept |
Return const_iterator to end of VectorSpace. More... | |
template<class SubVector , Foam::direction BStart> | |
const Foam::VectorSpace< Form, Cmpt, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
Static Public Attributes | |
static constexpr direction | rank = 2 |
Rank of Tensor is 2. More... | |
static const Tensor | I |
Static Public Attributes inherited from MatrixSpace< Tensor< Cmpt >, Cmpt, 3, 3 > | |
static constexpr direction | mRows |
static constexpr direction | nCols |
Static Public Attributes inherited from VectorSpace< Form, Cmpt, Ncmpts > | |
static constexpr direction | dim = 3 |
Dimensionality of space. More... | |
static constexpr direction | nComponents = Ncmpts |
Number of components in this vector space. More... | |
static constexpr direction | mRows = Ncmpts |
static constexpr direction | nCols = 1 |
static const char *const | typeName = "diagTensor" |
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 | |
Static Public Member Functions inherited from MatrixSpace< Tensor< Cmpt >, Cmpt, 3, 3 > | |
static direction | m () noexcept |
The number of rows. More... | |
static direction | n () noexcept |
The number of columns. More... | |
static msType | identity () |
An identity matrix for square matrix-spaces. More... | |
Static Public Member Functions inherited from VectorSpace< Form, Cmpt, Ncmpts > | |
static constexpr direction | size () noexcept |
The number of elements in the VectorSpace = Ncmpts. More... | |
static Form | uniform (const Cmpt &s) |
Return a VectorSpace with all elements = s. More... | |
Public Attributes inherited from VectorSpace< Form, Cmpt, Ncmpts > | |
Cmpt | v_ [Ncmpts] |
The components of this vector space. More... | |
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
enum components |
|
default |
Default construct.
|
inline |
|
inline |
Construct given MatrixSpace of the same rank.
|
inline |
Construct given VectorSpace of the same rank.
|
inline |
Construct given SphericalTensor.
Definition at line 65 of file TensorI.H.
References SphericalTensor< Cmpt >::ii(), and Foam::Zero.
|
inline |
Construct given SymmTensor.
Definition at line 74 of file TensorI.H.
References SymmTensor< Cmpt >::xx(), SymmTensor< Cmpt >::xy(), SymmTensor< Cmpt >::xz(), SymmTensor< Cmpt >::yy(), SymmTensor< Cmpt >::yz(), and SymmTensor< Cmpt >::zz().
|
inline |
|
inline |
Definition at line 153 of file TensorI.H.
Referenced by DarcyForchheimer::calcTransformModelData(), fixedCoeff::calcTransformModelData(), Foam::cof(), Foam::det(), Foam::diag(), Tensor< Cmpt >::inner(), Foam::invariantII(), Foam::invTransform(), momentOfInertia::massPropertiesSolid(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), quaternion::quaternion(), Tensor< Cmpt >::schur(), SpatialTensor< Cmpt >::SpatialTensor(), Foam::symm(), Foam::tr(), Foam::transform(), Foam::transformPrincipal_vector(), and Foam::twoSymm().
|
inline |
Definition at line 160 of file TensorI.H.
Referenced by Foam::cof(), Foam::det(), Tensor< Cmpt >::inner(), Foam::invariantII(), Foam::invTransform(), momentOfInertia::massPropertiesSolid(), Foam::operator&(), Foam::operator&&(), Foam::operator*(), Foam::operator+(), Foam::operator-(), Foam::operator/(), quaternion::quaternion(), Tensor< Cmpt >::schur(), Foam::skew(), SpatialTensor< Cmpt >::SpatialTensor(), Foam::symm(), Foam::transform(), Foam::transformPrincipal_vector(), and Foam::twoSymm().
|
inline |
Definition at line 167 of file TensorI.H.
Referenced by Foam::cof(), Foam::det(), Tensor< Cmpt >::inner(), Foam::invariantII(), Foam::invTransform(), momentOfInertia::massPropertiesSolid(), Foam::operator&(), Foam::operator&&(), Foam::operator*(), Foam::operator+(), Foam::operator-(), Foam::operator/(), quaternion::quaternion(), Tensor< Cmpt >::schur(), Foam::skew(), SpatialTensor< Cmpt >::SpatialTensor(), Foam::symm(), Foam::transform(), Foam::transformPrincipal_vector(), and Foam::twoSymm().
|
inline |
Definition at line 174 of file TensorI.H.
Referenced by Foam::cof(), Foam::det(), Tensor< Cmpt >::inner(), Foam::invariantII(), Foam::invTransform(), momentOfInertia::massPropertiesSolid(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), quaternion::quaternion(), Tensor< Cmpt >::schur(), Foam::skew(), SpatialTensor< Cmpt >::SpatialTensor(), Foam::symm(), Foam::transform(), Foam::transformPrincipal_vector(), and Foam::twoSymm().
|
inline |
Definition at line 181 of file TensorI.H.
Referenced by DarcyForchheimer::calcTransformModelData(), fixedCoeff::calcTransformModelData(), Foam::cof(), Foam::det(), Foam::diag(), Tensor< Cmpt >::inner(), Foam::invariantII(), Foam::invTransform(), momentOfInertia::massPropertiesSolid(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), quaternion::quaternion(), Tensor< Cmpt >::schur(), SpatialTensor< Cmpt >::SpatialTensor(), Foam::symm(), Foam::tr(), Foam::transform(), Foam::transformPrincipal_vector(), and Foam::twoSymm().
|
inline |
Definition at line 188 of file TensorI.H.
Referenced by Foam::cof(), Foam::det(), Tensor< Cmpt >::inner(), Foam::invariantII(), Foam::invTransform(), momentOfInertia::massPropertiesSolid(), Foam::operator&(), Foam::operator&&(), Foam::operator*(), Foam::operator+(), Foam::operator-(), Foam::operator/(), quaternion::quaternion(), Tensor< Cmpt >::schur(), Foam::skew(), SpatialTensor< Cmpt >::SpatialTensor(), Foam::symm(), Foam::transform(), Foam::transformPrincipal_vector(), and Foam::twoSymm().
|
inline |
Definition at line 195 of file TensorI.H.
Referenced by Foam::cof(), Foam::det(), Tensor< Cmpt >::inner(), Foam::invariantII(), Foam::invTransform(), momentOfInertia::massPropertiesSolid(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), quaternion::quaternion(), Tensor< Cmpt >::schur(), Foam::skew(), SpatialTensor< Cmpt >::SpatialTensor(), Foam::symm(), Foam::transform(), Foam::transformPrincipal_vector(), and Foam::twoSymm().
|
inline |
Definition at line 202 of file TensorI.H.
Referenced by Foam::cof(), Foam::det(), Tensor< Cmpt >::inner(), Foam::invariantII(), Foam::invTransform(), momentOfInertia::massPropertiesSolid(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), quaternion::quaternion(), Tensor< Cmpt >::schur(), Foam::skew(), SpatialTensor< Cmpt >::SpatialTensor(), Foam::symm(), Foam::transform(), Foam::transformPrincipal_vector(), and Foam::twoSymm().
|
inline |
Definition at line 209 of file TensorI.H.
Referenced by DarcyForchheimer::calcTransformModelData(), fixedCoeff::calcTransformModelData(), Foam::cof(), Foam::det(), Foam::diag(), Tensor< Cmpt >::inner(), Foam::invariantII(), Foam::invTransform(), momentOfInertia::massPropertiesSolid(), Foam::operator&(), Foam::operator&&(), Foam::operator+(), Foam::operator-(), Foam::operator/(), quaternion::quaternion(), Tensor< Cmpt >::schur(), SpatialTensor< Cmpt >::SpatialTensor(), Foam::symm(), Foam::tr(), Foam::transform(), Foam::transformPrincipal_vector(), and Foam::twoSymm().
|
inline |
Extract vector for column 0.
Definition at line 300 of file TensorI.H.
Referenced by lumpedPointState::writeVTP().
|
inline |
Extract vector for column 1.
Definition at line 307 of file TensorI.H.
Referenced by lumpedPointState::writeVTP().
|
inline |
|
inline |
Extract vector for given column: compile-time check of index.
Referenced by cylindrical::R(), and axes::rotation().
|
inline |
Extract vector for given column (0,1,2): runtime check of index.
Definition at line 334 of file TensorI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::Zero.
|
inline |
Set values of given column: compile-time check of index.
Definition at line 382 of file TensorI.H.
References Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
Set values of given column (0,1,2): runtime check of index.
Definition at line 457 of file TensorI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Set column values.
Definition at line 429 of file TensorI.H.
References x, Vector< Cmpt >::x(), y, Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
inline |
Extract vector for row 0.
Definition at line 279 of file TensorI.H.
Referenced by triad::operator=(), and triad::triad().
|
inline |
Extract vector for row 1.
Definition at line 286 of file TensorI.H.
Referenced by triad::operator=(), and triad::triad().
|
inline |
Extract vector for row 2.
Definition at line 293 of file TensorI.H.
Referenced by triad::operator=(), and triad::triad().
|
inline |
Extract vector for given row: compile-time check of index.
|
inline |
Extract vector for given row (0,1,2): runtime check of index.
Definition at line 364 of file TensorI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, x, y, and Foam::Zero.
|
inline |
Set values of given row: compile-time check of index.
Definition at line 409 of file TensorI.H.
References Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
Set values of given row (0,1,2): runtime check of row.
Definition at line 476 of file TensorI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Set row values.
Definition at line 443 of file TensorI.H.
References x, Vector< Cmpt >::x(), y, Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
inline |
|
inline |
Set values of the diagonal.
Definition at line 502 of file TensorI.H.
References Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
inline |
Is identity tensor?
Definition at line 509 of file TensorI.H.
References Foam::mag().
|
inline |
Return non-Hermitian transpose.
Definition at line 526 of file TensorI.H.
Referenced by edgeInterpolationScheme< scalar >::euclidianInterpolate(), triangle< Point, PointRef >::inertia(), edgeInterpolationScheme< Type >::interpolate(), edgeInterpolationScheme< scalar >::interpolate(), Moment< Type >::Moment(), and Foam::RBD::transform().
|
inline |
Return inverse.
Return the inverse of this Tensor.
Definition at line 782 of file TensorI.H.
References Foam::inv().
|
inline |
Inner-product of this with another Tensor.
Definition at line 539 of file TensorI.H.
References Tensor< Cmpt >::xx(), Tensor< Cmpt >::xy(), Tensor< Cmpt >::xz(), Tensor< Cmpt >::yx(), Tensor< Cmpt >::yy(), Tensor< Cmpt >::yz(), Tensor< Cmpt >::zx(), Tensor< Cmpt >::zy(), and Tensor< Cmpt >::zz().
Referenced by Foam::operator&().
|
inline |
Schur-product of this with another Tensor.
Definition at line 562 of file TensorI.H.
References Tensor< Cmpt >::xx(), Tensor< Cmpt >::xy(), Tensor< Cmpt >::xz(), Tensor< Cmpt >::yx(), Tensor< Cmpt >::yy(), Tensor< Cmpt >::yz(), Tensor< Cmpt >::zx(), Tensor< Cmpt >::zy(), and Tensor< Cmpt >::zz().
|
inline |
|
inline |
Assign to a SphericalTensor.
Definition at line 596 of file TensorI.H.
References SphericalTensor< Cmpt >::ii(), and Foam::Zero.
|
inline |
Assign to a SymmTensor.
Definition at line 605 of file TensorI.H.
References SymmTensor< Cmpt >::xx(), SymmTensor< Cmpt >::xy(), SymmTensor< Cmpt >::xz(), SymmTensor< Cmpt >::yy(), SymmTensor< Cmpt >::yz(), and SymmTensor< Cmpt >::zz().
Assign to a triad of row vectors.
Definition at line 614 of file TensorI.H.
References Foam::tr().
Deprecated(2018-12) Return vector for given row (0,1)
const Foam::Tensor< float > I | ( | 1 | , |
0 | , | ||
0 | , | ||
0 | , | ||
1 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
1 | |||
) |
const Foam::Tensor< double > I | ( | 1 | , |
0 | , | ||
0 | , | ||
0 | , | ||
1 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
1 | |||
) |
|
inline |
Definition at line 322 of file TensorI.H.
References Foam::Zero.
|
inline |
Definition at line 352 of file TensorI.H.
References x, y, and Foam::Zero.
|
staticconstexpr |
|
static |