41 const label len = this->
size();
45 for (label i = 0; i < len; ++i)
47 pfld[i] = internalData[addressing[i]];
55 const UList<Type>& internalData,
59 patchInternalField(internalData, this->
faceCells(), pfld);
70 patchInternalField(internalData, this->
faceCells(), tpfld.ref());
75 template<
class GeometricField,
class AnyType>
const GeometricField::Patch & patchField(const GeometricField &gf) const
Return the patch field of the GeometricField corresponding to this patch.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
void resize_nocopy(const label len)
Adjust allocated size of list without necessarily.
Generic GeometricField class.
Smooth ATC in cells next to a set of patches supplied by type.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
void patchInternalField(const UList< Type > &internalData, const labelUList &addressing, Field< Type > &pfld) const
Extract internal field next to patch using specified addressing.
Generic templated field type.
virtual label size() const
Patch size is the number of faces, but can be overloaded.
A class for managing temporary objects.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.