Go to the documentation of this file.
50 template<
class Face>
class MeshedSurface;
60 public PrimitivePatch<face, ::Foam::UList, ::Foam::SubField<point>, point>
167 const word& surfName=
""
175 const word& surfName=
""
readUpdateState
Enumeration defining the state of the mesh after a read update.
const fileName & pointsInstance() const
Return the current instance directory for points.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual void updatePointsRef()
Update references to storedPoints.
surfZoneIOList & storedIOZones()
Non-const access to the zones.
surfZoneList & storedZones()
Non-const access to the zones.
bool BoundaryMesh
Placeholder only, but do not remove - it is needed for GeoMesh.
A class for handling words, derived from string.
Wraps the normal objectRegistry with a local instance for surfaces.
A class for handling file names.
void clearGeom()
Clear geometry.
faceList & storedFaces()
Non-const access to the faces.
virtual void updateRefs()
Update references to storedPoints/storedFaces.
void addZones(const List< surfZone > &, const bool validate=true)
Add surface zones.
MeshedSurfaceIOAllocator Allocator
void clearPrimitives()
Clear primitive data (points, faces and cells)
virtual label size() const
Return number of faces.
virtual bool write() const
Write using setting from DB.
A surface mesh consisting of general polygon faces.
pointIOField & storedIOPoints()
Non-const access to the points.
static word meshSubDir
Return the mesh sub-directory name (normally "surfMesh")
A simple container for copying or transferring objects of type <T>.
Xfer< MeshedSurface< face > > xfer()
Transfer contents to the Xfer container as a MeshedSurface.
void removeZones()
Update the mesh corresponding to given map.
surfMesh(const surfMesh &)
Disallow construct as copy.
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void operator=(const surfMesh &)
Disallow default bitwise assignment.
Pre-declare SubField and related Field type.
A surface geometry mesh, in which the surface zone information is conveyed by the 'zoneId' associated...
void setInstance(const fileName &)
Set the instance for mesh files.
PrimitivePatch< face, ::Foam::UList, ::Foam::SubField< point >, point > MeshReference
virtual const faceList & faces() const
Return faces.
faceCompactIOList & storedIOFaces()
Non-const access to the faces.
virtual label nPoints() const
Return the number of raw points.
void removeFiles() const
Remove all files from mesh instance()
virtual void updateFacesRef()
Update references to storedFaces.
void clearOut()
Clear all geometry and addressing unnecessary for CFD.
pointField & storedPoints()
Non-const access to global points.
virtual ~surfMesh()
Destructor.
virtual const surfZoneList & surfZones() const
Return surface zones.
virtual const pointField & points() const
Return points.
fileName meshDir() const
Return the local mesh directory (dbDir()/meshSubDir)
A helper class for storing points, faces and zones with IO capabilities.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
TypeName("surfMesh")
Runtime type information.
void clearAddressing()
Clear addressing.
thermo validate(args.executable(), "h", "e")
A face is a list of labels corresponding to mesh vertices.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
void checkZones()
Check the surface zone definitions.
virtual label nFaces() const
Return the number of raw faces.
void transfer(MeshedSurface< face > &)
Transfer the contents of the argument and annul the argument.
void resetPrimitives(const Xfer< pointField > &points, const Xfer< faceList > &faces, const Xfer< surfZoneList > &zones, const bool validate=true)
Reset mesh primitive data.
const fileName & facesInstance() const
Return the current instance directory for faces.
A list of faces which address into the list of points.