42 #ifndef Foam_SphericalTensor2D_H 43 #define Foam_SphericalTensor2D_H 60 public VectorSpace<SphericalTensor2D<Cmpt>, Cmpt, 1>
131 struct is_contiguous<SphericalTensor2D<Cmpt>> : is_contiguous<Cmpt> {};
135 struct is_contiguous_label<SphericalTensor2D<Cmpt>>
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
static const SphericalTensor2D I
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 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.