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.
static const DimensionedField< Type, GeoMesh > & null()
Return a null DimensionedField.
tmp< GeometricField< Type, pointPatchField, pointMesh > > decomposeField(const GeometricField< Type, pointPatchField, pointMesh > &) const
Decompose point field.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
const Time & time() const
Return time.
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.
const pointBoundaryMesh & boundary() const
Return reference to boundary mesh.
void decomposeFields(const PtrList< GeoField > &fields) const