Home
last modified time | relevance | path

Searched refs:__i (Results 1 – 7 of 7) sorted by relevance

/petsc/include/petsc/private/
H A Dhashtable.h59 khint_t __i; \
60 for (__i = kh_begin(h); __i != kh_end(h); ++__i) { \
61 if (!kh_exist(h, __i)) continue; \
62 (kvar) = kh_key(h, __i); \
63 (vvar) = kh_val(h, __i); \
78 khint_t __i; \
79 for (__i = kh_begin(h); __i != kh_end(h); ++__i) { \
80 if (!kh_exist(h, __i)) continue; \
81 (kvar) = kh_key(h, __i); \
96 khint_t __i; \
[all …]
H A Dftnimpl.h65 PETSC_FORTRAN_CHARLEN_T __i; \
66 for (__i = 0; __i < n && a[__i] != 0; __i++) { }; \
67 for (; __i < n; __i++) a[__i] = ' '; \
/petsc/include/petsc/private/kernels/
H A Dpetscaxpy.h204 for (PetscInt __i = 0; __i < _n; __i++) _U[__i] += _a1 * _p1[__i]; \
215 for (PetscInt __i = 0; __i < _n; __i++) _U[__i] += _a1 * _p1[__i] + _a2 * _p2[__i]; \
228 …for (PetscInt __i = 0; __i < _n; __i++) _U[__i] += _a1 * _p1[__i] + _a2 * _p2[__i] + _a3 * _p3[__i
243 …for (PetscInt __i = 0; __i < _n; __i++) _U[__i] += _a1 * _p1[__i] + _a2 * _p2[__i] + _a3 * _p3[__i
/petsc/src/mat/impls/sbaij/seq/
H A Drelax.h36 PetscInt __i, __i1, __i2; \
37 for (__i = 0; __i < nnz - 1; __i += 2) { \
38 __i1 = xi[__i]; \
39 __i2 = xi[__i + 1]; \
40 sum += (xv[__i] * r[__i1] + xv[__i + 1] * r[__i2]); \
42 if (nnz & 0x1) sum += xv[__i] * r[xi[__i]]; \
48 PetscInt __i; \
49 for (__i = 0; __i < nnz; __i++) sum += xv[__i] * r[xi[__i]]; \
208 PetscInt __i; in MatSOR_SeqSBAIJ_ushort() local
209 for (__i = 0; __i < nz; __i++) sum -= v[-__i] * x[vj[-__i]]; in MatSOR_SeqSBAIJ_ushort()
/petsc/src/mat/impls/aij/seq/
H A Daij.h532 PetscInt __i, __i1, __i2; \
533 for (__i = 0; __i < nnz - 1; __i += 2) { \
534 __i1 = xi[__i]; \
535 __i2 = xi[__i + 1]; \
536 sum -= (xv[__i] * r[__i1] + xv[__i + 1] * r[__i2]); \
538 if (nnz & 0x1) sum -= xv[__i] * r[xi[__i]]; \
544 PetscInt __i; \
545 for (__i = 0; __i < nnz; __i++) sum -= xv[__i] * r[xi[__i]]; \
598 PetscInt __i, __i1, __i2; \
599 for (__i = 0; __i < nnz - 1; __i += 2) { \
[all …]
/petsc/include/petsc/private/khash/
H A Dkhash.h562 #define kh_foreach(h, kvar, vvar, code) { khint_t __i; \
563 for (__i = kh_begin(h); __i != kh_end(h); ++__i) { \
564 if (!kh_exist(h,__i)) continue; \
565 (kvar) = kh_key(h,__i); \
566 (vvar) = kh_val(h,__i); \
576 #define kh_foreach_value(h, vvar, code) { khint_t __i; \
577 for (__i = kh_begin(h); __i != kh_end(h); ++__i) { \
578 if (!kh_exist(h,__i)) continue; \
579 (vvar) = kh_val(h,__i); \
/petsc/include/
H A Dpetscmat.h1258 …ocal row %" PetscInt_FMT, row, __rstart + __nrows - 1); for (PetscInt __i = 0; __i < nc; ++__i) { \
1259 if ((cols)[__i] < __start || (cols)[__i] >= __end) onz[row - __rstart]++; \
1295 PetscMacroReturnStandard(for (PetscInt __i = 0; __i < nc; __i++) { \
1296 if (cols[__i] >= __end) onz[row - __rstart]++; \
1297 else if (cols[__i] >= row && dnz[row - __rstart] < __ncols) dnz[row - __rstart]++; \