73 #ifndef Foam_patchProbes_H 74 #define Foam_patchProbes_H 113 const word& fieldName,
115 const scalar timeValue
119 template<
class GeoField>
127 bool performAction(
unsigned request);
151 const bool loadFromFiles =
false,
165 virtual bool write();
Grouping of field names by GeometricField type.
virtual void findElements(const fvMesh &mesh)
Find elements containing patchProbes.
virtual ~patchProbes()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual const wordRes & fieldNames() const noexcept
Return names of fields to probe.
Set of locations to sample.
virtual bool read(const dictionary &)
Read.
wordRes patchNames_
Patches to sample.
Generic GeometricField class.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const noexcept
Return the name of this functionObject.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
Generic templated field type.
virtual bool execute()
Sample and store result if the sampleOnExecute is enabled.
A class for handling words, derived from Foam::string.
A List of wordRe with additional matching capabilities.
Set of locations to sample at patches.
tmp< Field< Type > > sample(const VolumeField< Type > &) const
Sample a volume field at all locations.
Mesh data needed to do the Finite Volume discretisation.
virtual bool write()
Sample and write.
tmp< Field< Type > > sampleSurfaceField(const word &fieldName) const
Sample a surface field at all locations.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type.
A class for managing temporary objects.
TypeName("patchProbes")
Runtime type information.