34 lduMatrix::preconditioner::
35 addsymMatrixConstructorToTable<diagonalPreconditioner>
38 lduMatrix::preconditioner::
39 addasymMatrixConstructorToTable<diagonalPreconditioner>
55 scalar* __restrict__ rDPtr = rD.begin();
56 const scalar* __restrict__ DPtr = solver_.matrix().diag().begin();
58 label nCells = rD.size();
77 scalar* __restrict__ wAPtr = wA.
begin();
78 const scalar* __restrict__ rAPtr = rA.
begin();
79 const scalar* __restrict__ rDPtr = rD.begin();
A list of keyword definitions, which are a keyword followed by any number of values (e...
void size(const label)
Override size to be inconsistent with allocated storage.
const lduMatrix & matrix() const
lduMatrix::preconditioner::addasymMatrixConstructorToTable< diagonalPreconditioner > adddiagonalPreconditionerAsymMatrixConstructorToTable_
Abstract base-class for lduMatrix solvers.
iterator begin()
Return an iterator to begin traversing the UList.
defineTypeNameAndDebug(combustionModel, 0)
lduMatrix::preconditioner::addsymMatrixConstructorToTable< diagonalPreconditioner > adddiagonalPreconditionerSymMatrixConstructorToTable_
Abstract base-class for lduMatrix preconditioners.
A cell is defined as a list of faces with extra functionality.
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.