38 flds(
mesh_.objectRegistry::lookupClass<GeoField>());
42 GeoField&
fld = *iter();
44 const word& fName = fld.name();
46 size_t prevIterField = fName.find(
"PrevIter");
fvMesh & mesh_
Reference to the mesh database.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
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.
const word algorithmName_
The dictionary name, e.g. SIMPLE, PIMPLE.
An STL-conforming hash table.
void storePrevIter() const
Store previous iteration field for vol<Type>Fields.