34 flds(
mesh_.objectRegistry::lookupClass<fieldType>());
38 fieldType&
fld = *iter();
40 const word& fName = fld.name();
42 size_t prevIterField = fName.find(
"PrevIter");
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
void storePrevIterTypeFields() const
Store previous iteration for fields.
Generic GeometricField class.
bool relaxField(const word &name) const
Return true if the relaxation factor is given for the field.
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))
A class for handling words, derived from string.
An STL-conforming hash table.
fvMesh & mesh_
Reference to the mesh.