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>.
const fileName & facesInstance() const
Return the current instance directory for faces.
virtual label size() const
Return number of faces.
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 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...
const fileName & pointsInstance() const
Return the current instance directory for points.
faceList & storedFaces()
Non-const access to the faces.
void clearGeom()
Clear geometry.
void addZones(const List< surfZone > &, const bool validate=true)
Add surface zones.
pointIOField & storedIOPoints()
Non-const access to the points.
static void write(const fileName &, const surfMesh &)
Write to file.
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 const faceList & faces() const
Return faces.
virtual void updateFacesRef()
Update references to storedFaces.
surfZoneIOList & storedIOZones()
Non-const access to the zones.
void removeZones()
Update the mesh corresponding to given map.
virtual label nPoints() const
Return the number of raw points.
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.
void removeFiles() const
Remove all files from mesh instance()
thermo validate(args.executable(), "h")
void transfer(MeshedSurface< face > &)
Transfer the contents of the argument and annul the argument.
virtual const surfZoneList & surfZones() const
Return surface zones.
pointField & storedPoints()
Non-const access to global points.
virtual label nFaces() const
Return the number of raw faces.
void checkZones()
Check the surface zone definitions.
virtual const pointField & points() const
Return points.
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 ~surfMesh()
Destructor.
virtual bool write(const bool valid=true) const
Write using setting from DB.
fileName meshDir() const
Return the local mesh directory (dbDir()/meshSubDir)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void clearAddressing()
Clear addressing.