51#ifndef Foam_SpatialVector_H
52#define Foam_SpatialVector_H
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const SpatialVector & v() const
Return the parent SpatialVector.
dual(const SpatialVector &v)
Construct the dual of the given SpatialVector.
Templated 3D spatial vector derived from VectorSpace used to represent the anglular and linear compon...
dual operator*() const
Return the dual spatial vector.
Vector< scalar > w() const
const scalar & lz() const noexcept
SpatialVector(const Cmpt &wx, const Cmpt &wy, const Cmpt &wz, const Cmpt &lx, const Cmpt &ly, const Cmpt &lz)
Construct given 6 components.
SpatialVector(const Vector< Cmpt > &w, const Vector< Cmpt > &l)
Construct from the angular and linear vector components.
components
Component labeling enumeration.
const scalar & wz() const noexcept
SpatialVector(const typename SpatialVector::vsType &)
Construct given VectorSpace of the same rank.
SpatialVector(const Foam::zero)
Construct initialized to zero.
const scalar & ly() const noexcept
SpatialVector()=default
Default construct.
SpatialVector(Istream &)
Construct from Istream.
Vector< scalar > l() const
const scalar & wx() const noexcept
const scalar & wy() const noexcept
const scalar & lx() const noexcept
VectorSpace< SpatialVector< Cmpt >, Cmpt, Ncmpts > vsType
Cmpt v_[Ncmpts]
The components of this vector space.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
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.