43 cyclicAMIPatch_(refCast<const cyclicAMIPointPatch>(
p)),
58 cyclicAMIPatch_(refCast<const cyclicAMIPointPatch>(
p,
dict)),
62 if (!isType<cyclicAMIPointPatch>(
p))
65 <<
"patch " << this->
patch().index() <<
" not cyclicAMI type. "
66 <<
"Patch type = " << p.type()
82 cyclicAMIPatch_(refCast<const cyclicAMIPointPatch>(
p)),
86 if (!isType<cyclicAMIPointPatch>(this->
patch()))
89 <<
"Field type does not correspond to patch type for patch "
91 <<
"Field type: " << typeName <<
endl
92 <<
"Patch type: " << this->
patch().type()
106 cyclicAMIPatch_(ptf.cyclicAMIPatch_),
121 if (cyclicAMIPatch_.cyclicAMIPatch().owner())
132 refCast<const GeometricField<Type, pointPatchField, pointMesh>>
134 this->internalField()
138 refCast<const cyclicAMIPointPatchField<Type>>
140 fld.boundaryField()[nbrPatch.
index()]
144 Field<Type> ptFld(this->patchInternalField(pField));
145 Field<Type> nbrPtFld(nbr.patchInternalField(pField));
150 const tensor& forwardT = this->forwardT()[0];
151 const tensor& reverseT = this->reverseT()[0];
161 Field<Type> nbrFcFld(nbrPpi().pointToFaceInterpolate(nbrPtFld));
164 if (cyclicAMIPatch_.cyclicAMIPatch().applyLowWeightCorrection())
166 Field<Type> fcFld(ppi().pointToFaceInterpolate(ptFld));
169 cyclicAMIPatch_.cyclicAMIPatch().interpolate
178 cyclicAMIPatch_.cyclicAMIPatch().interpolate(nbrFcFld);
182 this->addToInternalField
185 ppi().faceToPointInterpolate(nbrFcFld)()
191 Field<Type> fcFld(ppi().pointToFaceInterpolate(ptFld));
194 if (cyclicAMIPatch_.cyclicAMIPatch().applyLowWeightCorrection())
196 Field<Type> nbrFcFld(nbrPpi().pointToFaceInterpolate(nbrPtFld));
199 cyclicAMIPatch_.cyclicAMIPatch().neighbPatch().interpolate
208 cyclicAMIPatch_.cyclicAMIPatch().neighbPatch().interpolate
215 nbr.addToInternalField
218 nbrPpi().faceToPointInterpolate(fcFld)()