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.
|
inlinevirtual |
Destructor.
Definition at line 71 of file lduMesh.H.
References lduMesh::comm(), lduMesh::info(), lduMesh::interfaces(), lduMesh::lduAddr(), lduMesh::reduce(), Foam::T(), and lduMesh::thisDb().
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(), and lduMesh::~lduMesh().
|
pure virtual |
Return ldu addressing.
Implemented in fvMesh, and lduPrimitiveMesh.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), dummyAgglomeration::dummyAgglomeration(), lduPrimitiveMesh::gather(), GAMGProcAgglomeration::globalCellCells(), lduMatrix::lduAddr(), lduPrimitiveMesh::lduPrimitiveMesh(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), Foam::operator<<(), and lduMesh::~lduMesh().
|
pure virtual |
Return a list of pointers for each patch.
with only those pointing to interfaces being set
Implemented in fvMesh, and lduPrimitiveMesh.
Referenced by GAMGAgglomeration::compactLevels(), lduPrimitiveMesh::gather(), GAMGProcAgglomeration::globalCellCells(), lduPrimitiveMesh::lduPrimitiveMesh(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), regionCoupledBaseGAMGInterface::nbrLduInterface(), Foam::operator<<(), and lduMesh::~lduMesh().
|
pure virtual |
Return communicator used for parallel communication.
Implemented in fvMesh, and lduPrimitiveMesh.
Referenced by GAMGProcAgglomeration::agglomerate(), masterCoarsestGAMGProcAgglomeration::agglomerate(), eagerGAMGProcAgglomeration::agglomerate(), procFacesGAMGProcAgglomeration::agglomerate(), manualGAMGProcAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), GAMGProcAgglomeration::globalCellCells(), lduPrimitiveMesh::lduPrimitiveMesh(), Foam::operator<<(), smoothSolver::solve(), and lduMesh::~lduMesh().
void reduce | ( | T & | Value, |
const BinaryOp & | bop | ||
) | const |
Helper: reduce with current communicator.
Definition at line 32 of file lduMeshTemplates.C.
References Foam::reduce().
Referenced by engineMesh::engineMesh(), and lduMesh::~lduMesh().
Return info proxy.
Used to print mesh information to a stream
Definition at line 105 of file lduMesh.H.
Referenced by GAMGProcAgglomeration::printStats(), and lduMesh::~lduMesh().