55 const InfoProxy<lduMesh>& iproxy
58 const auto& ldum = *iproxy;
59 const lduAddressing& addr = ldum.lduAddr();
63 <<
" size:" << addr.size()
64 <<
" l:" << addr.lowerAddr().size()
65 <<
" u:" << addr.upperAddr().size()
66 <<
" interfaces:" << interfaces.size()
67 <<
" comm:" << ldum.comm()
73 if (interfaces.set(i))
75 const labelUList& faceCells = addr.patchAddr(i);
76 nCouples += faceCells.
size();
78 if (isA<processorLduInterface>(interfaces[i]))
82 const processorLduInterface
86 <<
" type:" << interfaces[i].type()
87 <<
" size:" << faceCells.size()
88 <<
" myProcNo:" <<
pi.myProcNo()
89 <<
" neighbProcNo:" <<
pi.neighbProcNo()
90 <<
" comm:" <<
pi.comm()
96 <<
" type:" << interfaces[i].type()
97 <<
" size:" << faceCells.size()
102 os <<
" Interface faces/cells:" << scalar(nCouples)/addr.size()
113 os <<
" face:" << facei <<
" l:" << l[facei]
114 <<
" u:" << u[facei] <<
endl;
118 if (interfaces.set(i))
120 const labelUList& faceCells = addr.patchAddr(i);
121 if (faceCells.size())
124 <<
" type:" << interfaces[i].type() <<
endl;
126 if (isA<processorLduInterface>(interfaces[i]))
128 const processorLduInterface&
pi =
refCast 130 const processorLduInterface
133 os <<
" myProcNo:" <<
pi.myProcNo()
134 <<
" neighbProcNo:" <<
pi.neighbProcNo()
135 <<
" comm:" <<
pi.comm()
141 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). Generates a FatalError on failed casts and uses the virtual type() m...
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.