208 const bool loadFromFiles =
false 252 virtual bool write();
bool fixedLocations_
Fixed locations, default = yes.
fieldGroup< vector > surfaceVectorFields_
void clearFieldGroups()
Clear old field groups.
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 write()
Sample and write.
fieldGroup< scalar > surfaceScalarFields_
Categorised scalar/vector/tensor surf fields.
virtual const point & probe(const label i) const
Return location for probe i.
fieldGroup< sphericalTensor > surfaceSphericalTensorFields_
const word & name() const
Return the name of this functionObject.
label prepare()
Classify field type and Open/close file streams,.
A list of keyword definitions, which are a keyword followed by any number of values (e...
T & operator[](const label)
Return element of UList.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
virtual bool execute()
Execute, currently does nothing.
TypeName("probes")
Runtime type information.
Set of locations to sample.
virtual void readUpdate(const polyMesh::readUpdateState state)
Update for changes of mesh due to readUpdate.
fieldGroup< symmTensor > surfaceSymmTensorFields_
Generic GeometricField class.
A HashTable specialisation for hashing pointers.
Abstract base-class for Time/database functionObjects.
tmp< Field< Type > > sampleSurfaceFields(const word &fieldName) const
Sample a single scalar field on all sample locations.
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.
fieldGroup< tensor > surfaceTensorFields_
tmp< Field< Type > > sample(const GeometricField< Type, fvPatchField, volMesh > &) const
Sample a volume field at all locations.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A class for handling words, derived from string.
virtual void findElements(const fvMesh &)
Find cells and faces containing probes.
fieldGroup()
Construct null.
fieldGroup< scalar > scalarFields_
Categorised scalar/vector/tensor vol fields.
const fvMesh & mesh_
Const reference to fvMesh.
const labelList & elements() const
Cells to be probed (obtained from the locations)
label appendFieldGroup(const word &fieldName, const word &fieldType)
Append fieldName to the appropriate group.
fieldGroup< tensor > tensorFields_
fieldGroup< symmTensor > symmTensorFields_
wordReList fieldSelection_
Names of fields to probe.
HashPtrTable< OFstream > probeFilePtrs_
Current open files.
virtual void movePoints(const polyMesh &)
Update for changes of mesh.
fieldGroup< vector > vectorFields_
bool loadFromFiles_
Load fields from files (not from objectRegistry)
label classifyFields()
Classify field types, returns the number of fields.
Mesh data needed to do the Finite Volume discretisation.
virtual bool read(const dictionary &)
Read the probes.
probes(const word &name, const Time &time, const dictionary &dict)
Construct from Time and dictionary.
Mesh consisting of general polyhedral cells.
readUpdateState
Enumeration defining the state of the mesh after a read update.
A class for managing temporary objects.
Registry of regIOobjects.
word interpolationScheme_
Interpolation scheme name.
virtual ~probes()
Destructor.
fieldGroup< sphericalTensor > sphericalTensorFields_
virtual const pointField & probeLocations() const
Return locations to probe.
Class used for grouping field types.
virtual const wordReList & fieldNames() const
Return names of fields to probe.
void operator=(const word &)
Assignment of all addressed entries to the given value.