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 faMesh & mesh() const noexcept
Return the mesh reference.
virtual const objectRegistry & thisDb() const
Reference to the mesh database.
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 faBoundaryMesh & boundaryMesh() const noexcept
Return boundaryMesh reference.
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...
label index() const noexcept
The index of this patch in the boundaryMesh.
A class for handling words, derived from Foam::string.