50 template<
class Face>
class MeshedSurface;
60 public PrimitivePatch<::Foam::UList<face>, ::Foam::SubField<point>>
152 const word& surfName=
"" 160 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.
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.
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.
Pre-declare related SubField type.
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.
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.
surfMesh(const IOobject &, const word &surfName="")
Construct from IOobject, with alternative surface name.
A surface mesh consisting of general polygon faces.
void removeFiles() const
Remove all files from mesh instance()
thermo validate(args.executable(), "h")
void resetPrimitives(pointField &&points, faceList &&faces, surfZoneList &&zones, const bool validate=true)
Reset mesh primitive data.
void operator=(const surfMesh &)=delete
Disallow default bitwise assignment.
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.
TypeName("surfMesh")
Runtime type information.
virtual bool write(const bool write=true) const
Write using setting from DB.
virtual ~surfMesh()
Destructor.
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.