Go to the documentation of this file.
30 template<
class Type,
class DType,
class LUType>
38 rD(sol.matrix().
diag().size())
40 DType* __restrict__ rDPtr = rD.begin();
41 const DType* __restrict__ DPtr = this->solver_.matrix().
diag().begin();
43 label nCells = rD.size();
55 template<
class Type,
class DType,
class LUType>
60 template<
class Type,
class DType,
class LUType>
67 Type* __restrict__ wAPtr = wA.begin();
68 const Type* __restrict__ rAPtr = rA.begin();
69 const DType* __restrict__ rDPtr = rD.begin();
71 label nCells = wA.size();
void dot(FieldField< Field1, typename innerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
LduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
virtual void read(const dictionary &preconditionerDict)
Read and reset the preconditioner parameters from the given.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void precondition(Field< Type > &wA, const Field< Type > &rA) const
Return wA the preconditioned form of residual rA.
A cell is defined as a list of faces with extra functionality.
DiagonalPreconditioner(const DiagonalPreconditioner &)
Disallow default bitwise copy construct.