Go to the documentation of this file.
175 lowerPtr_ =
new scalarField(lduAddr().lowerAddr().size(), 0.0);
204 upperPtr_ =
new scalarField(lduAddr().lowerAddr().size(), 0.0);
261 if (!lowerPtr_ && !upperPtr_)
264 <<
"lowerPtr_ or upperPtr_ unallocated"
284 <<
"diagPtr_ unallocated"
294 if (!lowerPtr_ && !upperPtr_)
297 <<
"lowerPtr_ or upperPtr_ unallocated"
338 os.
check(
"Ostream& operator<<(Ostream&, const lduMatrix&");
346 const lduMatrix& ldum = ip.t_;
348 Switch hasLow = ldum.hasLower();
349 Switch hasDiag = ldum.hasDiag();
350 Switch hasUp = ldum.hasUpper();
352 os <<
"Lower:" << hasLow
353 <<
" Diag:" << hasDiag
354 <<
" Upper:" << hasUp <<
endl;
358 os <<
"lower:" << ldum.lower().size() <<
endl;
362 os <<
"diag :" << ldum.diag().size() <<
endl;
366 os <<
"upper:" << ldum.upper().size() <<
endl;
398 os.
check(
"Ostream& operator<<(Ostream&, const lduMatrix&");
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
Ostream & endl(Ostream &os)
Add newline and flush stream.
scalarField * lowerPtr_
Coefficients (not including interfaces)
lduMatrix(const lduMesh &)
Construct given an LDU addressed mesh.
simpleMatrix< scalar > A(Nc)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
Abstract base class for meshes which provide LDU addressing for the construction of lduMatrix and LDU...