50 Foam::Ostream& Foam::operator<<(Ostream& os, const InfoProxy<lduMesh>& ip)
57 <<
" size:" << addr.
size()
60 <<
" interfaces:" << interfaces.
size()
61 <<
" comm:" << ldum.
comm()
66 if (interfaces.
set(i))
69 nCouples += faceCells.
size();
71 if (isA<processorLduInterface>(interfaces[i]))
79 <<
" type:" << interfaces[i].type()
80 <<
" size:" << faceCells.
size()
83 <<
" comm:" << pi.
comm()
89 <<
" type:" << interfaces[i].type()
90 <<
" size:" << faceCells.
size()
95 os <<
" Interface faces/cells:" << scalar(nCouples)/addr.
size()
106 os <<
" face:" << facei <<
" l:" << l[facei]
107 <<
" u:" << u[facei] <<
endl;
111 if (interfaces.
set(i))
114 if (faceCells.
size())
117 <<
" type:" << interfaces[i].type() <<
endl;
119 if (isA<processorLduInterface>(interfaces[i]))
128 <<
" comm:" << pi.
comm()
134 os <<
" " << i <<
" own:" << faceCells[i]
142 os.
check(
"Ostream& operator<<(Ostream&, const lduMesh&");
virtual lduInterfacePtrsList interfaces() const =0
Return a list of pointers for each patch.
#define forAll(list, i)
Loop across all elements in list.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
To & refCast(From &r)
Reference type cast template function.
Ostream & endl(Ostream &os)
Add newline and flush 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.
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
virtual const labelUList & upperAddr() const =0
Return upper addressing.
virtual const labelUList & patchAddr(const label patchNo) const =0
Return patch to internal addressing given patch number.
virtual const lduAddressing & lduAddr() const =0
Return ldu addressing.
virtual label comm() const =0
Return communicator used for parallel communication.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool set(const label) const
Is element set.
An abstract base class for processor coupled interfaces.
defineTypeNameAndDebug(combustionModel, 0)
label size() const
Return the number of elements in the UPtrList.
virtual const objectRegistry & thisDb() const
Return the object registry.
virtual int neighbProcNo() const =0
Return neighbour processor number (rank in communicator)
The class contains the addressing required by the lduMatrix: upper, lower and losort.
virtual int myProcNo() const =0
Return processor number (rank in communicator)
Registry of regIOobjects.
label size() const
Return the number of elements in the UList.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
label size() const
Return number of equations.