91 this->cyclicPatch().neighbFvPatch().faceCells();
97 if (!this->cyclicPatch().owner())
139 this->cyclicPatch().neighbFvPatch().faceCells();
142 if (&psiInternal == &this->primitiveField())
146 if (!this->cyclicPatch().owner())
153 pnf[facei] = psiInternal[nbrFaceCells[facei]] - jf[facei];
160 pnf[facei] = psiInternal[nbrFaceCells[facei]];
165 this->transformCoupleField(pnf);
168 const labelUList& faceCells = this->cyclicPatch().faceCells();
171 result[faceCells[elemI]] -= coeffs[elemI]*pnf[elemI];
#define forAll(list, i)
Loop across all elements in list.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
virtual void updateInterfaceMatrix(scalarField &, const scalarField &, const scalarField &, const direction, const Pstream::commsTypes commsType) const=0
Inherit updateInterfaceMatrix from lduInterfaceField.
commsTypes
Types of communications.
This boundary condition enforces a cyclic condition between a pair of boundaries.
A list of keyword definitions, which are a keyword followed by any number of values (e....
friend dimensionSet transform(const dimensionSet &)
Return the argument; transformations do not change the dimensions.
Foam::fvPatchFieldMapper.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a base class for coupled-cyclic conditions with a specified 'jump' (...
virtual tmp< Field< Type > > patchNeighbourField(const Pstream::commsTypes) const
Return neighbour coupled given internal cell data.
jumpCyclicFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
dimensionSet transform(const dimensionSet &)