51 #ifndef Foam_SpatialVector_H 52 #define Foam_SpatialVector_H 170 struct is_contiguous_label<SpatialVector<Cmpt>>
172 is_contiguous_label<Cmpt>
177 struct is_contiguous_scalar<SpatialVector<Cmpt>>
179 is_contiguous_scalar<Cmpt>
const Cmpt & wx() const noexcept
components
Component labeling enumeration.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const Cmpt & wy() const noexcept
const Cmpt & wz() const noexcept
dual operator*() const
Return the dual spatial vector.
Class to represent the dual spatial vector.
const Cmpt & lz() const noexcept
const Cmpt & lx() const noexcept
const SpatialVector & v() const
Return the parent SpatialVector.
dual(const SpatialVector &v)
Construct the dual of the given SpatialVector.
Vector< Cmpt > l() const
Return the linear part of the spatial vector as a vector.
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.
SpatialVector()=default
Default construct.
Templated 3D spatial vector derived from VectorSpace used to represent the anglular and linear compon...
Vector< Cmpt > w() const
Return the angular part of the spatial vector as a vector.
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 ...
const Cmpt & ly() const noexcept
Cmpt v_[Ncmpts]
The components of this vector space.