30 void Foam::primitiveMesh::calcPointPoints()
const 34 Pout<<
"primitiveMesh::calcPointPoints() : " 35 <<
"calculating pointPoints" 52 <<
"pointPoints already calculated" 65 pp[pointi].setSize(pe[pointi].size());
69 if (e[pe[pointi][ppi]].start() == pointi)
71 pp[pointi][ppi] = e[pe[pointi][ppi]].end();
73 else if (e[pe[pointi][ppi]].end() == pointi)
75 pp[pointi][ppi] = e[pe[pointi][ppi]].start();
80 <<
"something wrong with edges" 126 storage.
append(edges[pEdges[i]].otherVertex(pointi));
List< labelList > labelListList
A List of labelList.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const labelListList & pointEdges() const
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void setCapacity(const label)
Alter the size of the underlying storage.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
errorManip< error > abort(error &err)
const edgeList & edges() const
Return mesh edges. Uses calcEdges.
prefixOSstream Pout(cout, "Pout")
bool hasPointPoints() const
const labelListList & pointPoints() const
label capacity() const
Size of the underlying storage.
void clear()
Clear the addressed list, i.e. set the size to zero.