42 #ifndef Foam_SphericalTensor2D_H 43 #define Foam_SphericalTensor2D_H 60 public VectorSpace<SphericalTensor2D<Cmpt>, Cmpt, 1>
135 const SphericalTensor2D<Cmpt>&
T() const
noexcept {
return *
this; }
SphericalTensor2D()=default
Default construct.
SphericalTensor2D< label > labelType
Equivalent type of labels used for valid component indexing.
components
Component labeling enumeration.
const Cmpt & ii() const noexcept
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static const SphericalTensor2D oneThirdI
scalar diagSqr() const
The L2-norm squared of the diagonal.
static const SphericalTensor2D I
const SphericalTensor2D< Cmpt > & T() const noexcept
Return non-Hermitian transpose (no-op)
static constexpr direction rank
Rank of SphericalTensor2D is 2.
A template class to specify if a data type is composed solely of Foam::scalar elements.
A templated (2 x 2) diagonal tensor of objects of <T>, effectively containing 1 element, derived from VectorSpace.
A template class to specify that a data type can be considered as being contiguous in memory...
A template class to specify if a data type is composed solely of Foam::label elements.
static const SphericalTensor2D twoThirdsI
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
SphericalTensor2D & operator=(const SphericalTensor2D &)=default
Copy assignment.
Cmpt v_[Ncmpts]
The components of this vector space.