Go to the documentation of this file.
45 scalar magDir =
mag(direction_);
50 <<
"(almost)zero vector as direction for cell " << cellNo_
53 else if (
mag(magDir - 1) > SMALL)
56 direction_ /=
mag(direction_);
66 scalar magDir =
mag(direction_);
71 <<
"(almost)zero vector as direction for cell " << cellNo_
74 else if (
mag(magDir - 1) > SMALL)
77 direction_ /=
mag(direction_);
92 os << r.cellNo() << r.direction();
static constexpr const zero Zero
streamFormat format() const noexcept
Ostream & operator<<(Ostream &, const boundaryPatch &p)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const vector & direction() const
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
Container with cells to refine. Refinement given as single direction.
@ ASCII
"ascii" (normal default)
#define FatalErrorInFunction
label readLabel(const char *buf)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...