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