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_);
streamFormat format() const noexcept
Get the current stream format.
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,...
Container with cells to refine. Refinement given as single direction.
refineCell()
Default construct.
const vector & direction() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
errorManip< error > abort(error &err)