27 #include "writeFuns.H" 34 const UPtrList<
const 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 UPtrList<
const 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_);
86 const pointPatchField<Type>& pfld = fld.boundaryField()[
patchi];
98 const PrimitivePatchInterpolation<primitivePatch>& pInter,
99 const UPtrList<
const 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_);
115 const fvPatchField<Type>& pfld = fld.boundaryField()[
patchi];
121 pInter.faceToPointInterpolate
123 pfld.patchInternalField()()
132 pInter.faceToPointInterpolate(pfld)(),
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static void insert(const point &, DynamicList< floatScalar > &dest)
Append point to given DynamicList.
void write(const UPtrList< const GeometricField< Type, fvPatchField, volMesh >> &)
Write volFields.
static void write(std::ostream &, const bool, DynamicList< floatScalar > &)
Write floats ascii or binary.