35 void Foam::primitiveMesh::calcCellEdges()
const 42 Pout<<
"primitiveMesh::calcCellEdges() : " 43 <<
"calculating cellEdges" 60 <<
"cellEdges already calculated" 66 List<DynamicList<label>> ce(
nCells());
77 DynamicList<label>& curCellEdges = ce[own[facei]];
81 for (
const label edgei : curEdges)
84 if (!curCellEdges.contains(edgei))
93 DynamicList<label>& curCellEdges = ce[nei[facei]];
97 for (
const label edgei : curEdges)
100 if (!curCellEdges.contains(edgei))
113 cellEdgeAddr[celli].transfer(ce[celli]);
const labelListList & cellEdges() const
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
const labelListList & faceEdges() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void push_back(const T &val)
Append an element at the end of the list.
List< labelList > labelListList
List of labelList.
Various functions to operate on Lists.
#define forAll(list, i)
Loop across all elements in list.
virtual const labelList & faceNeighbour() const =0
Face face-neighbour addressing.
errorManip< error > abort(error &err)
int debug
Static debugging option.
label nCells() const noexcept
Number of mesh cells.
virtual const labelList & faceOwner() const =0
Face face-owner addressing.
List< label > labelList
A List of labels.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.