59 class polyTopoChangeMap;
235 virtual bool write();
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Generic GeometricField class.
A HashTable specialisation for hashing pointers.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
T & operator[](const label)
Return element of UList.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
const word & name() const
Return the name of this functionObject.
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information.
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 after a change in polyMesh topology.
Class used for grouping field types.
fieldGroup()
Construct null.
Set of locations to sample.
virtual const point & probe(const label i) const
Return location for probe i.
fieldGroup< symmTensor > surfaceSymmTensorFields_
HashPtrTable< OFstream > probeFilePtrs_
Current open files.
virtual ~probes()
Destructor.
void operator=(const probes &)=delete
Disallow default bitwise assignment.
fieldGroup< tensor > tensorFields_
const fvMesh & mesh_
Const reference to fvMesh.
void clearFieldGroups()
Clear old field groups.
tmp< Field< Type > > sample(const VolField< Type > &) const
Sample a volume field at all locations.
label classifyFields()
Classify field types, returns the number of fields.
TypeName("probes")
Runtime type information.
virtual wordList fields() const
Return the list of fields required.
virtual void readUpdate(const polyMesh::readUpdateState state)
Update topology using the given map due to readUpdate.
fieldGroup< tensor > surfaceTensorFields_
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
label prepare()
Classify field type and Open/close file streams,.
const labelList & elements() const
Cells to be probed (obtained from the locations)
fieldGroup< symmTensor > symmTensorFields_
probes(const word &name, const Time &time, const dictionary &dict)
Construct from Time and dictionary.
tmp< Field< Type > > sampleSurfaceFields(const word &fieldName) const
Sample a single scalar field on all sample locations.
fieldGroup< sphericalTensor > surfaceSphericalTensorFields_
wordList fields_
Names of fields to probe.
fieldGroup< scalar > surfaceScalarFields_
Categorised scalar/vector/tensor surf fields.
virtual void findElements(const fvMesh &)
Find cells and faces containing probes.
fieldGroup< vector > surfaceVectorFields_
bool fixedLocations_
Fixed locations, default = yes.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual const pointField & probeLocations() const
Return locations to probe.
virtual void movePoints(const polyMesh &)
Update topology using the given map.
fieldGroup< scalar > scalarFields_
Categorised scalar/vector/tensor vol fields.
word interpolationScheme_
Interpolation scheme name.
label appendFieldGroup(const word &fieldName, const word &fieldType)
Append fieldName to the appropriate group.
fieldGroup< sphericalTensor > sphericalTensorFields_
virtual bool execute()
Execute, currently does nothing.
virtual bool write()
Sample and write.
virtual bool read(const dictionary &)
Read the probes.
fieldGroup< vector > vectorFields_
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.