138 #ifndef Foam_functionObjects_ensightWrite_H 139 #define Foam_functionObjects_ensightWrite_H 160 namespace functionObjects
169 public fvMeshFunctionObject
174 ensightMesh::options writeOpts_;
177 ensightCase::options caseOpts_;
189 wordRes selectFields_;
192 wordRes blockFields_;
195 dictionary selection_;
198 fvMeshSubset meshSubset_;
201 autoPtr<ensightCase> ensCase_;
204 autoPtr<ensightMesh> ensMesh_;
210 ensightCase& ensCase()
216 ensightMesh& ensMesh()
223 bool updateSubset(fvMeshSubset& subsetter)
const;
226 bool readSelection(
const dictionary&
dict);
236 label writeVolFieldsImpl
239 const fvMeshSubset& proxy,
244 label writeAllVolFields
246 const fvMeshSubset& proxy,
251 ensightWrite(
const ensightWrite&) =
delete;
254 void operator=(
const ensightWrite&) =
delete;
287 virtual bool write();
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("ensightWrite")
Runtime type information.
Writes fields in ensight format.
virtual bool execute()
Do nothing.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const word & name() const noexcept
Return the name of this functionObject.
virtual ~ensightWrite()=default
Destructor.
virtual void movePoints(const polyMesh &mpm)
Update for mesh point-motion.
A class for handling words, derived from Foam::string.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
virtual bool end()
Do nothing at the final time-loop.
DynamicList< float > floatBufferType
The list type used for component-wise buffering.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
virtual bool read(const dictionary &dict)
Read the ensightWrite specification.
virtual bool write()
Write fields, flush case file.
Mesh consisting of general polyhedral cells.
readUpdateState
Enumeration defining the state of the mesh after a read update.