Go to the documentation of this file.
248 const bool loadFromFiles =
false,
280 return operator[](i);
299 virtual void write();
fieldGroup< sphericalTensor > sphericalTensorFields_
fieldGroup< symmTensor > symmTensorFields_
A class for handling words, derived from string.
virtual const wordReList & fieldNames() const
Return names of fields to probe.
fieldGroup< tensor > tensorFields_
fieldGroup< scalar > scalarFields_
Categorized scalar/vector/tensor vol fields.
A class for managing temporary objects.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
TypeName("probes")
Runtime type information.
void clearFieldGroups()
Clear old field groups.
label appendFieldGroup(const word &fieldName, const word &fieldType)
Append fieldName to the appropriate group.
bool fixedLocations_
Fixed locations, default = yes.
fieldGroup< vector > surfaceVectorFields_
Class used for grouping field types.
Mesh consisting of general polyhedral cells.
fieldGroup< sphericalTensor > surfaceSphericalTensorFields_
Registry of regIOobjects.
const fvMesh & mesh_
Const reference to fvMesh.
virtual void end()
Execute at the final time-loop, currently does nothing.
tmp< Field< Type > > sample(const GeometricField< Type, fvPatchField, volMesh > &) const
Sample a volume field at all locations.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
wordReList fieldSelection_
Names of fields to probe.
virtual void write()
Sample and write.
HashPtrTable< OFstream > probeFilePtrs_
Current open files.
const labelList & elements() const
Cells to be probed (obtained from the locations)
probes(const probes &)
Disallow default bitwise copy construct.
Set of locations to sample.
label prepare()
Classify field type and Open/close file streams,.
tmp< Field< Type > > sampleSurfaceFields(const word &fieldName) const
Sample a single scalar field on all sample locations.
A list of keyword definitions, which are a keyword followed by any number of values (e....
fieldGroup()
Construct null.
fieldGroup< symmTensor > surfaceSymmTensorFields_
Mesh data needed to do the Finite Volume discretisation.
const bool loadFromFiles_
Load fields from files (not from objectRegistry)
virtual void read(const dictionary &)
Read the probes.
virtual void findElements(const fvMesh &)
Find cells and faces containing probes.
fieldGroup< vector > vectorFields_
readUpdateState
Enumeration defining the state of the mesh after a read update.
fieldGroup< scalar > surfaceScalarFields_
Categorized scalar/vector/tensor surf fields.
virtual const point & probe(const label i) const
Return location for probe i.
label classifyFields()
Classify field types, returns the number of fields.
void operator=(const probes &)
Disallow default bitwise assignment.
fieldGroup< tensor > surfaceTensorFields_
void sampleAndWrite(const GeometricField< Type, fvPatchField, volMesh > &)
Sample and write a particular volume field.
virtual const pointField & probeLocations() const
Return locations to probe.
A HashTable specialization for hashing pointers.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word name_
Name of this set of probes,.
void sampleAndWriteSurfaceFields(const fieldGroup< Type > &)
Sample and write all the surface fields of the given type.
virtual void execute()
Execute, currently does nothing.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual const word & name() const
Return name of the set of probes.
word interpolationScheme_
Interpolation scheme name.
virtual void movePoints(const polyMesh &)
Update for changes of mesh.
Generic GeometricField class.
void readDict(const dictionary &dict)
Read dictionary settings.
virtual ~probes()
Destructor.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
virtual void readUpdate(const polyMesh::readUpdateState state)
Update for changes of mesh due to readUpdate.