58 operator[](primaryDirection(pa)) = pa;
72 return operator[](d)[0] < GREAT;
78 return set(0) && set(1) && set(2);
107 scalar magV3 =
mag(v3);
122 if (set(0)) (*this)[0].normalise();
123 if (set(1)) (*this)[1].normalise();
124 if (set(2)) (*this)[2].normalise();
142 return vector(
x().z(),
y().z(), z().z());
148 return triad(cx(), cy(), cz());
179 os << static_cast<const Vector<vector>&>(t);
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,...
Vector< Cmpt > z() const
Extract vector for row 2.
Vector< Cmpt > y() const
Extract vector for row 1.
Vector< Cmpt > x() const
Extract vector for row 0.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
const Cmpt & z() const
Access to the vector z component.
const Cmpt & y() const
Access to the vector y component.
Vector & operator=(const Vector &)=default
Copy assignment.
const Cmpt & x() const
Access to the vector x component.
bool orthogonal() const
Return whether mesh is orthogonal or not.
Representation of a 3D Cartesian coordinate system as a Vector of row vectors.
bool set() const
Are all the vector set.
vector cz() const
Extract vector for column 2.
void operator=(const Vector< vector > &vv)
static direction primaryDirection(const vector &v)
Return the primary direction of the vector v.
triad T() const
Return transpose.
triad()
Default construct.
vector cy() const
Extract vector for column 1.
vector cx() const
Extract vector for column 0.
void normalise()
Normalise each set axis vector to have a unit magnitude.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Istream & operator>>(Istream &, directionInfo &)