40 size_t prevIterField = fName.find(
"PrevIter");
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
Generic GeometricField class.
An STL-conforming hash table.
const fvSolution & solution() const
Return the fvSchemes.
void storePrevIterTypeFields() const
Store previous iteration for fields.
fvMesh & mesh_
Reference to the mesh.
bool relaxField(const word &name) const
Return true if the relaxation factor is given for the field.
A class for handling words, derived from string.
gmvFile<< "tracers "<< particles.size()<< nl;{ pointField positions(particles.size());label particlei=0;forAllConstIter(Cloud< passiveParticle >, particles, iter) { positions[particlei++]=iter().position(mesh);} for(i=0;i< pTraits< point >::nComponents;i++) { forAll(positions, particlei) { gmvFile<< component(positions[particlei], i)<< ' ';} gmvFile<< nl;}}forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))