87 lowerPtr_ = A.lowerPtr_;
88 A.lowerPtr_ =
nullptr;
93 diagPtr_ = A.diagPtr_;
99 upperPtr_ = A.upperPtr_;
100 A.upperPtr_ =
nullptr;
264 if (!lowerPtr_ && !upperPtr_)
267 <<
"lowerPtr_ or upperPtr_ unallocated" 287 <<
"diagPtr_ unallocated" 297 if (!lowerPtr_ && !upperPtr_)
300 <<
"lowerPtr_ or upperPtr_ unallocated" 341 os.
check(
"Ostream& operator<<(Ostream&, const lduMatrix&");
347 Foam::Ostream& Foam::operator<<(Ostream& os, const InfoProxy<lduMatrix>& ip)
355 os <<
"Lower:" << hasLow
356 <<
" Diag:" << hasDiag
357 <<
" Upper:" << hasUp <<
endl;
401 os.
check(
"Ostream& operator<<(Ostream&, const lduMatrix&");
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
lduMatrix(const lduMesh &)
Construct given an LDU addressed mesh.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void size(const label)
Override size to be inconsistent with allocated storage.
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...
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineTypeNameAndDebug(combustionModel, 0)
lduMatrix is a general matrix class in which the coefficients are stored as three arrays...
const lduAddressing & lduAddr() const
Return the LDU addressing.
Ostream & operator<<(Ostream &, const ensightPart &)
const lduMesh & mesh() const
Return the LDU mesh from which the addressing is obtained.
static const label defaultMaxIter_
Default maximum number of iterations in the solver.