41 #ifndef Foam_ensightOutput_writerCaching_H 42 #define Foam_ensightOutput_writerCaching_H 53 namespace ensightOutput
81 label readPreviousTimes
84 const scalar timeValue
91 bool remove(
const word& fieldName);
147 const scalar timeValue,
148 const bool geomChanged,
149 const word& fieldName,
150 const word& fieldType,
void clear()
Clear all values.
bool update(const fileName &baseDir, const scalar timeValue, const bool geomChanged, const word &fieldName, const word &fieldType, const word &varName=word::null)
Update time/geometry information and file cache. This routine should only be called from the master p...
A class for handling file names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
State information for writers with collated times.
const dictionary & fieldsDict() const
Get or create the 'fields' information dictionary.
virtual ~writerCaching()=default
Destructor.
A class for handling words, derived from Foam::string.
const scalarList & times() const noexcept
The output times for fields.
static const word null
An empty word.
int geometryTimeset() const
Expected timeset for the geometry.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
label latestGeomIndex() const
The most current geometry index.
const bitSet & geometries() const noexcept
Indices in times() when geometry (mesh) has been written.
writerCaching(const word &cacheFileName)
Construct with specified cache name.
label latestTimeIndex() const
The most current time index.