44 GeoField&
fld = *iter();
46 const word& fldName =
fld.name();
50 (fldName.find(
"PrevIter") == std::string::npos)
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Generic GeometricField class.
A HashTable similar to std::unordered_map.
void storePrevIter() const
Store previous iteration field for vol<Type>Fields.
const word algorithmName_
The dictionary name, e.g. SIMPLE, PIMPLE.
fvMesh & mesh_
Reference to the mesh database.
bool relaxField(const word &name) const
Return true if the relaxation factor is given for the field.
A class for handling words, derived from Foam::string.
#define DebugInfo
Report an information message using Foam::Info.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAllIters(container, iter)
Iterate across all elements in the container object.