Go to the documentation of this file.
39 const labelList& faceLabels = mesh_.faceLabels();
57 if (faceLabels[i] < pMesh.
nFaces())
60 faceID = bm[
patchID].whichFace(faceLabels[i]);
62 result[i] = df[
patchID][faceID];
78 const labelList& faceLabels = mesh_.faceLabels();
91 if (faceLabels[i] < pMesh.
nFaces())
94 faceID = bm[
patchID].whichFace(faceLabels[i]);
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
label nFaces() const
Number of mesh faces.
tmp< Field< Type > > mapToSurface(const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &df) const
Map droplet cloud sources to surface.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
const Internal & internalField() const
Return a const-reference to the dimensioned internal field.
Mesh consisting of general polyhedral cells.
#define forAll(list, i)
Loop across all elements in list.
Generic templated field type.
label whichPatch(const label faceIndex) const
Return patch index for a given face label.
void mapToVolume(const GeometricField< Type, faPatchField, areaMesh > &af, typename GeometricField< Type, fvPatchField, volMesh >::Boundary &bf) const
Map surface field to volume boundary field.
vsm mapToVolume(Cs, Cvf.boundaryFieldRef())
Generic GeometricField class.