32 void 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;
101 void Foam::primitiveMesh::calcCells()
const 107 Pout<<
"primitiveMesh::calcCells() : calculating cells" 116 <<
"cells already calculated" void size(const label n)
Older name for setAddressableSize.
List< cell > cellList
List of cell.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const cellList & cells() const
#define forAll(list, i)
Loop across all elements in list.
void setSize(const label n)
Alias for resize()
errorManip< error > abort(error &err)
int debug
Static debugging option.
label nCells() const noexcept
Number of mesh cells.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
static constexpr const zero Zero
Global zero (0)