40 tmp<GeometricField<Type, faPatchField, areaMesh>>
43 const GeometricField<Type, faPatchField, areaMesh>&
field
47 Field<Type> internalField(
field.internalField(), faceAddressing_);
50 PtrList<faPatchField<Type>> patchFields(boundaryAddressing_.size());
52 forAll(boundaryAddressing_, patchi)
54 if (boundaryAddressing_[patchi] >= 0)
61 field.boundaryField()[boundaryAddressing_[patchi]],
64 *patchFieldDecomposerPtrs_[patchi]
73 new processorFaPatchField<Type>
79 field.internalField(),
80 *processorAreaPatchFieldDecomposerPtrs_[patchi]
88 return tmp<GeometricField<Type, faPatchField, areaMesh>>
90 new GeometricField<Type, faPatchField, areaMesh>
110 tmp<GeometricField<Type, faePatchField, edgeMesh>>
113 const GeometricField<Type, faePatchField, edgeMesh>&
field
130 Field<Type> internalField
132 field.internalField(),
141 Field<Type> allEdgeField(
field.mesh().nEdges());
145 allEdgeField[i] =
field.internalField()[i];
150 const Field<Type> &
p =
field.boundaryField()[patchi];
152 const label patchStart =
field.mesh().boundary()[patchi].start();
156 allEdgeField[patchStart + i] =
p[i];
161 PtrList<faePatchField<Type>> patchFields(boundaryAddressing_.size());
163 forAll(boundaryAddressing_, patchi)
165 if (boundaryAddressing_[patchi] >= 0)
172 field.boundaryField()[boundaryAddressing_[patchi]],
175 *patchFieldDecomposerPtrs_[patchi]
184 new processorFaePatchField<Type>
191 *processorEdgePatchFieldDecomposerPtrs_[patchi]
199 return tmp<GeometricField<Type, faePatchField, edgeMesh>>
201 new GeometricField<Type, faePatchField, edgeMesh>
220 template<
class GeoField>
223 const PtrList<GeoField>&
fields