Go to the documentation of this file.
37 const word&
object = objects[i];
52 os_ << object << ' ' << pTraits<Type>::nComponents <<
' '
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
A primitive field of type <T> with automated input and output.
#define forAll(list, i)
Loop across all elements in list.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void writeIOField(const wordList &)
Write IOField.
static void write(std::ostream &, const bool, DynamicList< floatScalar > &)
Write floats ascii or binary.
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){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const fvMesh & mesh() const
Access either mesh or submesh.
static const word prefix
The prefix to local: lagrangian.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Traits class for primitives.
const Time & time() const
Return the top-level database.
static void insert(const point &, DynamicList< floatScalar > &dest)
Append point to given DynamicList.