44 GeoField&
fld = *iter();
46 const word& fldName =
fld.name();
bool contains(char c) const noexcept
True if string contains given character (cf. C++23)
fvMesh & mesh_
Reference to the mesh database.
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.
void storePrevIter() const
Store previous iteration field for vol<Type>Fields.
A class for handling words, derived from Foam::string.
const word algorithmName_
The dictionary name, e.g. SIMPLE, PIMPLE.
#define forAllIters(container, iter)
Iterate across all elements in the container object.
A HashTable similar to std::unordered_map.
#define DebugInfo
Report an information message using Foam::Info.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))