59 class polyTopoChangeMap;
235 virtual bool write();
bool fixedLocations_
Fixed locations, default = yes.
fieldGroup< vector > surfaceVectorFields_
void clearFieldGroups()
Clear old field groups.
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,.
wordList fields_
Names of fields to probe.
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 bool execute()
Execute, currently does nothing.
TypeName("probes")
Runtime type information.
Set of locations to sample.
virtual void readUpdate(const polyMesh::readUpdateState state)
Update topology using the given map 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.
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.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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_
HashPtrTable< OFstream > probeFilePtrs_
Current open files.
virtual void movePoints(const polyMesh &)
Update topology using the given map.
fieldGroup< vector > vectorFields_
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.
virtual wordList fields() const
Return the list of fields required.
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.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
Class containing mesh-to-mesh mapping information.
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 void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
void operator=(const word &)
Assignment of all addressed entries to the given value.