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:

Public Member Functions

 TypeName ("lduMesh")
 Runtime type information. More...
 
virtual ~lduMesh ()
 Destructor. More...
 
virtual const objectRegistrythisDb () const
 Return the object registry. More...
 
virtual const lduAddressinglduAddr () 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< 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 59 of file lduMesh.H.

Constructor & Destructor Documentation

◆ ~lduMesh()

virtual ~lduMesh ( )
inlinevirtual

Destructor.

Definition at line 71 of file lduMesh.H.

Member Function Documentation

◆ TypeName()

TypeName ( "lduMesh"  )

Runtime type information.

◆ thisDb()

const Foam::objectRegistry & thisDb ( ) const
virtual

Return the object registry.

Reimplemented in fvMesh.

Definition at line 40 of file lduMesh.C.

References NotImplemented.

Referenced by GAMGAgglomeration::New().

Here is the caller graph for this function:

◆ lduAddr()

◆ 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 lduPrimitiveMesh, and fvMesh.

Referenced by GAMGAgglomeration::compactLevels(), lduPrimitiveMesh::gather(), GAMGProcAgglomeration::globalCellCells(), lduPrimitiveMesh::lduPrimitiveMesh(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), and Foam::operator<<().

Here is the caller graph for this function:

◆ comm()

◆ 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().

Here is the call graph for this function:

◆ info()

InfoProxy<lduMesh> info ( ) const
inline

Return info proxy.

Used to print mesh information to a stream

Definition at line 105 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: