41 cyclicACMIGAMGInterfaceField,
47 cyclicACMIGAMGInterfaceField,
55 Foam::cyclicACMIGAMGInterfaceField::cyclicACMIGAMGInterfaceField
67 refCast<const cyclicAMILduInterfaceField>(fineInterface);
69 doTransform_ =
p.doTransform();
74 Foam::cyclicACMIGAMGInterfaceField::cyclicACMIGAMGInterfaceField
77 const bool doTransform,
83 doTransform_(doTransform),
112 cyclicACMIInterface_.neighbPatchID()
118 transformCoupleField(pnf, cmpt);
120 if (cyclicACMIInterface_.owner())
122 pnf = cyclicACMIInterface_.AMI().interpolateToSource(pnf);
126 pnf = cyclicACMIInterface_.neighbPatch().AMI().interpolateToTarget(pnf);
131 this->addToInternalField(result, !
add, faceCells, coeffs, pnf);
GAMG agglomerated cyclic ACMI interface.
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.
commsTypes
Types of communications.
Type & refCast(U &obj)
A dynamic_cast (for references) that generates FatalError on failed casts, uses the virtual type() me...
virtual ~cyclicACMIGAMGInterfaceField()
Destructor.
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 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)
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.