75 #ifndef functionObjects_sampledSurfaces_H 76 #define functionObjects_sampledSurfaces_H 96 namespace functionObjects
103 class sampledSurfaces
105 public functionObject,
106 public PtrList<sampledSurface>
131 static bool verbose_;
134 static scalar mergeTol_;
143 const bool loadFromFiles_;
155 word interpolationScheme_;
174 label classifyFields();
177 void writeGeometry()
const;
185 const word& fieldName,
230 const bool loadFromFiles =
false 256 void verbose(
const bool verbosity =
true);
265 virtual bool write();
Set of surfaces to sample.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
virtual bool execute()
Execute, currently does nothing.
List of IOobjects with searching and retrieving facilities.
const word & name() const
Return the name of this functionObject.
void operator=(const sampledSurfaces &)=delete
Disallow default bitwise assignment.
A list of keyword definitions, which are a keyword followed by any number of values (e...
sampledSurfaces(const word &name, const Time &time, const dictionary &dict)
Construct from Time and dictionary.
virtual bool needsUpdate() const
Does any of the surfaces need an update?
virtual void movePoints(const polyMesh &)
Update for mesh point-motion - expires the surfaces.
TypeName("surfaces")
Runtime type information.
Generic GeometricField class.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh - expires the surfaces.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
vectorField pointField
pointField is a vectorField.
virtual bool write()
Sample and write.
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
virtual ~sampledSurfaces()
Destructor.
List< label > labelList
A List of labels.
Writes run time, CPU time and clock time and optionally the CPU and clock times per time step...
virtual bool expire()
Mark the surfaces as needing an update.
void verbose(const bool verbosity=true)
Set verbosity level.
virtual bool update()
Update the surfaces as required and merge surface points (parallel).
Mesh data needed to do the Finite Volume discretisation.
virtual bool read(const dictionary &)
Read the sampledSurfaces dictionary.
void clear()
Clear the PtrList, i.e. set size to zero deleting all the.
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 void readUpdate(const polyMesh::readUpdateState state)
Update for changes of mesh due to readUpdate - expires the surfaces.