37 #ifndef sampledSurfaces_H 38 #define sampledSurfaces_H 93 static scalar mergeTol_;
102 const bool loadFromFiles_;
114 word interpolationScheme_;
133 label classifyFields();
136 void writeGeometry()
const;
144 const word& fieldName,
189 const bool loadFromFiles =
false 215 void verbose(
const bool verbosity =
true);
224 virtual bool write();
virtual bool write()
Sample and write.
virtual bool read(const dictionary &)
Read the sampledSurfaces dictionary.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual bool update()
Update the surfaces as required and merge surface points (parallel).
A class for handling file names.
List of IOobjects with searching and retrieving facilities.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh - expires the surfaces.
void verbose(const bool verbosity=true)
Set verbosity level.
Generic GeometricField class.
virtual void readUpdate(const polyMesh::readUpdateState state)
Update for changes of mesh due to readUpdate - expires the surfaces.
virtual ~sampledSurfaces()
Destructor.
Abstract base-class for Time/database functionObjects.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void clear()
Clear the list, i.e. set size to zero.
A class for handling words, derived from string.
sampledSurfaces(const word &name, const Time &time, const dictionary &dict)
Construct from Time and dictionary.
virtual void movePoints(const polyMesh &)
Update for mesh point-motion - expires the surfaces.
void operator=(const sampledSurfaces &)=delete
Disallow default bitwise assignment.
virtual bool execute()
Execute, currently does nothing.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
TypeName("surfaces")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
virtual bool expire()
Mark the surfaces as needing an update.
void clear()
Clear the PtrList, i.e. set size to zero deleting all the.
Set of surfaces to sample.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
readUpdateState
Enumeration defining the state of the mesh after a read update.
Registry of regIOobjects.
virtual bool needsUpdate() const
Does any of the surfaces need an update?