Go to the documentation of this file.
38 Pout<<
"primitiveMesh::edgeCells() : calculating edgeCells"
61 dynamicLabelList& storage
66 return edgeCells()[edgeI];
74 dynamicLabelList eFacesStorage;
75 const labelList& eFaces = edgeFaces(edgeI, eFacesStorage);
82 label faceI = eFaces[i];
85 label ownCellI = own[faceI];
90 if (storage[j] == ownCellI)
99 storage.append(ownCellI);
103 if (isInternalFace(faceI))
105 label neiCellI = nei[faceI];
109 if (storage[j] == neiCellI)
118 storage.append(neiCellI);
130 return edgeCells(edgeI, labels_);
#define forAll(list, i)
Loop across all elements in list.
labelListList * ecPtr_
Edge-cells.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void invertManyToMany(const label len, const UList< InList > &, List< OutList > &)
Invert many-to-many.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const labelListList & cellEdges() const
const labelListList & edgeCells() const
errorManip< error > abort(error &err)
List< labelList > labelListList
A List of labelList.
prefixOSstream Pout(cout, "Pout")
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Various functions to operate on Lists.