Home
last modified time | relevance | path

Searched refs:ofill (Results 1 – 11 of 11) sorted by relevance

/petsc/src/dm/impls/sliced/
H A Dsliced.c13 DMSlicedBlockFills *dfill, *ofill; member
46 …sd_nnz[i] = (slice->d_nnz[i / bs] - 1) * (slice->ofill ? slice->ofill->i[i % bs + 1] - slice->ofil… in DMCreateMatrix_Sliced()
47 …so_nnz) so_nnz[i] = slice->o_nnz[i / bs] * (slice->ofill ? slice->ofill->i[i % bs + 1] - slice->of… in DMCreateMatrix_Sliced()
185 PetscErrorCode DMSlicedSetBlockFills(DM dm, const PetscInt dfill[], const PetscInt ofill[]) in DMSlicedSetBlockFills() argument
192 PetscCall(DMSlicedSetBlockFills_Private(slice->bs, ofill, &slice->ofill)); in DMSlicedSetBlockFills()
203 if (slice->ofill) PetscCall(PetscFree3(slice->ofill, slice->ofill->i, slice->ofill->j)); in DMDestroy_Sliced()
/petsc/src/dm/impls/da/
H A Dfdda.c75 for (k = dd->ofill[i]; k < dd->ofill[i + 1]; k++) dd->ofillcols[dd->ofill[k]] = 1; in DMDASetBlockFills_Private2()
119 PetscErrorCode DMDASetBlockFills(DM da, const PetscInt *dfill, const PetscInt *ofill) in DMDASetBlockFills() argument
126 PetscCall(DMDASetBlockFills_Private(ofill, dd->w, &dd->ofill)); in DMDASetBlockFills()
180 PetscCall(DMDASetBlockFillsSparse_Private(ofillsparse, dd->w, &dd->ofill)); in DMDASetBlockFillsSparse()
692 if (dd->ofill) { in DMCreateMatrix_DA()
706 if (dd->ofill) { in DMCreateMatrix_DA()
712 if (dd->ofill) { in DMCreateMatrix_DA()
1151 PetscInt ifill_col, *ofill = dd->ofill, *dfill = dd->dfill; in DMCreateMatrix_DA_2d_MPIAIJ_Fill() local
1197 …for (ifill_col = ofill[k]; ifill_col < ofill[k + 1]; ifill_col++) cols[cnt++] = ofill[ifill_col] +… in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1242 …for (ifill_col = ofill[k]; ifill_col < ofill[k + 1]; ifill_col++) cols[cnt++] = ofill[ifill_col] +… in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
[all …]
H A Dda.c1093 if (dd->ofill) { in DMRefine_DA()
1094 PetscCall(PetscMalloc1(dd->ofill[dd->w] + dd->w + 1, &dd2->ofill)); in DMRefine_DA()
1095 PetscCall(PetscArraycpy(dd2->ofill, dd->ofill, dd->ofill[dd->w] + dd->w + 1)); in DMRefine_DA()
1240 if (dd->ofill) { in DMCoarsen_DA()
1241 PetscCall(PetscMalloc1(dd->ofill[dd->w] + dd->w + 1, &dd2->ofill)); in DMCoarsen_DA()
1242 PetscCall(PetscArraycpy(dd2->ofill, dd->ofill, dd->ofill[dd->w] + dd->w + 1)); in DMCoarsen_DA()
H A Ddadestroy.c48 PetscCall(PetscFree(dd->ofill)); in DMDestroy_DA()
/petsc/src/dm/tests/
H A Dex52.c9 const PetscInt dfill[4] = {0, 1, 0, 1}, ofill[4] = {0, 1, 1, 0}; in main() local
15 PetscCall(DMDASetBlockFills(da, dfill, ofill)); in main()
H A Dex30.c11 …, N = 5, n, m, rstart, ghosts[2], *d_nnz, *o_nnz, dfill[4] = {1, 0, 0, 1}, ofill[4] = {1, 1, 1, 1}; in main() local
62 …if (!useblock) PetscCall(DMSlicedSetBlockFills(slice, dfill, ofill)); /* Irrelevant for baij forma… in main()
/petsc/src/dm/impls/moab/
H A Ddmmbmat.cxx150 if (dmmoab->ofill) { /* next address the off-diagonal block */ in DMMoab_Compute_NNZ_From_Connectivity()
227 PetscErrorCode DMMoabSetBlockFills(DM dm, const PetscInt *dfill, const PetscInt *ofill) in DMMoabSetBlockFills() argument
234 PetscCall(DMMoabSetBlockFills_Private(dmmoab->numFields, ofill, &dmmoab->ofill)); in DMMoabSetBlockFills()
H A Ddmmbmg.cxx484 PetscCall(DMMoabSetBlockFills(dm2, dmb->dfill, dmb->ofill)); in DMMoab_UMR_Private()
H A Ddmmoab.cxx920 PetscCall(PetscFree(dmmoab->ofill)); in DMDestroy_Moab()
/petsc/include/petsc/private/
H A Ddmmbimpl.h37 …PetscInt *dfill, *ofill; /* The diagonal and off-diagonal block-fill to indicate coupling between … member
H A Ddmdaimpl.h68 PetscInt *ofill, *dfill; member