67 refCast<const cyclicAMILduInterfaceField>(fineInterface);
69 doTransform_ =
p.doTransform();
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);
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 for Arbitrarily Coupled Mesh Interface (ACMI) fields.
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 ~cyclicACMIGAMGInterfaceField()
Destructor.
GAMG agglomerated cyclic ACMI 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)