42#ifndef Foam_DiagTensor_H
43#define Foam_DiagTensor_H
101 inline DiagTensor(
const Cmpt& txx,
const Cmpt& tyy,
const Cmpt& tzz);
111 inline const Cmpt&
xx()
const;
112 inline const Cmpt&
yy()
const;
113 inline const Cmpt&
zz()
const;
A templated (3 x 3) diagonal tensor of objects of <T>, effectively containing 3 elements,...
DiagTensor & operator=(const DiagTensor &)=default
Copy assignment.
DiagTensor< label > labelType
Equivalent type of labels used for valid component indexing.
components
Component labeling enumeration.
DiagTensor()=default
Default construct.
static constexpr direction rank
Rank of DiagTensor is 2.
DiagTensor(const DiagTensor &)=default
Copy construct.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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.