33template<
class GeometricField,
class AnyType>
39 lookupObject<GeometricField>(fldName)
40 .boundaryField()[this->
index()];
44template<
class GeometricField>
50 cfindObject<GeometricField>(fldName);
54 return &(fldptr->boundaryField()[this->index()]);
PatchField< Type > Patch
The patch field type for the GeometricBoundaryField.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
const bMesh & mesh() const
const fvMesh & mesh() const noexcept
Return the mesh reference.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
const GeometricField::Patch * cfindPatchField(const word &name) const
Find the named field (if any) from the local registry and return the patch field corresponding to thi...
label index() const noexcept
The index of this patch in the boundary mesh.
const fvBoundaryMesh & boundaryMesh() const noexcept
Return boundaryMesh reference.
const GeometricField::Patch & lookupPatchField(const word &name) const
Lookup the named field from the local registry and return the patch field corresponding to this patch...
A class for handling words, derived from Foam::string.