34 lduMatrix::preconditioner::
35 addsymMatrixConstructorToTable<diagonalPreconditioner>
38 lduMatrix::preconditioner::
39 addasymMatrixConstructorToTable<diagonalPreconditioner>
53 rD(sol.matrix().
diag().size())
55 scalar* __restrict__ rDPtr = rD.
begin();
77 scalar* __restrict__ wAPtr = wA.
begin();
78 const scalar* __restrict__ rAPtr = rA.
begin();
79 const scalar* __restrict__ rDPtr = rD.begin();
void size(const label)
Override size to be inconsistent with allocated storage.
iterator begin()
Return an iterator to begin traversing the UList.
A cell is defined as a list of faces with extra functionality.
Diagonal preconditioner for both symmetric and asymmetric matrices.
virtual void precondition(scalarField &wA, const scalarField &rA, const direction cmpt=0) const
Return wA the preconditioned form of residual rA.
diagonalPreconditioner(const lduMatrix::solver &, const dictionary &solverControlsUnused)
Construct from matrix components and preconditioner solver controls.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const solver & solver_
Reference to the base-solver this preconditioner is used with.
Abstract base-class for lduMatrix solvers.
const lduMatrix & matrix() const
lduMatrix is a general matrix class in which the coefficients are stored as three arrays,...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
lduMatrix::preconditioner::addasymMatrixConstructorToTable< diagonalPreconditioner > adddiagonalPreconditionerAsymMatrixConstructorToTable_
lduMatrix::preconditioner::addsymMatrixConstructorToTable< diagonalPreconditioner > adddiagonalPreconditionerSymMatrixConstructorToTable_
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
defineTypeNameAndDebug(combustionModel, 0)