60 this->cyclicPatch().neighbPatchID()
66 reinterpret_cast<const void*>(&psiInternal)
67 == reinterpret_cast<const void*>(&this->primitiveField())
72 if (!this->cyclicPatch().owner())
79 pnf[facei] = psiInternal[nbrFaceCells[facei]] - jf[facei];
86 pnf[facei] = psiInternal[nbrFaceCells[facei]];
91 this->transformCoupleField(pnf, cmpt);
96 this->addToInternalField(result, !
add,
faceCells, coeffs, pnf);
118 this->cyclicPatch().neighbPatchID()
126 reinterpret_cast<const void*>(&psiInternal)
127 == reinterpret_cast<const void*>(&(iField.
component(cmpt).ref()))
132 if (!this->cyclicPatch().owner())
140 psiInternal[nbrFaceCells[facei]]
148 pnf[facei] = psiInternal[nbrFaceCells[facei]];
153 this->transformCoupleField(pnf, cmpt);
158 this->addToInternalField(result, !
add, faceCells, coeffs, pnf);
commsTypes
Communications types.
Smooth ATC in cells next to a set of patches supplied by type.
Macros for easy insertion into run-time selection tables.
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
makePatchFieldTypeNames(coupled)
virtual void updateInterfaceMatrix(solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
virtual const labelUList & patchAddr(const label patchNo) const =0
Return patch to internal addressing given patch number.
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
The class contains the addressing required by the lduMatrix: upper, lower and losort.