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