77 virtual bool hasDb()
const = 0;
90 virtual label
comm()
const = 0;
93 template<
class T,
class BinaryOp>
94 void reduce(
T& val, BinaryOp bop)
const
A helper class for outputting values to Ostream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static int & msgType() noexcept
Message tag of standard messages.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
virtual label comm() const =0
Return communicator used for parallel communication.
friend Ostream & operator<<(Ostream &, const InfoProxy< lduMesh > &)
TypeName("lduMesh")
Runtime type information.
virtual bool hasDb() const =0
Return true if thisDb() is a valid DB.
virtual const objectRegistry & thisDb() const
Return the object registry.
virtual const lduAddressing & lduAddr() const =0
Return ldu addressing.
virtual ~lduMesh()=default
Destructor.
InfoProxy< lduMesh > info() const noexcept
Return info proxy, used to print mesh information to a stream.
void reduce(T &val, BinaryOp bop) const
Helper: reduce with current communicator.
virtual lduInterfacePtrsList interfaces() const =0
Return a list of pointers for each patch with only those pointing to interfaces being set.
Registry of regIOobjects.
UPtrList< const lduInterface > lduInterfacePtrsList
Store lists of lduInterface as a UPtrList.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
void reduce(T &value, BinaryOp bop, const int tag=UPstream::msgType(), const int communicator=UPstream::worldComm)
Reduce inplace (cf. MPI Allreduce).
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.