26 #include "patchWriter.H"
27 #include "writeFuns.H"
34 const PtrList<GeometricField<Type, fvPatchField, volMesh> >& flds
39 const GeometricField<Type, fvPatchField, volMesh>&
fld = flds[fieldI];
41 os_ <<
fld.name() <<
' ' << pTraits<Type>::nComponents <<
' '
44 DynamicList<floatScalar> fField(pTraits<Type>::nComponents*
nFaces_);
50 const fvPatchField<Type>& pfld =
fld.boundaryField()[patchI];
69 const PtrList<GeometricField<Type, pointPatchField, pointMesh> >& flds
74 const GeometricField<Type, pointPatchField, pointMesh>&
fld =
77 os_ <<
fld.name() <<
' ' << pTraits<Type>::nComponents <<
' '
80 DynamicList<floatScalar> fField(pTraits<Type>::nComponents*nPoints_);
84 label patchI = patchIDs_[j];
86 const pointPatchField<Type>& pfld =
fld.boundaryField()[patchI];
98 const PrimitivePatchInterpolation<primitivePatch>& pInter,
99 const PtrList<GeometricField<Type, fvPatchField, volMesh> >& flds
104 const GeometricField<Type, fvPatchField, volMesh>&
fld = flds[fieldI];
106 os_ <<
fld.name() <<
' ' << pTraits<Type>::nComponents <<
' '
109 DynamicList<floatScalar> fField(pTraits<Type>::nComponents*nPoints_);
113 label patchI = patchIDs_[j];
115 const fvPatchField<Type>& pfld =
fld.boundaryField()[patchI];
121 pInter.faceToPointInterpolate
123 pfld.patchInternalField()()
132 pInter.faceToPointInterpolate(pfld)(),