76 #ifndef functionObjects_sampledSurfaces_H 77 #define functionObjects_sampledSurfaces_H 96 namespace functionObjects
103 class sampledSurfaces
105 public fvMeshFunctionObject,
106 public PtrList<sampledSurface>
131 static bool verbose_;
134 static scalar mergeTol_;
149 word interpolationScheme_;
228 void verbose(
const bool verbosity =
true);
240 virtual bool write();
Set of surfaces to sample.
A class for handling file names.
virtual bool execute()
Execute, currently does nothing.
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 wordList fields() const
Return the list of fields required.
virtual void movePoints(const polyMesh &)
Update for mesh point-motion - expires the surfaces.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
TypeName("surfaces")
Runtime type information.
A HashTable specialisation for hashing pointers.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static List< word > fieldNames
vectorField pointField
pointField is a vectorField.
virtual bool write()
Sample and write.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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 void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map - expires the surfaces.
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).
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual bool read(const dictionary &)
Read the sampledSurfaces dictionary.
Abstract base class for interpolation.
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.
Class containing mesh-to-mesh mapping information.
virtual void readUpdate(const polyMesh::readUpdateState state)
Update topology using the given map due to readUpdate.