31 template<
class Type,
class DType,
class LUType>
45 template<
class Type,
class DType,
class LUType>
79 template<
class Type,
class DType,
class LUType>
95 diagPtr_ = A.diagPtr_;
101 upperPtr_ = A.upperPtr_;
102 A.upperPtr_ =
nullptr;
107 lowerPtr_ = A.lowerPtr_;
108 A.lowerPtr_ =
nullptr;
113 sourcePtr_ = A.sourcePtr_;
114 A.sourcePtr_ =
nullptr;
142 template<
class Type,
class DType,
class LUType>
162 template<
class Type,
class DType,
class LUType>
189 template<
class Type,
class DType,
class LUType>
201 template<
class Type,
class DType,
class LUType>
224 template<
class Type,
class DType,
class LUType>
247 template<
class Type,
class DType,
class LUType>
259 template<
class Type,
class DType,
class LUType>
265 <<
"diagPtr_ unallocated" 273 template<
class Type,
class DType,
class LUType>
276 if (!lowerPtr_ && !upperPtr_)
279 <<
"lowerPtr_ or upperPtr_ unallocated" 294 template<
class Type,
class DType,
class LUType>
297 if (!lowerPtr_ && !upperPtr_)
300 <<
"lowerPtr_ or upperPtr_ unallocated" 315 template<
class Type,
class DType,
class LUType>
321 <<
"sourcePtr_ unallocated" 331 template<
class Type,
class DType,
class LUType>
347 os <<
"Upper triangle = " 354 os <<
"Lower triangle = " 366 os.
check(
"Ostream& operator<<(Ostream&, const LduMatrix&");
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
LduMatrix(const lduMesh &)
Construct given an LDU addressed mesh.
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...
Field< LUType > & lower()
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Field< LUType > & upper()
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const lduAddressing & lduAddr() const
Return the LDU addressing.
LduMatrix is a general matrix class in which the coefficients are stored as three arrays...
label size() const
Return the number of elements in the UList.
label size() const
Return number of equations.