32void Foam::primitiveMesh::calcCells
76 forAll(cellFaceAddr, celli)
78 cellFaceAddr[celli].
setSize(ncf[celli]);
84 label celli = own[facei];
86 cellFaceAddr[celli][ncf[celli]++] = facei;
91 label celli = nei[facei];
95 cellFaceAddr[celli][ncf[celli]++] = facei;
101void Foam::primitiveMesh::calcCells()
const
107 Pout<<
"primitiveMesh::calcCells() : calculating cells"
116 <<
"cells already calculated"
void setSize(const label n)
Alias for resize()
void size(const label n)
Older name for setAddressableSize.
label nCells() const noexcept
Number of mesh cells.
const cellList & cells() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
List< cell > cellList
A List of cells.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
static constexpr const zero Zero
Global zero (0)
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
#define forAll(list, i)
Loop across all elements in list.