52 this->cyclicPatch().neighbFvPatch().faceCells();
55 if (&psiInternal == &this->primitiveField())
59 if (!this->cyclicPatch().owner())
66 pnf[facei] = psiInternal[nbrFaceCells[facei]] - jf[facei];
73 pnf[facei] = psiInternal[nbrFaceCells[facei]];
78 this->transformCoupleField(pnf, cmpt);
81 const labelUList& faceCells = this->cyclicPatch().faceCells();
84 result[faceCells[elemI]] -= coeffs[elemI]*pnf[elemI];
#define forAll(list, i)
Loop across all elements in list.
commsTypes
Types of communications.
Macros for easy insertion into run-time selection tables.
makePatchFieldTypeNames(coupled)
virtual void updateInterfaceMatrix(scalarField &result, const scalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...