Go to the documentation of this file.
96 mutable bool changed_;
142 scalar writeTimeset()
const;
149 const scalar timeCorrection = 0
154 void noteGeometry(
const bool moving)
const;
164 const char* ensightType
171 const char* ensightType
203 const word& caseName,
211 const word& caseName,
IOstream::streamFormat format() const
The output file format (ascii/binary)
const word & mask() const
The '*' mask appropriate for sub-directories.
~ensightCase()
Destructor.
IOstream::streamFormat format() const
Ascii/Binary file output.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
void nextTime(const scalar t)
Set time for time-set 1, using next available index.
word padded(const label i) const
Consistent zero-padded integer value.
const word & mask() const
The output '*' mask.
const word cloudName(propsDict.get< word >("cloud"))
A class for handling words, derived from Foam::string.
label width() const
Return current width of mask and padded.
A class for handling file names.
autoPtr< ensightFile > newData(const word &varName) const
Open stream for new data file (on master), with current index.
void setTime(const scalar t, const label index)
Set current index and time for time-set 1.
Ostream & printInfo(Ostream &os) const
Print some general information.
void write() const
Write the case file.
const fileName & path() const
The nominal path to the case file.
void rewind() const
Rewind the output stream (master only).
static void writeHeader(Ostream &os, const word &fieldName)
autoPtr< ensightFile > newCloudData(const word &cloudName, const word &varName) const
Open stream for new cloud data file (on master), with current index.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
options(IOstream::streamFormat format=IOstream::BINARY)
Construct with the specified format (default is binary)
word name(const complex &c)
Return string representation of complex.
bool nodeValues() const
Use values per nodes instead of per element.
static const char * dataDirName
The name for "data" subdirectory.
bool separateCloud() const
Write clouds into their own directory instead in "data" directory.
bool overwrite() const
Remove existing directory and sub-directories on creation.
Lookup type of boundary radiation properties.
Ostream & operator()() const
Output stream (master only).
streamFormat
Data format (ascii | binary)
Output to file stream, using an OSstream.
A HashTable similar to std::unordered_map.
Supports writing of ensight cases as well as providing common factory methods to open new files.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const ensightCase::options & option() const
Reference to the case options.
Configuration options for the ensightCase.
bool nodeValues() const
Use values per nodes instead of per element.
autoPtr< ensightGeoFile > newGeometry(const bool moving=false) const
Open stream for new geometry file (on master).
autoPtr< ensightFile > newCloud(const word &cloudName) const
Open stream for new cloud positions (on master).
An instant of time. Contains the time value and name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
word padded(const label i) const
Consistent zero-padded integer value.
bool separateCloud() const
Write clouds into their own directory instead in "data" directory.
static const char * geometryName
The name for geometry files.