Go to the documentation of this file.
33 template<
class Type,
template<
class>
class PatchField>
68 const auto* vpp = isA<Field<Type>>(pfld);
117 const auto* vpp = isA<Field<Type>>(pfld);
124 toProc << pfld.patchInternalField();
135 template<
class Type,
template<
class>
class PatchField>
141 if (isState(outputState::CELL_DATA))
152 label nFaces = nLocalPolys_;
156 reduce(nFaces, sumOp<label>());
160 this->beginDataArray<Type>(
field.name(), nFaces);
164 for (
const label
patchId : patchIDs_)
168 if (useNearCellValue_)
182 const label
nPatches = patchIDs_.size();
210 for (
const label
patchId : patchIDs_)
214 if (useNearCellValue_)
216 toProc << pfld.patchInternalField()();
220 toProc << static_cast<const Field<Type>&>(pfld);
227 this->endDataArray();
261 for (
const label
patchId : patchIDs_)
265 if (useNearCellValue_)
270 pfld.patchInternalField()()
288 const label
nPatches = patchIDs_.size();
316 for (
const label
patchId : patchIDs_)
320 if (useNearCellValue_)
325 pfld.patchInternalField()()
341 this->endDataArray();
static constexpr int masterNo() noexcept
Output inter-processor communications stream.
static bool master(const label communicator=worldComm)
Ostream & endl(Ostream &os)
word format(conversionProperties.get< word >("format"))
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
static rangeType subProcs(const label communicator=worldComm)
bool isState(outputState test) const noexcept
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
reduce(hasMovingMesh, orOp< bool >())
tmp< Field< Type > > faceToPointInterpolate(const Field< Type > &ff) const
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
Ostream & reportBadState(Ostream &, outputState expected) const
void write(const GeometricField< Type, PatchField, pointMesh > &field)
Input inter-processor communications stream.
vtk::formatter & format()
Generic GeometricField class.