Go to the documentation of this file.
58 template<
class Face>
class MeshedSurface;
110 void operator=(
const surfMesh&) =
delete;
222 virtual label
nFaces()
const;
225 virtual label
size()
const
291 const meshedSurf& surf,
298 const MeshedSurface<face>& surf,
315 template<
class Type,
class GeoMeshType = surfGeoMesh>
318 const word& fieldName,
319 const dimensionSet& dims,
326 template<
class Type,
class GeoMeshType = surfGeoMesh>
329 const word& fieldName,
330 const dimensionSet& dims,
343 IOstreamOption streamOpt,
352 const fileName&
name,
353 IOstreamOption streamOpt = IOstreamOption(),
361 const fileName&
name,
362 const word& fileType,
363 IOstreamOption streamOpt = IOstreamOption(),
389 void removeFiles(
const fileName& instanceDir)
const;
vectorField pointField
pointField is a vectorField.
const fileName & pointsInstance() const
A helper class for storing points and faces with IO capabilities.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
surfZoneList & storedZones()
A class for handling words, derived from Foam::string.
Wraps the normal objectRegistry with a local instance for surfaces.
A class for handling file names.
void storeField(const word &fieldName, const dimensionSet &dims, const Field< Type > &values)
const vectorField & Sf() const
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
faceCompactIOList & storedIOFaces()
virtual bool writeObject(IOstreamOption streamOpt, const bool valid) const
Abstract definition of a meshed surface defined by faces and points.
void write(const fileName &name, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const
virtual label size() const
A surface mesh consisting of general polygon faces that has IO capabilities and a registry for storin...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
static const dictionary null
Registry of regIOobjects.
IOobject for a surfZoneList.
virtual readUpdateState readUpdate()
Generic templated field type.
virtual bool write(const bool valid=true) const
void addZones(const surfZoneList &zones, bool validate=true)
const Field< point_type > & faceAreas() const
void setInstance(const fileName &inst, IOobject::writeOption wOpt=IOobject::AUTO_WRITE)
The IOstreamOption is a simple container for options an IOstream can normally have.
virtual const faceList & faces() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual label nPoints() const
const scalarField & magSf() const
pointField & storedPoints()
const word & name() const noexcept
void transfer(MeshedSurface< face > &surf, bool validate=false)
void checkZones(const bool verbose=true)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual const surfZoneList & surfZones() const
virtual const pointField & points() const
pointIOField & storedIOPoints()
List< face > faceList
A List of faces.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
List< surfZone > surfZoneList
const Field< scalar > & magFaceAreas() const
autoPtr< MeshedSurface< face > > releaseGeom()
const vectorField & Cf() const
StringType validate(const std::string &str, const UnaryPredicate &accept, const bool invert=false)
virtual label nFaces() const
const Field< point_type > & faceCentres() const
void copySurface(const pointField &points, const faceList &faces, bool validate=false)
const fileName & facesInstance() const
void setWriteOption(IOobject::writeOption wOpt)
A list of faces which address into the list of points.