43 cyclicPatch_(refCast<const cyclicFvPatch>(p))
57 cyclicPatch_(refCast<const cyclicFvPatch>(p))
59 if (!isType<cyclicFvPatch>(this->patch()))
63 "cyclicFvPatchField<Type>::cyclicFvPatchField\n"
65 " const cyclicFvPatchField<Type>& ptf,\n"
66 " const fvPatch& p,\n"
67 " const DimensionedField<Type, volMesh>& iF,\n"
68 " const fvPatchFieldMapper& mapper\n"
70 ) <<
"\n patch type '" << p.type()
71 <<
"' not constraint type '" << typeName <<
"'"
72 <<
"\n for patch " << p.
name()
73 <<
" of field " << this->dimensionedInternalField().name()
74 <<
" in file " << this->dimensionedInternalField().objectPath()
89 cyclicPatch_(refCast<const cyclicFvPatch>(p))
91 if (!isType<cyclicFvPatch>(p))
95 "cyclicFvPatchField<Type>::cyclicFvPatchField\n"
97 " const fvPatch& p,\n"
98 " const Field<Type>& field,\n"
99 " const dictionary& dict\n"
102 ) <<
"\n patch type '" << p.type()
103 <<
"' not constraint type '" << typeName <<
"'"
104 <<
"\n for patch " << p.
name()
105 <<
" of field " << this->dimensionedInternalField().name()
106 <<
" in file " << this->dimensionedInternalField().objectPath()
122 cyclicPatch_(ptf.cyclicPatch_)
134 cyclicPatch_(ptf.cyclicPatch_)
149 label sizeby2 = this->size()/2;
153 for (label facei=0; facei<sizeby2; facei++)
157 forwardT()[0], iField[faceCells[facei + sizeby2]]
162 reverseT()[0], iField[faceCells[facei]]
168 for (label facei=0; facei<sizeby2; facei++)
170 pnf[facei] = iField[faceCells[facei + sizeby2]];
171 pnf[facei + sizeby2] = iField[faceCells[facei]];
192 label sizeby2 = this->size()/2;
195 for (label facei=0; facei<sizeby2; facei++)
197 pnf[facei] = psiInternal[faceCells[facei + sizeby2]];
198 pnf[facei + sizeby2] = psiInternal[faceCells[facei]];
202 transformCoupleField(pnf, cmpt);
207 result[faceCells[elemI]] -= coeffs[elemI]*pnf[elemI];