59inline Ostream&
operator<<(Ostream&,
const triad&);
107 inline bool set()
const;
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
const vector & z() const
Access to the vector z component.
const vector & y() const
Access to the vector y component.
const vector & x() const
Access to the vector x component.
Quaternion class used to perform rotations in 3D space.
Representation of a 3D Cartesian coordinate system as a Vector of row vectors.
void align(const vector &v)
Align this triad with the given vector v.
bool set() const
Are all the vector set.
vector cz() const
Extract vector for column 2.
void operator=(const Vector< vector > &vv)
friend Ostream & operator<<(Ostream &, const triad &)
static direction primaryDirection(const vector &v)
Return the primary direction of the vector v.
triad T() const
Return transpose.
triad()
Default construct.
triad sortxyz() const
Sort the axes such that they are closest to the x, y and z axes.
friend Istream & operator>>(Istream &, triad &)
vector cy() const
Extract vector for column 1.
vector cx() const
Extract vector for column 0.
void normalize()
Same as normalise.
void normalise()
Normalise each set axis vector to have a unit magnitude.
void operator+=(const triad &t2)
Add the triad t2 to this triad.
void orthogonalise()
Inplace orthogonalise so that it is ortho-normal.
void orthogonalize()
Same as orthogonalise.
static vector orthogonal(const vector &v1, const vector &v2)
Return the vector orthogonal to the two provided.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)
scalar diff(const triad &A, const triad &B)
Return a quantity of the difference between two triads.
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.