42 upperAddr_(ldum.lduAddr().upperAddr()),
43 lowerAddr_(ldum.lduAddr().lowerAddr()),
47 interfaces_(interfaces.count_nonnull())
49 label nInterfaces = 0;
53 if (interfaces.
test(i))
90 is >> upperAddr_ >> lowerAddr_ >> diag_ >> upper_ >> lower_ >> interfaces_;
96 os << upperAddr_ << lowerAddr_ << diag_ << upper_ << lower_ << interfaces_;
IO interface for processorLduInterface.
const T * test(const label i) const
Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie...
procLduMatrix()=default
Default construct.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
string upper(const std::string &s)
Return string copy transformed with std::toupper on each character.
A field of fields is a PtrList of fields with reference counting.
bool read(const char *buf, int32_t &val)
Same as readInt32.
#define forAll(list, i)
Loop across all elements in list.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
void write(Ostream &os) const
Istream & operator>>(Istream &, directionInfo &)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
lduMatrix is a general matrix class in which the coefficients are stored as three arrays...
string lower(const std::string &s)
Return string copy transformed with std::tolower on each character.
I/O for lduMatrix and interface values.