43 scalar magDir =
mag(direction_);
48 <<
"(almost)zero vector as direction for cell " << cellNo_
51 else if (
mag(magDir - 1) > small)
54 direction_ /=
mag(direction_);
64 scalar magDir =
mag(direction_);
69 <<
"(almost)zero vector as direction for cell " << cellNo_
72 else if (
mag(magDir - 1) > small)
75 direction_ /=
mag(direction_);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const vector & direction() const
streamFormat format() const
Return current stream format.
Container with cells to refine. Refinement given as single direction.
errorManip< error > abort(error &err)
label readLabel(Istream &is)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & operator<<(Ostream &, const ensightPart &)
dimensioned< scalar > mag(const dimensioned< Type > &)