Go to the documentation of this file.
104 template<
class Cmpt2>
113 const Cmpt txx,
const Cmpt txy,
const Cmpt txz,
114 const Cmpt tyy,
const Cmpt tyz,
126 inline const Cmpt&
xx()
const;
127 inline const Cmpt&
xy()
const;
128 inline const Cmpt&
xz()
const;
129 inline const Cmpt&
yx()
const;
130 inline const Cmpt&
yy()
const;
131 inline const Cmpt&
yz()
const;
132 inline const Cmpt&
zx()
const;
133 inline const Cmpt&
zy()
const;
134 inline const Cmpt&
zz()
const;
components
Component labeling enumeration.
A templated (3 x 3) symmetric tensor of objects of <T>, effectively containing 6 elements,...
const SymmTensor< Cmpt > & T() const
Return non-Hermitian transpose.
The extended precision type (solveScalar for float)
SymmTensor()=default
Default construct.
static constexpr direction rank
Rank of SymmTensor is 2.
A template class to specify if a data type is composed solely of Foam::label elements.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static const SymmTensor I
A templated (3 x 3) diagonal tensor of objects of <T>, effectively containing 1 element,...
A template class to specify if a data type is composed solely of Foam::scalar elements.
SymmTensor< label > labelType
Equivalent type of labels used for valid component indexing.
Vector< Cmpt > diag() const
Extract the diagonal as a vector.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
SymmTensor & operator=(const SymmTensor &)=default
Copy assignment.
SymmTensor< solveScalar > type
friend Ostream & operator(Ostream &, const VectorSpace< Form, Cmpt, Ncmpts > &)
A template class to specify that a data type can be considered as being contiguous in memory.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...