Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU-solvers. More...
Public Member Functions | |
TypeName ("lduMesh") | |
Runtime type information. More... | |
virtual | ~lduMesh () |
Destructor. More... | |
virtual const objectRegistry & | thisDb () const |
Return the object registry. More... | |
virtual const lduAddressing & | lduAddr () const =0 |
Return ldu addressing. More... | |
virtual lduInterfacePtrsList | interfaces () const =0 |
Return a list of pointers for each patch. More... | |
virtual label | comm () const =0 |
Return communicator used for parallel communication. More... | |
template<class T , class BinaryOp > | |
void | reduce (T &Value, const BinaryOp &bop) const |
Helper: reduce with current communicator. More... | |
InfoProxy< lduMesh > | info () const |
Return info proxy. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const InfoProxy< lduMesh > &) |
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU-solvers.
TypeName | ( | "lduMesh" | ) |
Runtime type information.
|
virtual |
Return the object registry.
Reimplemented in fvMesh.
Definition at line 40 of file lduMesh.C.
References NotImplemented.
Referenced by GAMGAgglomeration::New().
|
pure virtual |
Return ldu addressing.
Implemented in lduPrimitiveMesh, and fvMesh.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), dummyAgglomeration::dummyAgglomeration(), lduPrimitiveMesh::gather(), GAMGProcAgglomeration::globalCellCells(), LduMatrix< Type, DType, LUType >::lduAddr(), lduMatrix::lduAddr(), lduPrimitiveMesh::lduPrimitiveMesh(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), and Foam::operator<<().
|
pure virtual |
Return a list of pointers for each patch.
with only those pointing to interfaces being set
Implemented in lduPrimitiveMesh, and fvMesh.
Referenced by GAMGAgglomeration::compactLevels(), lduPrimitiveMesh::gather(), GAMGProcAgglomeration::globalCellCells(), lduPrimitiveMesh::lduPrimitiveMesh(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), and Foam::operator<<().
|
pure virtual |
Return communicator used for parallel communication.
Implemented in lduPrimitiveMesh, and fvMesh.
Referenced by eagerGAMGProcAgglomeration::agglomerate(), manualGAMGProcAgglomeration::agglomerate(), masterCoarsestGAMGProcAgglomeration::agglomerate(), procFacesGAMGProcAgglomeration::agglomerate(), GAMGProcAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), GAMGProcAgglomeration::globalCellCells(), lduPrimitiveMesh::lduPrimitiveMesh(), Foam::operator<<(), and lduMesh::reduce().
void reduce | ( | T & | Value, |
const BinaryOp & | bop | ||
) | const |
Helper: reduce with current communicator.
Definition at line 31 of file lduMeshTemplates.C.
References lduMesh::comm(), UPstream::msgType(), and Foam::reduce().
Return info proxy.
Used to print mesh information to a stream
Definition at line 105 of file lduMesh.H.
Referenced by GAMGProcAgglomeration::printStats().