34 #ifndef Foam_ensightOutput_volField_H 35 #define Foam_ensightOutput_volField_H 50 namespace ensightOutput
68 const GeometricField<Type, fvPatchField, volMesh>& vf,
71 const ensightMesh& ensMesh
89 return ensightOutput::writeVolField<Type>(scratch,
os, vf, ensMesh);
109 const bool nodeValues
126 const bool nodeValues
130 return ensightOutput::writeVolField<Type>
132 scratch,
os, vf, ensMesh, nodeValues
168 return ensightOutput::writePointField<Type>(scratch,
os, pf, ensMesh);
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
Generic GeometricField class.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
DynamicList< float > floatBufferType
The list type used for component-wise buffering.
Encapsulation of volume meshes for writing in ensight format. It manages cellZones, facesZone, patches.
OBJstream os(runTime.globalPath()/outputName)
bool writePointField(ensightOutput::floatBufferType &scratch, ensightFile &os, const GeometricField< Type, pointPatchField, pointMesh > &pf, const ensightMesh &ensMesh)
Write point field component-wise.
bool writeVolField(ensightOutput::floatBufferType &scratch, ensightFile &os, const GeometricField< Type, fvPatchField, volMesh > &vf, const ensightMesh &ensMesh)
Write volume field component-wise.