Set of locations to sample. More...


Classes | |
| class | fieldGroup |
| Class used for grouping field types. More... | |
Public Member Functions | |
| TypeName ("probes") | |
| Runtime type information. More... | |
| probes (const word &name, const Time &time, const dictionary &dict, const bool initialise=true) | |
| Construct from Time and dictionary. More... | |
| probes (const probes &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~probes () |
| Destructor. More... | |
| virtual wordList | fields () const |
| Return the list of fields required. More... | |
| bool | read (const dictionary &, const bool initialise) |
| Read the probes. More... | |
| virtual bool | read (const dictionary &) |
| Read the probes. More... | |
| virtual bool | execute () |
| Execute, currently does nothing. More... | |
| virtual bool | write () |
| Sample and write. More... | |
| virtual void | movePoints (const polyMesh &) |
| Update topology using the given map. More... | |
| virtual void | topoChange (const polyTopoChangeMap &) |
| Update topology using the given map. More... | |
| virtual void | mapMesh (const polyMeshMap &) |
| Update from another mesh using the given map. More... | |
| virtual void | distribute (const polyDistributionMap &) |
| Update using the given distribution map. More... | |
| void | operator= (const probes &)=delete |
| Disallow default bitwise assignment. More... | |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | sample (const VolField< Type > &vField) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | sample (const SurfaceField< Type > &sField) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | sample (const word &fieldName) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | sampleSurfaceFields (const word &fieldName) const |
Public Member Functions inherited from functionObject | |
| ClassName ("functionObject") | |
| virtual const word & | type () const =0 |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, functionObject, dictionary,(const word &name, const Time &runTime, const dictionary &dict),(name, runTime, dict)) | |
| functionObject (const word &name, const Time &runTime) | |
| Construct from components. More... | |
| functionObject (const word &name, const Time &runTime, const dictionary &dict) | |
| Construct from dictionary. More... | |
| autoPtr< functionObject > | clone () const |
| Return clone. More... | |
| functionObject (const functionObject &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~functionObject () |
| Destructor. More... | |
| const word & | name () const |
| Return the name of this functionObject. More... | |
| virtual bool | executeAtStart () const |
| Return true if the functionObject should be executed at the start. More... | |
| virtual bool | end () |
| Called when Time::run() determines that the time-loop exits. More... | |
| virtual scalar | timeToNextAction () |
| Called by Time::adjustTimeStep(). Allows the functionObject to. More... | |
| virtual scalar | maxDeltaT () const |
| Return the maximum time-step for stable operation. More... | |
| void | operator= (const functionObject &)=delete |
| Disallow default bitwise assignment. More... | |
Protected Member Functions | |
| void | clearFieldGroups () |
| Clear old field groups. More... | |
| label | appendFieldGroup (const word &fieldName, const word &fieldType) |
| Append fieldName to the appropriate group. More... | |
| label | classifyFields () |
| Classify field types, returns the number of fields. More... | |
| virtual void | findElements (const fvMesh &) |
| Find cells and faces containing probes. More... | |
| label | prepare () |
| Classify field type and Open/close file streams,. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from functionObject | |
| static autoPtr< functionObject > | New (const word &name, const Time &, const dictionary &) |
| Select from dictionary, based on its "type" entry. More... | |
Public Attributes inherited from functionObject | |
| Switch | log |
| Switch write log to Info. More... | |
| Switch | executeAtStart_ |
| Switch execute at start time. More... | |
Static Public Attributes inherited from functionObject | |
| static bool | postProcess |
| Global post-processing mode switch. More... | |
Set of locations to sample.
Call write() to sample and write files.
| probes | ( | const word & | name, |
| const Time & | time, | ||
| const dictionary & | dict, | ||
| const bool | initialise = true |
||
| ) |
Construct from Time and dictionary.
Definition at line 261 of file probes.C.
References dict, and probes::read().

|
protected |
Clear old field groups.
Definition at line 34 of file probesGrouping.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), probes::scalarFields_, probes::sphericalTensorFields_, probes::surfaceScalarFields_, probes::surfaceSphericalTensorFields_, probes::surfaceSymmTensorFields_, probes::surfaceTensorFields_, probes::surfaceVectorFields_, probes::symmTensorFields_, probes::tensorFields_, and probes::vectorFields_.

|
protected |
Append fieldName to the appropriate group.
Definition at line 50 of file probesGrouping.C.
References Foam::typeName().

|
protected |
Classify field types, returns the number of fields.
Definition at line 111 of file probesGrouping.C.
References forAll.
|
protectedvirtual |
Find cells and faces containing probes.
Definition at line 53 of file probes.C.
References primitiveMesh::cellCentres(), probes::cellList_, primitiveMesh::cells(), List< T >::clear(), Foam::endl(), primitiveMesh::faceCentres(), probes::faceList_, meshSearch::findCell(), forAll, Foam::Info, probes::locations_, Foam::mag(), UPstream::master(), mesh, probes::mesh_, UPstream::myProcNo(), meshSearch::New(), Foam::Pout, Foam::reduce(), List< T >::setSize(), List< T >::size(), and WarningInFunction.

|
protected |
Classify field type and Open/close file streams,.
returns number of fields to sample
Definition at line 170 of file probes.C.
References IOstream::defaultPrecision(), polyMesh::defaultRegion, Foam::endl(), HashTable< T, Key, Hash >::erase(), forAll, forAllConstIter, forAllIter, Foam::Info, HashSet< Key, Hash >::insert(), UPstream::master(), Foam::mkDir(), OFstream::name(), Foam::name(), Foam::nl, writeFile::outputPrefix, Foam::setf(), and Foam::setw().

| TypeName | ( | "probes" | ) |
Runtime type information.
|
virtual |
Return the list of fields required.
Implements functionObject.
| bool read | ( | const dictionary & | dict, |
| const bool | initialise | ||
| ) |
Read the probes.
Definition at line 296 of file probes.C.
References dict, dictionary::lookup(), dictionary::readIfPresent(), and WarningInFunction.
Referenced by probes::probes(), and patchProbes::read().


|
virtual |
Read the probes.
Reimplemented from functionObject.
Reimplemented in patchProbes.
Definition at line 326 of file probes.C.
References dict, and Foam::read().

|
virtual |
Execute, currently does nothing.
Implements functionObject.
|
virtual |
|
virtual |
Update topology using the given map.
Reimplemented from functionObject.
Definition at line 365 of file probes.C.
References DebugInfo, Foam::endl(), and mesh.

|
virtual |
Update topology using the given map.
Reimplemented from functionObject.
Definition at line 378 of file probes.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DebugInfo, UList< T >::empty(), Foam::endl(), forAll, Foam::Info, polyTopoChangeMap::mesh(), polyTopoChangeMap::reverseCellMap(), and polyTopoChangeMap::reverseFaceMap().

|
virtual |
Update from another mesh using the given map.
Reimplemented from functionObject.
Definition at line 458 of file probes.C.
References DebugInfo, Foam::endl(), and polyMeshMap::mesh().

|
virtual |
Update using the given distribution map.
Reimplemented from functionObject.
Definition at line 468 of file probes.C.
References polyDistributionMap::cellMap(), DebugInfo, Foam::endl(), polyDistributionMap::faceMap(), forAll, polyDistributionMap::mesh(), polyDistributionMap::nOldCells(), and polyDistributionMap::nOldFaces().

|
delete |
Disallow default bitwise assignment.
| Foam::tmp<Foam::Field<Type> > sample | ( | const VolField< Type > & | vField | ) | const |
Definition at line 164 of file probesTemplates.C.
References forAll, Pstream::listCombineGather(), Pstream::listCombineScatter(), Foam::tracking::position(), and tmp< T >::ref().

| Foam::tmp<Foam::Field<Type> > sample | ( | const SurfaceField< Type > & | sField | ) | const |
Definition at line 217 of file probesTemplates.C.
References forAll, Pstream::listCombineGather(), Pstream::listCombineScatter(), and tmp< T >::ref().

| Foam::tmp<Foam::Field<Type> > sample | ( | const word & | fieldName | ) | const |
Definition at line 245 of file probesTemplates.C.
| Foam::tmp<Foam::Field<Type> > sampleSurfaceFields | ( | const word & | fieldName | ) | const |
Definition at line 259 of file probesTemplates.C.
|
protected |
Const reference to fvMesh.
Definition at line 90 of file probes.H.
Referenced by probes::findElements().
|
protected |
|
protected |
|
protected |
|
protected |
Categorised scalar/vector/tensor vol fields.
Definition at line 114 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Definition at line 115 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Definition at line 116 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Definition at line 117 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Definition at line 118 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Categorised scalar/vector/tensor surf fields.
Definition at line 121 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Definition at line 122 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Definition at line 123 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Definition at line 124 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Definition at line 125 of file probes.H.
Referenced by probes::clearFieldGroups().
|
protected |
Definition at line 128 of file probes.H.
Referenced by probes::findElements().
|
protected |
Definition at line 131 of file probes.H.
Referenced by probes::findElements().
|
protected |