Go to the documentation of this file.
38 const bool isPointData
56 const Field<Type>&
fld
label index() const noexcept
bool writeFieldComponents(ensightFile &os, const char *key, const FieldContainer< Type > &fld, bool parallel)
void writeFaceData(ensightFile &os, const Field< Type > &fld) const
bool empty() const noexcept
void writePointData(ensightFile &os, const Field< Type > &fld) const
PtrList< coordinateSystem > coordinates(solidRegions.size())
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))
static const char *const coordinates
OBJstream os(runTime.globalPath()/outputName)
void writeData(ensightFile &os, const Field< Type > &fld, const bool isPointData=false) const
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
A variant of ensightFaces that holds references to contiguous points/faces with its own encapsulated ...
bool writeField(ensightFile &os, const Field< Type > &fld, const ensightCells &part, bool parallel)