38 cyclicGAMGInterfaceField,
44 cyclicGAMGInterfaceField,
52 cyclicGAMGInterfaceField,
59 cyclicGAMGInterfaceField,
68 Foam::cyclicGAMGInterfaceField::cyclicGAMGInterfaceField
75 cyclicInterface_(refCast<const cyclicGAMGInterface>(GAMGCp)),
80 refCast<const cyclicLduInterfaceField>(fineInterface);
87 Foam::cyclicGAMGInterfaceField::cyclicGAMGInterfaceField
90 const bool doTransform,
95 cyclicInterface_(refCast<const cyclicGAMGInterface>(GAMGCp)),
96 doTransform_(doTransform),
121 cyclicInterface_.neighbPatch().interfaceInternalField(psiInternal)
124 transformCoupleField(pnf, cmpt);
126 const labelUList& faceCells = cyclicInterface_.faceCells();
130 result[faceCells[elemI]] -= coeffs[elemI]*pnf[elemI];
#define forAll(list, i)
Loop across all elements in list.
commsTypes
Types of communications.
virtual int rank() const =0
Return rank of component for transform.
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.
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
Macros for easy insertion into run-time selection tables.
virtual ~cyclicGAMGInterfaceField()
Destructor.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
virtual bool doTransform() const =0
Is the transform required.
addNamedToRunTimeSelectionTable(GAMGProcAgglomeration, noneGAMGProcAgglomeration, GAMGAgglomeration, none)
Abstract base class for GAMG agglomerated interfaces.
Abstract base class for GAMG agglomerated interface fields.
Abstract base class for cyclic coupled interfaces.