Searched refs:blocal (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex69.c | 53 Vec blocal, xlocal; in ComputeRhs() local 59 PetscCall(DMGetLocalVector(da, &blocal)); in ComputeRhs() 60 PetscCall(VecZeroEntries(blocal)); in ComputeRhs() 61 PetscCall(DMDAVecGetArray(da, blocal, &bb)); in ComputeRhs() 73 PetscCall(DMDAVecRestoreArray(da, blocal, &bb)); in ComputeRhs() 75 PetscCall(DMLocalToGlobalBegin(da, blocal, ADD_VALUES, b)); in ComputeRhs() 76 PetscCall(DMLocalToGlobalEnd(da, blocal, ADD_VALUES, b)); in ComputeRhs() 77 PetscCall(DMRestoreLocalVector(da, &blocal)); in ComputeRhs()
|
| /petsc/src/vec/is/sf/utils/ |
| H A D | sfutils.c | 859 const PetscInt *alocal, *blocal; in PetscSFMerge() local 864 PetscCall(PetscSFGetGraph(sfb, &broots, &bleaves, &blocal, &bremote)); in PetscSFMerge() 872 PetscInt b = blocal ? blocal[i] : i; in PetscSFMerge()
|