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