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