Public Member Functions | Friends | List of all members
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:
Inheritance graph
[legend]

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.

References lduMesh::comm(), lduMesh::info(), lduMesh::interfaces(), lduMesh::lduAddr(), lduMesh::reduce(), Foam::T(), and lduMesh::thisDb().

Here is the call graph for this function:

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(), and lduMesh::~lduMesh().

Here is the caller graph for this function:

◆ lduAddr()

virtual const lduAddressing& lduAddr ( ) const
pure virtual

◆ interfaces()

virtual lduInterfacePtrsList interfaces ( ) const
pure virtual

◆ comm()

virtual label comm ( ) const
pure virtual

◆ reduce()

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

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 105 of file lduMesh.H.

Referenced by GAMGProcAgglomeration::printStats(), and lduMesh::~lduMesh().

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: