Go to the documentation of this file.
43 if (Pstream::master())
45 unsigned int w = IOstream::defaultPrecision() + 7;
46 OFstream& probeStream = *probeFilePtrs_[vField.name()];
50 << vField.time().timeOutputValue();
54 probeStream <<
' ' <<
setw(w) <<
values[probei];
69 if (Pstream::master())
71 unsigned int w = IOstream::defaultPrecision() + 7;
72 OFstream& probeStream = *probeFilePtrs_[sField.name()];
76 << sField.time().timeOutputValue();
80 probeStream <<
' ' <<
setw(w) <<
values[probei];
104 mesh_.time().timeName(),
116 objectRegistry::const_iterator iter = mesh_.find(
fields[fieldi]);
156 mesh_.time().timeName(),
168 objectRegistry::const_iterator iter = mesh_.find(
fields[fieldi]);
213 label facei = faceList_[probei];
217 label patchi =
patches.whichPatch(facei);
218 label localFacei =
patches[patchi].whichFace(facei);
224 Pstream::listCombineScatter(
values);
264 label facei = faceList_[probei];
269 label localFacei =
patches[patchi].whichFace(facei);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
A class for managing temporary objects.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Class used for grouping field types.
#define forAll(list, i)
Loop across all elements in list.
const fvMesh & mesh_
Const reference to fvMesh.
Generic templated field type.
tmp< Field< Type > > sample(const GeometricField< Type, fvPatchField, volMesh > &) const
Sample a volume field at all locations.
Istream and Ostream manipulators taking arguments.
label whichPatch(const label faceIndex) const
Return patch index for a given face label.
const Type & lookupObject(const word &name, const bool recursive=false) const
Omanip< int > setw(const int i)
Output to file stream, using an OSstream.
void sampleAndWriteSurfaceFields(const fieldGroup< Type > &)
Sample and write all the surface fields of the given type.
static void listCombineGather(const List< commsStruct > &comms, List< T > &Value, const CombineOp &cop, const int tag, const label comm)
A traits class, which is primarily used for primitives.
const polyBoundaryMesh & patches
static void listCombineScatter(const List< commsStruct > &comms, List< T > &Value, const int tag, const label comm)
Scatter data. Reverse of combineGather.
void sampleAndWrite(const GeometricField< Type, fvPatchField, volMesh > &)
Sample and write a particular volume field.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Minimal example by using system/controlDict.functions: