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