38#ifndef Foam_probeModel_H
39#define Foam_probeModel_H
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A traits class, which is primarily used for primitives and vector-space.
Mesh consisting of general polyhedral cells.
word samplePointScheme_
Interpolation/sample scheme to obtain values at the points.
bool includeOutOfBounds_
Include probes that were not found (default: true).
virtual ~probeModel()=default
Destructor.
labelList cellIds_
Cells to be probed (obtained from the locations).
const pointField & oldPoints() const noexcept
Return const reference to the original probe locations.
void operator=(const probeModel &)=delete
No copy assignment.
labelList patchIds_
Patch IDs on which the new probes are located.
pointField & probeLocations()
Return reference to the probe locations.
bool includeOutOfBounds() const
Return true if include out of bounds probes.
labelList faceIds_
Faces to be probed.
pointField oldPoints_
Original probes location.
pointField probes_
Probe locations.
labelList procIds_
Processor holding the cell or face (-1 if point not found on any processor).
virtual void findElements(const fvMesh &mesh)=0
Find cells and faces containing probes.
bool empty() const
Return true if no probe locations.
const labelList & faces() const
Return const reference to the faces to be probed.
const fvMesh & thisMesh_
Const reference to the mesh.
const word & samplePointScheme() const
Return the interpolation scheme to obtain values at the points.
bool fixedLocations_
Fixed locations (default: true).
const labelList & elements() const
Cells to be probed (obtained from the locations).
label size() const
Return number of probe locations.
virtual void movePoints(const polyMesh &)
Update for changes of mesh.
TypeName("probeModel")
Runtime type information.
const point & probe(const label i) const
Return the location of probe i.
const labelList & patchIDList() const noexcept
Return const reference to the patch ID list.
bool fixedLocations() const
Return true if fixed locations.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
const labelList & processors() const
Return const reference to the processor list.
const pointField & probeLocations() const
Return const reference to the probe locations.
virtual bool read(const dictionary &)
Read the settings dictionary.
probeModel(const probeModel &)=delete
No copy construct.
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void operator()(T &x, const T &y) const
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.