34void Foam::primitiveMesh::calcCellShapes()
const
38 Pout<<
"primitiveMesh::calcCellShapes() : calculating cellShapes"
47 <<
"cellShapes already calculated"
52 cellShapesPtr_ = std::make_unique<cellShapeList>(
nCells());
57 cellShapes[celli] = degenerateMatcher::match(*
this, celli);
const cellShapeList & cellShapes() const
Return cell shapes.
label nCells() const noexcept
Number of mesh cells.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
#define forAll(list, i)
Loop across all elements in list.