39 #ifndef Foam_Barycentric_H 40 #define Foam_Barycentric_H 98 inline Barycentric(
const Cmpt& va,
const Cmpt& vb,
const Cmpt& vc);
135 struct is_contiguous_scalar<Barycentric<Cmpt>> : is_contiguous_scalar<Cmpt> {};
const Cmpt & b() const noexcept
const Cmpt & c() const noexcept
Barycentric< label > labelType
Equivalent type of labels used for valid component indexing.
components
Component labeling enumeration.
static constexpr direction rank
Rank of Barycentric is 1.
const Cmpt & d() const noexcept
Templated 3D Barycentric derived from VectorSpace. Has 4 components, one of which is redundant...
Barycentric()=default
Default construct.
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.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
const Cmpt & a() const noexcept
Cmpt inner(const Barycentric< Cmpt > &b2) const
Scalar-product of this with another Barycentric.
Cmpt v_[Ncmpts]
The components of this vector space.