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