41 cyclicAMIGAMGInterfaceField,
47 cyclicAMIGAMGInterfaceField,
55 Foam::cyclicAMIGAMGInterfaceField::cyclicAMIGAMGInterfaceField
67 refCast<const cyclicAMILduInterfaceField>(fineInterface);
69 doTransform_ =
p.doTransform();
74 Foam::cyclicAMIGAMGInterfaceField::cyclicAMIGAMGInterfaceField
77 const bool doTransform,
83 doTransform_(doTransform),
113 cyclicAMIInterface_.neighbPatchID()
119 transformCoupleField(pnf, cmpt);
121 if (cyclicAMIInterface_.owner())
123 pnf = cyclicAMIInterface_.AMI().interpolateToSource(pnf);
127 pnf = cyclicAMIInterface_.neighbPatch().AMI().interpolateToTarget(pnf);
132 this->addToInternalField(result, !
add, faceCells, coeffs, pnf);
GAMG agglomerated cyclic AMI interface.
commsTypes
Communications types.
Type & refCast(U &obj)
A dynamic_cast (for references). Generates a FatalError on failed casts and uses the virtual type() m...
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.
UList< label > labelUList
A UList of labels.
Abstract base class for cyclic AMI coupled interfaces.
virtual ~cyclicAMIGAMGInterfaceField()
Destructor.
virtual const labelUList & patchAddr(const label patchNo) const =0
Return patch to internal addressing given patch number.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
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.
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Abstract base class for GAMG agglomerated interfaces.
Abstract base class for GAMG agglomerated interface fields.
The class contains the addressing required by the lduMatrix: upper, lower and losort.