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