34 lduMatrix::preconditioner::
35 addsymMatrixConstructorToTable<DICPreconditioner>
51 calcReciprocalD(rD_, sol.
matrix());
63 scalar* __restrict__ rDPtr = rD.
begin();
67 const scalar*
const __restrict__ upperPtr = matrix.
upper().
begin();
94 scalar* __restrict__ wAPtr = wA.
begin();
95 const scalar* __restrict__ rAPtr = rA.
begin();
96 const scalar* __restrict__ rDPtr = rD_.begin();
98 const label*
const __restrict__ uPtr =
99 solver_.matrix().lduAddr().upperAddr().begin();
100 const label*
const __restrict__ lPtr =
101 solver_.matrix().lduAddr().lowerAddr().begin();
102 const scalar*
const __restrict__ upperPtr =
103 solver_.matrix().upper().begin();
106 label nFaces = solver_.matrix().upper().size();
107 label nFacesM1 = nFaces - 1;
A face is a list of labels corresponding to mesh vertices.
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
virtual const labelUList & lowerAddr() const =0
Return lower addressing.
lduMatrix::preconditioner::addsymMatrixConstructorToTable< DICPreconditioner > addDICPreconditionerSymMatrixConstructorToTable_
DICPreconditioner(const lduMatrix::solver &, const dictionary &solverControlsUnused)
Construct from matrix components and preconditioner solver controls.
virtual const labelUList & upperAddr() const =0
Return upper addressing.
Abstract base-class for lduMatrix solvers.
iterator begin()
Return an iterator to begin traversing the UList.
virtual void precondition(scalarField &wA, const scalarField &rA, const direction cmpt=0) const
Return wA the preconditioned form of residual rA.
defineTypeNameAndDebug(combustionModel, 0)
lduMatrix is a general matrix class in which the coefficients are stored as three arrays...
Abstract base-class for lduMatrix preconditioners.
static void calcReciprocalD(scalarField &rD, const lduMatrix &matrix)
Calculate the reciprocal of the preconditioned diagonal.
const lduAddressing & lduAddr() const
Return the LDU addressing.
A cell is defined as a list of faces with extra functionality.