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>
110 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.
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.
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)
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.
void reduce(T &Value, const BinaryOp &bop) const
Helper: reduce with current communicator.