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();
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()
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))
123 <<
" type:" << interfaces[i].type() <<
endl;
132 os <<
" myProcNo:" <<
pi.myProcNo()
133 <<
" neighbProcNo:" <<
pi.neighbProcNo()
134 <<
" comm:" <<
pi.comm()
constexpr scalar pi(M_PI)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A helper class for outputting values to Ostream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void size(const label n)
Older name for setAddressableSize.
const T * set(const label i) const
Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie,...
label size() const noexcept
The number of entries in the list.
Smooth ATC in cells next to a set of patches supplied by type.
The class contains the addressing required by the lduMatrix: upper, lower and losort.
virtual const labelUList & upperAddr() const =0
Return upper addressing.
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
virtual const labelUList & patchAddr(const label patchNo) const =0
Return patch to internal addressing given patch number.
label size() const noexcept
Return number of equations.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
virtual const objectRegistry & thisDb() const
Return the object registry.
Registry of regIOobjects.
An abstract base class for processor coupled interfaces.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
OBJstream os(runTime.globalPath()/outputName)
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
const T & NullObjectRef() noexcept
Const reference (of type T) to the nullObject.
UPtrList< const lduInterface > lduInterfacePtrsList
Store lists of lduInterface as a UPtrList.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.