60 const labelUList& faceCells = this->faceCells();
64 pif[facei] =
f[faceCells[facei]];
69 template<
class GeometricField,
class Type>
79 template<
class GeometricField,
class Type>
89 template<
class GeometricField,
class Type>
95 return patchField<GeometricField, Type>
97 db().
template lookupObject<GeometricField>(
name)
#define forAll(list, i)
Loop across all elements in list.
Pre-declare SubField and related Field type.
Generic GeometricField class.
PatchField< Type > Patch
Type of the patch field of which the Boundary is composed.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
void setSize(const label)
Reset size of List.
virtual label size() const
Return size.
const GeometricField::Patch & patchField(const GeometricField &) const
Return the corresponding patchField of the named field.
tmp< Field< Type > > patchInternalField(const UList< Type > &) const
Return given internal field next to patch as patch field.
virtual const labelUList & faceCells() const
Return faceCells.
const GeometricField::Patch & lookupPatchField(const word &name) const
Lookup and return the patchField of the named field from the.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
word name(const bool)
Return a word representation of a bool.