30 void Foam::primitiveMesh::calcCells
74 forAll(cellFaceAddr, celli)
76 cellFaceAddr[celli].
setSize(ncf[celli]);
82 label celli = own[facei];
84 cellFaceAddr[celli][ncf[celli]++] = facei;
89 label celli = nei[facei];
93 cellFaceAddr[celli][ncf[celli]++] = facei;
99 void Foam::primitiveMesh::calcCells()
const
105 Pout<<
"primitiveMesh::calcCells() : calculating cells"
114 <<
"cells already calculated"
#define forAll(list, i)
Loop across all elements in list.
void size(const label)
Override size to be inconsistent with allocated storage.
void setSize(const label)
Reset size of List.
const cellList & cells() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
List< cell > cellList
list of cells
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
prefixOSstream Pout(cout, "Pout")