36 #ifndef Foam_lduMesh_H 37 #define Foam_lduMesh_H 53 Ostream& operator<<(Ostream&, const InfoProxy<lduMesh>&);
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 109 friend Ostream& operator<<(Ostream&, const InfoProxy<lduMesh>&);
virtual lduInterfacePtrsList interfaces() const =0
Return a list of pointers for each patch with only those pointing to interfaces being set...
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.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
static int & msgType() noexcept
Message tag of standard messages.
virtual label comm() const =0
Return communicator used for parallel communication.
void reduce(T &value, [[maybe_unused]] BinaryOp bop, [[maybe_unused]] const int tag=UPstream::msgType(), const int communicator=UPstream::worldComm)
Reduce inplace (cf. MPI Allreduce)
TypeName("lduMesh")
Runtime type information.
virtual bool hasDb() const =0
Return true if thisDb() is a valid DB.
virtual const lduAddressing & lduAddr() const =0
Return ldu addressing.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
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...
A helper class for outputting values to Ostream.
virtual const objectRegistry & thisDb() const
Return the object registry.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
Registry of regIOobjects.