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