GAMG agglomerated processor interface. More...
Public Member Functions | |
TypeName ("calculatedProcessor") | |
calculatedProcessorGAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm) | |
calculatedProcessorGAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, const labelUList &faceCells, const labelUList &faceRestrictAddresssing, const label coarseComm, const label myProcNo, const label neighbProcNo, const tensorField &forwardT, const int tag) | |
calculatedProcessorGAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, Istream &is) | |
virtual | ~calculatedProcessorGAMGInterface ()=default |
virtual void | initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const |
virtual tmp< labelField > | internalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const |
virtual tmp< labelField > | internalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF, const labelUList &faceCells) const |
virtual label | comm () const |
virtual int | myProcNo () const |
virtual int | neighbProcNo () const |
virtual const tensorField & | forwardT () const |
virtual int | tag () const |
virtual void | write (Ostream &os) const |
![]() | |
TypeName ("GAMGInterface") | |
declareRunTimeSelectionTable (autoPtr, GAMGInterface, lduInterface,(const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm),(index, coarseInterfaces, fineInterface, localRestrictAddressing, neighbourRestrictAddressing, fineLevelIndex, coarseComm)) | |
declareRunTimeSelectionTable (autoPtr, GAMGInterface, Istream,(const label index, const lduInterfacePtrsList &coarseInterfaces, Istream &is),(index, coarseInterfaces, is)) | |
GAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces) | |
GAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, const labelUList &faceCells, const labelUList &faceRestrictAddressing) | |
GAMGInterface (const label index, const lduInterfacePtrsList &coarseInterfaces, Istream &is) | |
virtual label | size () const |
virtual label | index () const |
virtual const lduInterfacePtrsList & | coarseInterfaces () const |
virtual const labelUList & | faceCells () const |
virtual const labelList & | faceRestrictAddressing () const |
virtual labelList & | faceRestrictAddressing () |
template<class Type > | |
tmp< Field< Type > > | interfaceInternalField (const UList< Type > &internalData) const |
template<class Type > | |
tmp< Field< Type > > | interfaceInternalField (const UList< Type > &internalData, const labelUList &faceCells) const |
template<class Type > | |
void | interfaceInternalField (const UList< Type > &internalData, List< Type > &) const |
virtual tmp< labelField > | interfaceInternalField (const labelUList &internalData) const |
virtual tmp< labelField > | interfaceInternalField (const labelUList &internalData, const labelUList &faceCells) const |
void | combine (const GAMGInterface &) |
virtual tmp< scalarField > | agglomerateCoeffs (const scalarField &fineCoeffs) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | interfaceInternalField (const UList< Type > &iF) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | interfaceInternalField (const UList< Type > &iF, const labelUList &faceCells) const |
![]() | |
TypeName ("lduInterface") | |
lduInterface ()=default | |
virtual | ~lduInterface ()=default |
virtual void | initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF, const labelUList &faceCells) const |
![]() | |
TypeName ("processorLduInterface") | |
processorLduInterface ()=default | |
virtual | ~processorLduInterface ()=default |
template<class Type > | |
void | send (const Pstream::commsTypes commsType, const UList< Type > &f) const |
template<class Type > | |
void | receive (const Pstream::commsTypes commsType, UList< Type > &f) const |
template<class Type > | |
tmp< Field< Type > > | receive (const Pstream::commsTypes commsType, const label size) const |
template<class Type > | |
void | compressedSend (const Pstream::commsTypes commsType, const UList< Type > &f) const |
template<class Type > | |
void | compressedReceive (const Pstream::commsTypes commsType, UList< Type > &f) const |
template<class Type > | |
tmp< Field< Type > > | compressedReceive (const Pstream::commsTypes commsType, const label size) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | receive (const Pstream::commsTypes commsType, const label size) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | compressedReceive (const Pstream::commsTypes commsType, const label size) const |
Additional Inherited Members | |
![]() | |
static autoPtr< GAMGInterface > | New (const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &localRestrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm) |
static autoPtr< GAMGInterface > | New (const word &coupleType, const label index, const lduInterfacePtrsList &coarseInterfaces, Istream &is) |
![]() | |
GAMGInterface (const GAMGInterface &)=delete | |
void | operator= (const GAMGInterface &)=delete |
![]() | |
const label | index_ |
const lduInterfacePtrsList & | coarseInterfaces_ |
labelList | faceCells_ |
labelList | faceRestrictAddressing_ |
GAMG agglomerated processor interface.
Definition at line 47 of file calculatedProcessorGAMGInterface.H.
calculatedProcessorGAMGInterface | ( | const label | index, |
const lduInterfacePtrsList & | coarseInterfaces, | ||
const lduInterface & | fineInterface, | ||
const labelField & | restrictAddressing, | ||
const labelField & | neighbourRestrictAddressing, | ||
const label | fineLevelIndex, | ||
const label | coarseComm | ||
) |
Definition at line 48 of file calculatedProcessorGAMGInterface.C.
References DynamicList::append(), HashTable::cfind(), forAll, and HashTable::insert().
calculatedProcessorGAMGInterface | ( | const label | index, |
const lduInterfacePtrsList & | coarseInterfaces, | ||
const labelUList & | faceCells, | ||
const labelUList & | faceRestrictAddresssing, | ||
const label | coarseComm, | ||
const label | myProcNo, | ||
const label | neighbProcNo, | ||
const tensorField & | forwardT, | ||
const int | tag | ||
) |
Definition at line 131 of file calculatedProcessorGAMGInterface.C.
calculatedProcessorGAMGInterface | ( | const label | index, |
const lduInterfacePtrsList & | coarseInterfaces, | ||
Istream & | is | ||
) |
Definition at line 159 of file calculatedProcessorGAMGInterface.C.
|
virtualdefault |
TypeName | ( | "calculatedProcessor" | ) |
|
virtual |
Reimplemented from lduInterface.
Definition at line 177 of file calculatedProcessorGAMGInterface.C.
|
virtual |
Implements lduInterface.
Definition at line 188 of file calculatedProcessorGAMGInterface.C.
|
virtual |
Definition at line 201 of file calculatedProcessorGAMGInterface.C.
References Foam::New(), NotImplemented, and Foam::Zero.
|
inlinevirtual |
Implements processorLduInterface.
Definition at line 161 of file calculatedProcessorGAMGInterface.H.
Referenced by calculatedProcessorGAMGInterfaceField::comm().
|
inlinevirtual |
Implements processorLduInterface.
Definition at line 167 of file calculatedProcessorGAMGInterface.H.
Referenced by calculatedProcessorGAMGInterfaceField::myProcNo().
|
inlinevirtual |
Implements processorLduInterface.
Definition at line 173 of file calculatedProcessorGAMGInterface.H.
Referenced by calculatedProcessorGAMGInterfaceField::neighbProcNo().
|
inlinevirtual |
Implements processorLduInterface.
Definition at line 179 of file calculatedProcessorGAMGInterface.H.
Referenced by calculatedProcessorGAMGInterfaceField::forwardT().
|
inlinevirtual |
Implements processorLduInterface.
Definition at line 185 of file calculatedProcessorGAMGInterface.H.
|
virtual |
Implements GAMGInterface.
Definition at line 213 of file calculatedProcessorGAMGInterface.C.
References os(), token::SPACE, and GAMGInterface::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.