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

Constructor & Destructor Documentation

virtual ~lduMesh ( )
inlinevirtual

Destructor.

Definition at line 63 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 ( "lduMesh"  )

Runtime type information.

const Foam::objectRegistry & thisDb ( ) const
virtual
virtual const lduAddressing& lduAddr ( ) const
pure virtual
virtual lduInterfacePtrsList interfaces ( ) const
pure virtual
virtual label comm ( ) const
pure virtual
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 GAMGAgglomeration::continueAgglomerating(), engineMesh::engineMesh(), and lduMesh::~lduMesh().

Here is the call graph for this function:

Here is the caller graph for this function:

InfoProxy<lduMesh> info ( ) const
inline

Return info proxy.

Used to print mesh information to a stream

Definition at line 96 of file lduMesh.H.

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

Here is the caller graph for this function:

Friends And Related Function Documentation

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

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