Go to the documentation of this file.
37 #ifndef surfaceReader_H
38 #define surfaceReader_H
116 const label fieldIndex,
124 const label fieldIndex,
132 const label fieldIndex,
140 const label fieldIndex,
148 const label fieldIndex,
Base class for surface readers.
A class for handling words, derived from Foam::string.
A class for handling file names.
A class for managing temporary objects.
static autoPtr< surfaceReader > New(const word &readType, const fileName &fName)
Return a reference to the selected surfaceReader.
surfaceReader(const fileName &fName)
Construct from fileName.
virtual wordList fieldNames(const label timeIndex) const =0
Return a list of the available fields at a given time.
virtual ~surfaceReader()=default
Destructor.
fileName fileName_
File name.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual tmp< Field< scalar > > field(const label timeIndex, const label fieldIndex, const scalar &refValue=pTraits< scalar >::zero) const =0
Return a scalar field at a given time.
Macros to ease declaration of run-time selection tables.
virtual instantList times() const =0
Return a list of the available times.
virtual const meshedSurface & geometry(const label timeIndex)=0
Return a reference to the surface geometry.
A traits class, which is primarily used for primitives.
TypeName("surfaceReader")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, surfaceReader, fileName,(const fileName &fName),(fName))