Go to the documentation of this file.
39 Pout<<
"primitiveMesh::calcCellEdges() : "
40 <<
"calculating cellEdges"
57 <<
"cellEdges already calculated"
80 if (
findIndex(curCellEdges, curEdges[edgeI]) == -1)
83 curCellEdges.
append(curEdges[edgeI]);
96 if (
findIndex(curCellEdges, curEdges[edgeI]) == -1)
99 curCellEdges.
append(curEdges[edgeI]);
110 cellEdgeAddr[cellI].
transfer(ce[cellI]);
#define forAll(list, i)
Loop across all elements in list.
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurence of given element and return index,.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
virtual const labelList & faceOwner() const =0
Face face-owner addresing.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual const labelList & faceNeighbour() const =0
Face face-neighbour addressing.
void calcCellEdges() const
Calculate edge list.
const labelListList & cellEdges() const
const labelListList & faceEdges() 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.
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...
labelListList * cePtr_
Cell-edges.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Various functions to operate on Lists.
void size(const label)
Override size to be inconsistent with allocated storage.