40 Pout<<
"primitiveMesh::cellPoints() : "
41 <<
"calculating cellPoints" <<
endl;
70 return cellPoints()[celli];
78 for (
const label facei : cFaces)
80 set.insert(fcs[facei]);
89 for (
const label pointi : set)
100 return cellPoints(celli, labelSet_, labels_);
Various functions to operate on Lists.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void clear() noexcept
Clear the addressed list, i.e. set the size to zero.
void append(const T &val)
Copy append an element to the end of this list.
label capacity() const noexcept
Size of the underlying storage.
void setCapacity(const label len)
Alter the size of the underlying storage.
const labelListList & pointCells() const
const labelListList & cellPoints() const
label nCells() const noexcept
Number of mesh cells.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void invertManyToMany(const label len, const UList< InputIntListType > &input, List< OutputIntListType > &output)
Invert many-to-many.
Ostream & endl(Ostream &os)
Add newline and flush stream.
List< labelList > labelListList
A List of labelList.
errorManip< error > abort(error &err)
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.