37 #ifndef MeshedSurfaceProxy_H
38 #define MeshedSurfaceProxy_H
57 template<
class Face>
class MeshedSurface;
167 return faceMap_.
size() == faces_.
size();
179 virtual void write(
const Time&,
const word& surfName =
"")
const;
A HashTable with keys but without contents.
void size(const label)
Override size to be inconsistent with allocated storage.
A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats.
const List< surfZone > & surfZones() const
Const access to the surface zones.
const List< Face > & faces() const
Return const access to the faces.
declareMemberFunctionSelectionTable(void, MeshedSurfaceProxy, write, fileExtension,(const fileName &name, const MeshedSurfaceProxy< Face > &surf),(name, surf))
Face FaceType
Face type used.
static void write(const fileName &, const MeshedSurfaceProxy< Face > &)
Write to file.
ClassName("MeshedSurfaceProxy")
Runtime type information.
static wordHashSet writeTypes()
The file format types that can be written via MeshedSurfaceProxy.
MeshedSurfaceProxy(const pointField &, const List< Face > &, const List< surfZone > &=List< surfZone >(), const List< label > &faceMap=List< label >())
Construct from component references.
static bool canWriteType(const word &ext, const bool verbose=false)
Can this file format type be written via MeshedSurfaceProxy?
bool useFaceMap() const
Use faceMap?
const List< label > & faceMap() const
Const access to the faceMap, zero-sized when unused.
virtual ~MeshedSurfaceProxy()
Destructor.
const pointField & points() const
Return const access to the points.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling file names.
A class for handling words, derived from string.
word name(const bool)
Return a word representation of a bool.
Macros to ease declaration of run-time selection tables.