GAMG agglomerated cyclic interface field. More...
Public Member Functions | |
TypeName ("cyclicAMI") | |
Runtime type information. More... | |
cyclicAMIGAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterfaceField) | |
Construct from GAMG interface and fine level interface field. More... | |
cyclicAMIGAMGInterfaceField (const GAMGInterface &GAMGCp, const bool doTransform, const int rank) | |
Construct from GAMG interface and fine level interface field. More... | |
virtual | ~cyclicAMIGAMGInterfaceField () |
Destructor. More... | |
label | size () const |
Return size. More... | |
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. More... | |
virtual bool | doTransform () const |
Cyclic interface functions. More... | |
virtual const tensorField & | forwardT () const |
Return face transformation tensor. More... | |
virtual const tensorField & | reverseT () const |
Return neighbour-cell transformation tensor. More... | |
virtual int | rank () const |
Return rank of component for transform. More... | |
![]() | |
TypeName ("GAMGInterfaceField") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, GAMGInterfaceField, lduInterfaceField,(const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface),(GAMGCp, fineInterface)) | |
declareRunTimeSelectionTable (autoPtr, GAMGInterfaceField, lduInterface,(const GAMGInterface &GAMGCp, const bool doTransform, const int rank),(GAMGCp, doTransform, rank)) | |
GAMGInterfaceField (const GAMGInterface &GAMGCp, const lduInterfaceField &) | |
Construct from GAMG interface and fine level interface field. More... | |
GAMGInterfaceField (const GAMGInterface &GAMGCp, const bool doTransform, const int rank) | |
Construct from GAMG interface and fine level interface field. More... | |
const GAMGInterface & | interface () const |
Return interface. More... | |
![]() | |
TypeName ("lduInterfaceField") | |
Runtime type information. More... | |
lduInterfaceField (const lduInterface &patch) | |
Construct given coupled patch. More... | |
virtual | ~lduInterfaceField ()=default |
Destructor. More... | |
const lduInterface & | interface () const |
Return the interface. More... | |
virtual const word & | interfaceFieldType () const |
Return the interface type. More... | |
bool | updatedMatrix () const |
Whether matrix has been updated. More... | |
bool & | updatedMatrix () |
Whether matrix has been updated. More... | |
virtual bool | ready () const |
Is all data available. More... | |
virtual void | initInterfaceMatrixUpdate (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
template<class Type > | |
void | addToInternalField (Field< Type > &result, const bool add, const labelUList &faceCells, const scalarField &coeffs, const Field< Type > &vals) const |
Add/subtract weighted contributions to internal field. More... | |
![]() | |
TypeName ("cyclicAMILduInterfaceField") | |
Runtime type information. More... | |
cyclicAMILduInterfaceField () | |
Construct null. More... | |
virtual | ~cyclicAMILduInterfaceField () |
Destructor. More... | |
template<class Type > | |
void | transformCoupleField (Field< Type > &f) const |
Transform given patch field. More... | |
void | transformCoupleField (solveScalarField &psiInternal, const direction cmpt) const |
Transform given patch internal field. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< GAMGInterfaceField > | New (const GAMGInterface &GAMGCp, const lduInterfaceField &fineInterface) |
Return a pointer to a new interface created on freestore given. More... | |
static autoPtr< GAMGInterfaceField > | New (const GAMGInterface &GAMGCp, const bool doTransform, const int rank) |
Return a pointer to a new interface created on freestore given. More... | |
GAMG agglomerated cyclic interface field.
Definition at line 53 of file cyclicAMIGAMGInterfaceField.H.
cyclicAMIGAMGInterfaceField | ( | const GAMGInterface & | GAMGCp, |
const lduInterfaceField & | fineInterfaceField | ||
) |
Construct from GAMG interface and fine level interface field.
Definition at line 56 of file cyclicAMIGAMGInterfaceField.C.
References p.
cyclicAMIGAMGInterfaceField | ( | const GAMGInterface & | GAMGCp, |
const bool | doTransform, | ||
const int | rank | ||
) |
Construct from GAMG interface and fine level interface field.
Definition at line 75 of file cyclicAMIGAMGInterfaceField.C.
|
virtual |
Destructor.
Definition at line 90 of file cyclicAMIGAMGInterfaceField.C.
TypeName | ( | "cyclicAMI" | ) |
Runtime type information.
|
inline |
Return size.
Definition at line 115 of file cyclicAMIGAMGInterfaceField.H.
References GAMGInterface::size().
|
virtual |
Update result field based on interface functionality.
Implements lduInterfaceField.
Definition at line 97 of file cyclicAMIGAMGInterfaceField.C.
References Foam::add(), lduAddressing::patchAddr(), and patchId().
|
inlinevirtual |
Cyclic interface functions.
Does the interface field perform the transformation
Implements cyclicAMILduInterfaceField.
Definition at line 140 of file cyclicAMIGAMGInterfaceField.H.
|
inlinevirtual |
Return face transformation tensor.
Implements cyclicAMILduInterfaceField.
Definition at line 146 of file cyclicAMIGAMGInterfaceField.H.
References cyclicAMIGAMGInterface::forwardT().
|
inlinevirtual |
Return neighbour-cell transformation tensor.
Implements cyclicAMILduInterfaceField.
Definition at line 152 of file cyclicAMIGAMGInterfaceField.H.
References cyclicAMIGAMGInterface::reverseT().
|
inlinevirtual |
Return rank of component for transform.
Implements cyclicAMILduInterfaceField.
Definition at line 158 of file cyclicAMIGAMGInterfaceField.H.