lduMesh Class Referenceabstract

Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU-solvers. More...

Inheritance diagram for lduMesh:
[legend]

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 objectRegistrythisDb () const
 Return the object registry. More...
 
virtual const lduAddressinglduAddr () 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< lduMeshinfo () const
 Return info proxy. More...
 

Friends

Ostreamoperator<< (Ostream &, const InfoProxy< lduMesh > &)
 

Detailed Description

Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU-solvers.

Definition at line 62 of file lduMesh.H.

Constructor & Destructor Documentation

◆ ~lduMesh()

virtual ~lduMesh ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "lduMesh"  )

Runtime type information.

◆ hasDb()

virtual bool hasDb ( ) const
pure virtual

Return true if thisDb() is a valid DB.

Implemented in faMesh, fvMesh, lduPrimitiveMesh, and lduPrimitiveMeshAssembly.

◆ thisDb()

const Foam::objectRegistry & thisDb ( ) const
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().

Here is the caller graph for this function:

◆ lduAddr()

virtual const lduAddressing& lduAddr ( ) const
pure virtual

Return ldu addressing.

Implemented in faMesh, fvMesh, dynamicOversetFvMesh, and lduPrimitiveMesh.

Referenced by GAMGAgglomeration::agglomerateLduAddressing(), GAMGAgglomeration::compactLevels(), lduMatrix::lduAddr(), lduPrimitiveMesh::lduPrimitiveMesh(), and Foam::operator<<().

Here is the caller graph for this function:

◆ interfaces()

virtual lduInterfacePtrsList interfaces ( ) const
pure virtual

Return a list of pointers for each patch with only those pointing to interfaces being set

Implemented in faMesh, fvMesh, dynamicOversetFvMesh, and lduPrimitiveMesh.

Referenced by GAMGAgglomeration::compactLevels(), lduPrimitiveMesh::lduPrimitiveMesh(), and Foam::operator<<().

Here is the caller graph for this function:

◆ comm()

virtual label comm ( ) const
pure virtual

Return communicator used for parallel communication.

Implemented in faMesh, fvMesh, and lduPrimitiveMesh.

Referenced by GAMGProcAgglomeration::agglomerate(), masterCoarsestGAMGProcAgglomeration::agglomerate(), eagerGAMGProcAgglomeration::agglomerate(), procFacesGAMGProcAgglomeration::agglomerate(), manualGAMGProcAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), lduPrimitiveMesh::lduPrimitiveMesh(), and Foam::operator<<().

Here is the caller graph for this function:

◆ reduce()

void reduce ( T Value,
const BinaryOp &  bop 
) const

Helper: reduce with current communicator.

Definition at line 34 of file lduMeshTemplates.C.

References Foam::reduce().

Referenced by engineMesh::engineMesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ info()

InfoProxy<lduMesh> info ( ) const
inline

Return info proxy.

Used to print mesh information to a stream

Definition at line 110 of file lduMesh.H.

Referenced by GAMGProcAgglomeration::printStats().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const InfoProxy< lduMesh > &   
)
friend

The documentation for this class was generated from the following files: