Loading...
Searching...
No Matches
lduMesh Class Referenceabstract

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

#include <lduMesh.H>

Inheritance diagram for lduMesh:

Public Member Functions

 TypeName ("lduMesh")
 Runtime type information.
virtual ~lduMesh ()=default
 Destructor.
virtual bool hasDb () const =0
 Return true if thisDb() is a valid DB.
virtual const objectRegistrythisDb () const
 Return the object registry.
virtual const lduAddressinglduAddr () const =0
 Return ldu addressing.
virtual lduInterfacePtrsList interfaces () const =0
 Return a list of pointers for each patch with only those pointing to interfaces being set.
virtual label comm () const =0
 Return communicator used for parallel communication.
template<class T, class BinaryOp>
void reduce (T &val, BinaryOp bop) const
 Helper: reduce with current communicator.
InfoProxy< lduMeshinfo () const noexcept
 Return info proxy, used to print mesh information to a stream.

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 53 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 35 of file lduMesh.C.

References NotImplemented, and Foam::NullObjectRef().

Here is the call 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 dynamicOversetFvMesh, faMesh, fvMesh, lduPrimitiveMesh, and staticOversetFvMesh.

Referenced by lduPrimitiveMesh::lduPrimitiveMesh(), GAMGAgglomeration::printLevels(), and GAMGAgglomeration::procAgglomerateLduAddressing().

Here is the caller graph for this function:

◆ comm()

◆ reduce()

template<class T, class BinaryOp>
void reduce ( T & val,
BinaryOp bop ) const
inline

Helper: reduce with current communicator.

Definition at line 103 of file lduMesh.H.

References comm(), UPstream::msgType(), Foam::reduce(), and Foam::T().

Here is the call graph for this function:

◆ info()

InfoProxy< lduMesh > info ( ) const
inlinenoexcept

Return info proxy, used to print mesh information to a stream.

Definition at line 115 of file lduMesh.H.

References Foam::noexcept.

Referenced by GAMGProcAgglomeration::printStats().

Here is the caller graph for this function:

◆ operator<<

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

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