Go to the documentation of this file.
37 #ifndef ensightSurfaceReader_H
38 #define ensightSurfaceReader_H
143 const string& buffer,
152 const label fieldIndex
187 const label fieldIndex,
195 const label fieldIndex,
203 const label fieldIndex,
211 const label fieldIndex,
219 const label fieldIndex,
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
List< Tuple2< string, label > > schema_
Base class for surface readers.
A class for handling words, derived from Foam::string.
A class for handling file names.
static fileName replaceMask(const fileName &fName, const label timeIndex)
A class for managing temporary objects.
Input from file stream, using an ISstream.
void skip(const label n, Istream &is) const
void readLine(IFstream &is, string &buffer) const
Input/output from string buffers.
void readCase(IFstream &is)
virtual wordList fieldNames(const label timeIndex) const
ensightSurfaceReader(const fileName &fName)
virtual instantList times() const
Ensight output with specialized read() for strings, integers and floats. Correctly handles binary rea...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual ~ensightSurfaceReader()=default
virtual const meshedSurface & geometry(const label timeIndex)
Pair< idTypes > readGeometryHeader(ensightReadFile &is) const
Ensight format surface reader.
IOstreamOption::streamFormat streamFormat_
@ GIVEN
Use "given" values (not supported)
void debugSection(const word &expected, IFstream &is) const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void readFromLine(const label nSkip, IStringStream &is, Type &value) const
@ IGNORE
Read but "ignore".
An ordered pair of two objects of type <T> with first() and second() elements.
autoPtr< meshedSurface > surfPtr_
A traits class, which is primarily used for primitives.
tmp< Field< Type > > readField(const label timeIndex, const label fieldIndex) const
List< string > fieldFileNames_
virtual tmp< Field< scalar > > field(const label timeIndex, const label fieldIndex, const scalar &refValue=pTraits< scalar >::zero) const
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...