67 refCast<const cyclicAMILduInterfaceField>(fineInterface);
69 doTransform_ =
p.doTransform();
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);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Abstract base class for GAMG agglomerated interface fields.
Abstract base class for GAMG agglomerated interfaces.
commsTypes
Types of communications.
GAMG agglomerated cyclic interface field.
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.
virtual ~cyclicAMIGAMGInterfaceField()
Destructor.
GAMG agglomerated cyclic AMI interface.
Abstract base class for cyclic AMI coupled interfaces.
Smooth ATC in cells next to a set of patches supplied by type.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
virtual const labelUList & patchAddr(const label patchNo) const =0
Return patch to internal addressing given patch number.
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
To & refCast(From &r)
Reference type cast template function.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)