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 |
Return a list of pointers for each patch with only those pointing to interfaces being set. 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 noexcept |
Return info proxy, used to print mesh information to a stream. 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, lduPrimitiveMesh, and lduPrimitiveMeshAssembly.
|
virtual |
Return the object registry.
Reimplemented in faMesh, fvMesh, and lduPrimitiveMeshAssembly.
Definition at line 35 of file lduMesh.C.
References NotImplemented.
Referenced by fvMatrix< Type >::lduMeshPtr().
|
pure virtual |
Return ldu addressing.
Implemented in faMesh, fvMesh, lduPrimitiveMesh, dynamicOversetFvMesh, and staticOversetFvMesh.
Referenced by masterCoarsestGAMGProcAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), lduMatrix::lduAddr(), lduPrimitiveMesh::lduPrimitiveMesh(), and GAMGAgglomeration::printLevels().
|
pure virtual |
Return a list of pointers for each patch with only those pointing to interfaces being set.
Implemented in faMesh, fvMesh, lduPrimitiveMesh, dynamicOversetFvMesh, and staticOversetFvMesh.
Referenced by lduPrimitiveMesh::lduPrimitiveMesh(), and GAMGAgglomeration::printLevels().
|
pure virtual |
Return communicator used for parallel communication.
Implemented in faMesh, fvMesh, and lduPrimitiveMesh.
Referenced by GAMGProcAgglomeration::agglomerate(), eagerGAMGProcAgglomeration::agglomerate(), manualGAMGProcAgglomeration::agglomerate(), procFacesGAMGProcAgglomeration::agglomerate(), masterCoarsestGAMGProcAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), lduPrimitiveMesh::lduPrimitiveMesh(), and masterCoarsestGAMGProcAgglomeration::masterCoarsestGAMGProcAgglomeration().
void reduce | ( | T & | Value, |
const BinaryOp & | bop | ||
) | const |
Helper: reduce with current communicator.
Definition at line 27 of file lduMeshTemplates.C.
References Foam::reduce().
Referenced by engineMesh::engineMesh().
Return info proxy, used to print mesh information to a stream.
Definition at line 116 of file lduMesh.H.
Referenced by GAMGProcAgglomeration::printStats().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.