void clear()
set the size to zero
void setSize(const label nElmts)
set the number of used elements
friend Istream & operator>>(Istream &, cellListPMG &)
void operator=(const cellListPMG &)
cellListPMG()
null construct
cell & newElmt(const label)
return an element with bound checking
void transfer(cellList &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
label nElmts_
number of used elements
void append(const cell &)
add a cell at the end of the list
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
friend Ostream & operator<<(Ostream &, const cellListPMG &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A cell is defined as a list of faces with extra functionality.
label size() const
return the number of used elements