Go to the documentation of this file.
38 Pout<<
"primitiveMesh::edgeCells() : calculating edgeCells" <<
endl;
65 return edgeCells()[edgeI];
74 const labelList& eFaces = edgeFaces(edgeI, eFacesStorage);
81 label faceI = eFaces[i];
84 label ownCellI = own[faceI];
89 if (storage[j] == ownCellI)
102 if (isInternalFace(faceI))
104 label neiCellI = nei[faceI];
108 if (storage[j] == neiCellI)
129 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
void clear()
Clear the addressed list, i.e. set the size to zero.
const labelListList & edgeCells() const
errorManip< error > abort(error &err)
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
List< labelList > labelListList
A List of labelList.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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...
Various functions to operate on Lists.