Go to the documentation of this file.
70 copy[i].
transfer(this->
operator[](i));
92 this->operator[](i) =
c;
98 return this->operator[](cI);
107 this->operator[](cI) = cls[cI];
void clear()
set the size to zero
void setSize(const label nElmts)
set the number of used elements
void operator=(const cellListPMG &)
cellListPMG()
null construct
#define forAll(list, i)
Loop across all elements in list.
A List obtained as a section of another List.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
cell & newElmt(const label)
return an element with bound checking
Ostream & endl(Ostream &os)
Add newline and flush stream.
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)....
Ostream & operator<<(Ostream &, const edgeMesh &)
label nElmts_
number of used elements
label size() const
Return the number of elements in the UList.
void setSize(const label)
Reset size of List.
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...
Istream & operator>>(Istream &, edgeMesh &)
const dimensionedScalar c
Speed of light in a vacuum.
void size(const label)
Override size to be inconsistent with allocated storage.
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