87 lowerPtr_ =
A.lowerPtr_;
88 A.lowerPtr_ =
nullptr;
93 diagPtr_ =
A.diagPtr_;
99 upperPtr_ =
A.upperPtr_;
100 A.upperPtr_ =
nullptr;
178 lowerPtr_ =
new scalarField(lduAddr().lowerAddr().size(), 0.0);
207 upperPtr_ =
new scalarField(lduAddr().lowerAddr().size(), 0.0);
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&");
355 os <<
"Lower:" << hasLow
356 <<
" Diag:" << hasDiag
357 <<
" Upper:" << hasUp <<
endl;
401 os.
check(
"Ostream& operator<<(Ostream&, const lduMatrix&");
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A helper class for outputting values to Ostream.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
static const label defaultMaxIter_
Default maximum number of iterations in the solver.
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
lduMatrix(const lduMesh &)
Construct given an LDU addressed mesh.
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
defineTypeNameAndDebug(combustionModel, 0)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)