62 <<
" Unknown patch name "
77 bndFaces[i] = pp.
start() + i;
81 overallBb = overallBb.
extend(1
e-4);
101 scalar span = boundaryTree.
bb().
mag();
111 info = boundaryTree.findNearest
122 if (isA<emptyPolyPatch>(bm[
patchi]))
125 <<
" The sample point: " << sample
126 <<
" belongs to " <<
patchi
127 <<
" which is an empty patch. This is not permitted. "
128 <<
" This sample will not be included "
136 nearest[probei].elementi = facei;
156 <<
" found on processor:" << nearest[sampleI].proci
157 <<
" in local cell/face:" << nearest[sampleI].elementi
204 if (this->size() && prepare())
206 sampleAndWrite(scalarFields_);
207 sampleAndWrite(vectorFields_);
208 sampleAndWrite(sphericalTensorFields_);
209 sampleAndWrite(symmTensorFields_);
210 sampleAndWrite(tensorFields_);
212 sampleAndWriteSurfaceFields(surfaceScalarFields_);
213 sampleAndWriteSurfaceFields(surfaceVectorFields_);
214 sampleAndWriteSurfaceFields(surfaceSphericalTensorFields_);
215 sampleAndWriteSurfaceFields(surfaceSymmTensorFields_);
216 sampleAndWriteSurfaceFields(surfaceTensorFields_);
Istream and Ostream manipulators taking arguments.
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label size() const
Return the number of elements in the UList.
void size(const label)
Override size to be inconsistent with allocated storage.
void clear()
Clear the list, i.e. set size to zero.
void setSize(const label)
Reset size of List.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
label index() const
Return index.
bool hit() const
Is there a hit.
const Field< PointType > & points() const
Return reference to global points.
static void listCombineGather(const List< commsStruct > &comms, List< T > &Value, const CombineOp &cop, const int tag, const label comm)
static void listCombineScatter(const List< commsStruct > &comms, List< T > &Value, const int tag, const label comm)
Scatter data. Reverse of combineGather.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
label size() const
Return the number of elements in the UList.
T & operator[](const label)
Return element of UList.
T * data()
Return a pointer to the first data element,.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
scalar mag() const
The magnitude of the bounding box span.
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Abstract base-class for Time/database functionObjects.
Mesh data needed to do the Finite Volume discretisation.
Non-pointer based hierarchical recursive searching.
const Type & shapes() const
Reference to shape.
const treeBoundBox & bb() const
Top bounding box.
Set of locations to sample.at patches.
virtual void findElements(const fvMesh &)
Find elements containing patchProbes.
patchProbes(const word &name, const Time &time, const dictionary &dict)
Construct from Time and dictionary.
virtual bool write()
Sample and write.
virtual ~patchProbes()
Destructor.
virtual bool read(const dictionary &)
Read.
label findIndex(const word &patchName) const
Find patch index given a name.
label whichPatch(const label faceIndex) const
Return patch index for a given face label.
const labelIOList & tetBasePtIs() const
Return the tetBasePtIs.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A patch is a list of labels that address the faces in the global face list.
label start() const
Return start label of this patch in the polyMesh face list.
const vectorField & faceCentres() const
Set of locations to sample.
virtual const pointField & probeLocations() const
Return locations to probe.
virtual bool read(const dictionary &)
Read the probes.
Standard boundBox + extra functionality for use in octree.
treeBoundBox extend(const scalar s) const
Return asymmetrically extended bounding box, with guaranteed.
Encapsulation of data needed to search for faces.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define WarningInFunction
Report a warning using Foam::Warning.
#define InfoInFunction
Report an information message using Foam::Info.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
Operator to take smallest valid value.