117 refCast<const mappedPatchBase>(this->patch().patch());
132 <<
" mapping mode for patch " << this->patch().name()
142 this->sampleField().boundaryField()[samplePatchi];
152 const FieldType& nbrField = this->sampleField();
154 forAll(nbrField.boundaryField(), patchi)
163 allValues[faceStart++] = pif[facei];
175 <<
"Unknown sampling mode: " << mpp.
mode()
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type.
Generic GeometricField class.
void transfer(List< T > &list)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A List with indirect addressing. Like IndirectList but does not store addressing.
static int & msgType() noexcept
Message tag of standard messages.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Smooth ATC in cells next to a set of patches supplied by type.
virtual bool write()
Write the output fields.
Mesh data needed to do the Finite Volume discretisation.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
const fvPatch & patch() const
Return patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual label start() const
Return start label of this patch in the polyMesh face list.
This boundary condition maps the boundary and internal values of a neighbour patch field to the bound...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
This boundary condition maps the value at a set of cells or patch faces back to *this.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
@ NEARESTCELL
nearest cell containing sample
@ NEARESTPATCHFACE
nearest face on selected patch
@ NEARESTPATCHFACEAMI
nearest patch face + AMI interpolation
@ NEARESTFACE
nearest face
static const Enum< sampleMode > sampleModeNames_
const polyMesh & sampleMesh() const
Get the region mesh.
const polyPatch & samplePolyPatch() const
Get the patch on the region.
void distribute(List< Type > &lst) const
Wrapper around map/interpolate data distribution.
sampleMode mode() const noexcept
What to sample.
label index() const noexcept
The index of this patch in the boundaryMesh.
label nFaces() const noexcept
Number of mesh faces.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
static constexpr const zero Zero
Global zero (0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define forAll(list, i)
Loop across all elements in list.