34 template<
class Type,
class LUType>
62 template<
class Type,
class DType,
class LUType>
69 Type* __restrict__ ApsiPtr = Apsi.begin();
72 const Type*
const __restrict__ psiPtr =
psi.begin();
74 const DType*
const __restrict__ diagPtr =
diag().begin();
76 const label*
const __restrict__ uPtr = lduAddr().upperAddr().begin();
77 const label*
const __restrict__ lPtr = lduAddr().lowerAddr().begin();
79 const LUType*
const __restrict__ upperPtr = upper().begin();
80 const LUType*
const __restrict__ lowerPtr = lower().begin();
97 const label nFaces = upper().size();
105 updateMatrixInterfaces
116 template<
class Type,
class DType,
class LUType>
123 Type* __restrict__ TpsiPtr = Tpsi.begin();
126 const Type*
const __restrict__ psiPtr =
psi.begin();
128 const DType*
const __restrict__ diagPtr =
diag().begin();
130 const label*
const __restrict__ uPtr = lduAddr().upperAddr().begin();
131 const label*
const __restrict__ lPtr = lduAddr().lowerAddr().begin();
133 const LUType*
const __restrict__ lowerPtr = lower().begin();
134 const LUType*
const __restrict__ upperPtr = upper().begin();
150 const label nFaces = upper().size();
158 updateMatrixInterfaces
169 template<
class Type,
class DType,
class LUType>
175 Type* __restrict__ sumAPtr = sumA.begin();
177 const DType* __restrict__ diagPtr =
diag().begin();
179 const label* __restrict__ uPtr = lduAddr().upperAddr().begin();
180 const label* __restrict__ lPtr = lduAddr().lowerAddr().begin();
182 const LUType* __restrict__ lowerPtr = lower().begin();
183 const LUType* __restrict__ upperPtr = upper().begin();
186 const label nFaces = upper().size();
201 forAll(interfaces_, patchI)
203 if (interfaces_.set(patchI))
217 template<
class Type,
class DType,
class LUType>
224 Type* __restrict__ rAPtr = rA.begin();
226 const Type*
const __restrict__ psiPtr =
psi.begin();
227 const DType*
const __restrict__ diagPtr =
diag().begin();
228 const Type*
const __restrict__ sourcePtr = source().begin();
230 const label*
const __restrict__ uPtr = lduAddr().upperAddr().begin();
231 const label*
const __restrict__ lPtr = lduAddr().lowerAddr().begin();
233 const LUType*
const __restrict__ upperPtr = upper().begin();
234 const LUType*
const __restrict__ lowerPtr = lower().begin();
244 if (interfaces_.set(
patchi))
265 const label nFaces = upper().size();
273 updateMatrixInterfaces
282 template<
class Type,
class DType,
class LUType>
289 residual(trA(),
psi);