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_);
Various functions to operate on Lists.
#define forAll(list, i)
Loop across all elements in list.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
void clear()
Clear the addressed list, i.e. set the size to zero.
const labelListList & cellEdges() const
const labelListList & edgeCells() 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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
List< labelList > labelListList
A List of labelList.
prefixOSstream Pout(cout, "Pout")
void invertManyToMany(const label len, const UList< InList > &, List< OutList > &)
Invert many-to-many.