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 ()=default |
Destructor. More... | |
virtual bool | hasDb () const =0 |
Return true if thisDb() is a valid DB. 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 |
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.
|
virtualdefault |
Destructor.
TypeName | ( | "lduMesh" | ) |
Runtime type information.
|
pure virtual |
Return true if thisDb() is a valid DB.
Implemented in faMesh, fvMesh, lduPrimitiveMeshAssembly, and lduPrimitiveMesh.
|
virtual |
Return the object registry.
Reimplemented in faMesh, fvMesh, and lduPrimitiveMeshAssembly.
Definition at line 42 of file lduMesh.C.
References NotImplemented.
Referenced by fvMatrix< Type >::lduMeshPtr().
|
pure virtual |
Return ldu addressing.
Implemented in faMesh, fvMesh, lduPrimitiveMesh, and dynamicOversetFvMesh.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), GAMGAgglomeration::compactLevels(), dummyAgglomeration::dummyAgglomeration(), GAMGAgglomeration::GAMGAgglomeration(), 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 faMesh, fvMesh, lduPrimitiveMesh, and dynamicOversetFvMesh.
Referenced by GAMGAgglomeration::compactLevels(), lduPrimitiveMesh::lduPrimitiveMesh(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), and Foam::operator<<().
|
pure virtual |
Return communicator used for parallel communication.
Implemented in fvMesh, lduPrimitiveMesh, and faMesh.
Referenced by eagerGAMGProcAgglomeration::agglomerate(), manualGAMGProcAgglomeration::agglomerate(), masterCoarsestGAMGProcAgglomeration::agglomerate(), procFacesGAMGProcAgglomeration::agglomerate(), GAMGProcAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), lduPrimitiveMesh::lduPrimitiveMesh(), Foam::operator<<(), and lduMesh::reduce().
void reduce | ( | T & | Value, |
const BinaryOp & | bop | ||
) | const |
Helper: reduce with current communicator.
Definition at line 33 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 110 of file lduMesh.H.
Referenced by GAMGProcAgglomeration::printStats().