34 return offsets_.
size() - 1;
41 if (i < 0 || i > size() - 1)
44 <<
"index " << i <<
" out of range 0 ... " << size() - 1
51 SubList<token>(tokens_, offsets_[i + 1] - offsets_[i], offsets_[i])
An IOstream is an abstract base class for all input/output systems; be they streams,...
void size(const label)
Override size to be inconsistent with allocated storage.
A List obtained as a section of another List.
label size() const
Get the number of elements in the tuple.
Type get(const IOstream &s, const label i)
Get a type at a given position in the tuple. Stream used for error.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), lagrangian::cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.