45 return NullObjectRef<objectRegistry>();
54 const InfoProxy<lduMesh>& iproxy
57 const auto& ldum = *iproxy;
58 const lduAddressing& addr = ldum.lduAddr();
62 <<
" size:" << addr.size()
63 <<
" l:" << addr.lowerAddr().size()
64 <<
" u:" << addr.upperAddr().size()
65 <<
" interfaces:" << interfaces.size()
66 <<
" comm:" << ldum.comm()
72 if (interfaces.set(i))
74 const labelUList& faceCells = addr.patchAddr(i);
75 nCouples += faceCells.
size();
77 if (isA<processorLduInterface>(interfaces[i]))
81 const processorLduInterface
85 <<
" type:" << interfaces[i].type()
86 <<
" size:" << faceCells.size()
87 <<
" myProcNo:" <<
pi.myProcNo()
88 <<
" neighbProcNo:" <<
pi.neighbProcNo()
89 <<
" comm:" <<
pi.comm()
95 <<
" type:" << interfaces[i].type()
96 <<
" size:" << faceCells.size()
101 os <<
" Interface faces/cells:" << scalar(nCouples)/addr.size()
112 os <<
" face:" << facei <<
" l:" << l[facei]
113 <<
" u:" << u[facei] <<
endl;
117 if (interfaces.set(i))
119 const labelUList& faceCells = addr.patchAddr(i);
120 if (faceCells.size())
123 <<
" type:" << interfaces[i].type() <<
endl;
125 if (isA<processorLduInterface>(interfaces[i]))
127 const processorLduInterface&
pi =
refCast 129 const processorLduInterface
132 os <<
" myProcNo:" <<
pi.myProcNo()
133 <<
" neighbProcNo:" <<
pi.neighbProcNo()
134 <<
" comm:" <<
pi.comm()
140 os <<
" " << i <<
" own:" << faceCells[i]
void size(const label n)
Older name for setAddressableSize.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
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...
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
UPtrList< const lduInterface > lduInterfacePtrsList
Store lists of lduInterface as a UPtrList.
constexpr scalar pi(M_PI)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
int debug
Static debugging option.
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
virtual const objectRegistry & thisDb() const
Return the object registry.
List< label > labelList
A List of labels.
Registry of regIOobjects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.