Go to the documentation of this file.
38 const bool isPointData
43 this->writePointData(
os,
fld);
47 this->writeFaceData(
os,
fld);
label index() const noexcept
The index in a list (0-based)
bool writeFieldComponents(ensightFile &os, const char *key, const FieldContainer< Type > &fld, bool parallel)
Write field content (component-wise) for the given ensight element type.
void writeFaceData(ensightFile &os, const Field< Type > &fld) const
Write a field of face values (serial-only)
bool empty() const noexcept
Processor-local test for any elements.
void writePointData(ensightFile &os, const Field< Type > &fld) const
Write a field of point values (serial-only)
Generic templated field type.
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))
OBJstream os(runTime.globalPath()/outputName)
void writeData(ensightFile &os, const Field< Type > &fld, const bool isPointData=false) const
Write a field of face or point values (serial-only)
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)