35 const GeometricField<Type, pointPatchField, pointMesh>& field
39 Field<Type> internalField(field.primitiveField(), pointAddressing_);
42 PtrList<pointPatchField<Type>> patchFields(boundaryAddressing_.
size());
45 forAll(boundaryAddressing_, patchi)
47 if (patchFieldDecomposerPtrs_[patchi])
54 field.boundaryField()[boundaryAddressing_[
patchi]],
57 *patchFieldDecomposerPtrs_[
patchi]
66 new processorPointPatchField<Type>
76 return tmp<GeometricField<Type, pointPatchField, pointMesh>>
78 new GeometricField<Type, pointPatchField, pointMesh>
98 template<
class GeoField>
101 const PtrList<GeoField>& fields
#define forAll(list, i)
Loop across all elements in list.
void size(const label)
Override size to be inconsistent with allocated storage.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const pointBoundaryMesh & boundary() const
Return reference to boundary mesh.
static const DimensionedField< Type, GeoMesh > & null()
Return a null DimensionedField.
const Time & time() const
Return time.
tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField(const GeometricField< Type, pointPatchField, pointMesh > &) const
Decompose point field.
static autoPtr< pointPatchField< Type > > New(const word &, const pointPatch &, const DimensionedField< Type, pointMesh > &)
Return a pointer to a new patchField created on freestore given.
A class for managing temporary objects.
void decomposeFields(const PtrList< GeoField > &fields) const