62template<
class ProbeType>
78 template<
class GeoField>
136 label
prepare(
unsigned request);
139 template<
class GeoField>
158 const word& fieldName,
160 const scalar timeValue
164 template<
class GeoField>
172 bool performAction(
unsigned request);
185 const bool loadFromFiles =
false,
198 bool verbose(
const bool on)
noexcept;
216 virtual bool write();
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
constexpr DynamicList() noexcept
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
bool verbose(const bool on) noexcept
Enable/disable verbose output.
HashPtrTable< OFstream > probeFilePtrs_
patchFieldProbe probeModel_
fieldGroup< surfaceSphericalTensorField > surfaceSphericalTensorFields_
void storeResults(const word &fieldName, const Field< Type > &values)
Store results: min/max/average/size.
virtual const wordRes & fieldNames() const noexcept
fieldGroup< volSphericalTensorField > sphericalTensorFields_
const ProbeType & probeModel() const noexcept
Return const reference to the point probeModel.
label prepare(unsigned request)
Classify field types, close/open file streams.
virtual void readUpdate(const polyMesh::readUpdateState state)
Update for changes of mesh due to readUpdate.
fieldGroup< volScalarField > scalarFields_
fieldGroup< surfaceSymmTensorField > surfaceSymmTensorFields_
Probes(const word &name, const Time &runTime, const dictionary &dict, const bool loadFromFiles=false, const bool readFields=true)
Construct from Time and dictionary.
fieldGroup< volVectorField > vectorFields_
DynamicList< word > selectedFieldNames_
fieldGroup< volSymmTensorField > symmTensorFields_
virtual ~Probes()=default
Destructor.
fieldGroup< surfaceScalarField > surfaceScalarFields_
fieldGroup< surfaceTensorField > surfaceTensorFields_
fieldGroup< surfaceVectorField > surfaceVectorFields_
tmp< GeoField > getOrLoadField(const word &fieldName) const
Get from registry or load from disk.
virtual bool execute()
Sample and store result if the sampleOnExecute is enabled.
virtual bool write()
Sample and write.
fieldGroup< volTensorField > tensorFields_
sampleActionType
Local control for sampling actions.
virtual bool read(const dictionary &)
Read the settings from the dictionary.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
readUpdateState
Enumeration defining the state of the mesh after a read update.
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
List< word > wordList
List of word.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
Grouping of field names by GeometricField type.
Forwards and collection of common volume field types.