Go to the documentation of this file.
87 copy[i].
transfer(this->
operator[](i));
109 this->operator[](i) =
f;
115 return this->operator[](fI);
122 return (os << *
this).good();
129 this->operator[](fI) = fcs[fI];
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
#define forAll(list, i)
Loop across all elements in list.
bool writeData(Ostream &) const
read/write the list onto disk
A List obtained as a section of another List.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
face & newElmt(const label)
return an element with bound checking
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)....
void setSize(const label nElmts)
set the number of used elements
Ostream & operator<<(Ostream &, const edgeMesh &)
void append(const face &)
add a face at the end of the list
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void clear()
set the size to zero
label size() const
Return the number of elements in the UList.
void setSize(const label)
Reset size of List.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
label size() const
return the number of used elements
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void operator=(const faceListPMG &)
Istream & operator>>(Istream &, edgeMesh &)
A face is a list of labels corresponding to mesh vertices.
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,...
faceListPMG(const faceListPMG &)
label nElmts_
number of used elements
void transfer(faceList &)