40 #ifndef Foam_BarycentricTensor_H 41 #define Foam_BarycentricTensor_H 59 public MatrixSpace<BarycentricTensor<Cmpt>, Cmpt, 4, 3>
77 enum components {
XA,
XB,
XC,
XD,
YA,
YB,
YC,
YD,
ZA,
ZB,
ZC,
ZD };
161 struct is_contiguous_label<BarycentricTensor<Cmpt>>
163 is_contiguous_label<Cmpt>
168 struct is_contiguous_scalar<BarycentricTensor<Cmpt>>
170 is_contiguous_scalar<Cmpt>
const Cmpt & yb() const noexcept
Vector< Cmpt > inner(const Barycentric< Cmpt > &bry) const
Tensor/barycentric inner product.
Barycentric< Cmpt > x() const
const Cmpt & yd() const noexcept
const Cmpt & ya() const noexcept
static constexpr direction rank
Rank of BarycentricTensor is 2.
const Cmpt & zc() const noexcept
Barycentric< Cmpt > z() const
const Cmpt & xb() const noexcept
components
Component labeling enumeration.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
const Cmpt & xd() const noexcept
Barycentric< Cmpt > y() const
const Cmpt & yc() const noexcept
BarycentricTensor< label > labelType
Equivalent type of labels used for valid component indexing (unused)
const Cmpt & za() const noexcept
Abstract template class to provide the transpose form of a form.
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross-product operators.
const Cmpt & xa() const noexcept
Templated 3D Barycentric derived from VectorSpace. Has 4 components, one of which is redundant...
BarycentricTensor()=default
Default construct.
A template class to specify that a data type can be considered as being contiguous in memory...
Templated 4x3 tensor derived from VectorSpace. Has 12 components. Can represent a barycentric transfo...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
const Cmpt & zd() const noexcept
const Cmpt & zb() const noexcept
Cmpt v_[Ncmpts]
The components of this vector space.
const Cmpt & xc() const noexcept