Set of locations to sample.at patches. More...
#include <sampling/patchProbes.H>
Set of locations to sample.at patches.
Call write() to sample and write files.
Definition at line 57 of file patchProbes.H.
Inheritance diagram for patchProbes:
Collaboration diagram for patchProbes:Public Member Functions | |
| TypeName ("patchProbes") | |
| Runtime type information.
| |
| patchProbes (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false) | |
| Construct for given objectRegistry and dictionary.
| |
| virtual | ~patchProbes () |
| Destructor.
| |
| virtual void | write () |
| Public members.
| |
| virtual void | read (const dictionary &) |
| Read.
| |
| virtual void | findElements (const fvMesh &) |
| Find elements containing patchProbes.
| |
| patchProbes | ( | const word & | name, |
| const objectRegistry & | obr, | ||
| const dictionary & | dict, | ||
| const bool | loadFromFiles = false
|
||
| ) |
Construct for given objectRegistry and dictionary.
Allow the possibility to load fields from files
Definition at line 204 of file patchProbes.C.
| ~patchProbes | ( | ) | [virtual]
|
Destructor.
Definition at line 219 of file patchProbes.C.
| TypeName | ( | "patchProbes" | ) |
Runtime type information.
| void write | ( | ) | [virtual]
|
Public members.
Sample and write
Reimplemented from probes.
Definition at line 223 of file patchProbes.C.
| void read | ( | const dictionary & | dict ) | [virtual]
|
Read.
Reimplemented from probes.
Definition at line 235 of file patchProbes.C.
References dictionary::lookup(), and probes::read().
| void findElements | ( | const fvMesh & | mesh ) | [virtual]
|
Find elements containing patchProbes.
Reimplemented from probes.
Definition at line 44 of file patchProbes.C.
References indexedOctree< Type >::bb(), polyMesh::boundaryMesh(), E(), probes::elementList_, UList< T >::empty(), Foam::endl(), Foam::exit(), primitiveMesh::faceCentres(), treeDataFace::faceLabels(), Foam::FatalError, FatalErrorIn, polyBoundaryMesh::findPatchID(), Tuple2< Type1, Type2 >::first(), forAll, PointIndexHit< Point >::hit(), PointIndexHit< Point >::index(), Foam::Info, Pstream::listCombineGather(), Pstream::listCombineScatter(), boundBox::mag(), Foam::magSqr(), Pstream::myProcNo(), probes::probeLocations_, Tuple2< Type1, Type2 >::second(), List< T >::setSize(), indexedOctree< Type >::shapes(), List< T >::size(), Foam::sqr(), WarningIn, and polyBoundaryMesh::whichPatch().