Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/
H A Dstag3d.c3199 PetscCall(PetscMalloc1(DMSTAG_NUMBER_LOCATIONS, &stag->locationOffsets)); in DMStagComputeLocationOffsets_3d()
3200 stag->locationOffsets[DMSTAG_BACK_DOWN_LEFT] = 0; in DMStagComputeLocationOffsets_3d()
3201 …stag->locationOffsets[DMSTAG_BACK_DOWN] = stag->locationOffsets[DMSTAG_BACK_DOWN_LEFT] + st… in DMStagComputeLocationOffsets_3d()
3202 …stag->locationOffsets[DMSTAG_BACK_DOWN_RIGHT] = stag->locationOffsets[DMSTAG_BACK_DOWN_LEFT] + ep… in DMStagComputeLocationOffsets_3d()
3203 …stag->locationOffsets[DMSTAG_BACK_LEFT] = stag->locationOffsets[DMSTAG_BACK_DOWN] + stag->d… in DMStagComputeLocationOffsets_3d()
3204 …stag->locationOffsets[DMSTAG_BACK] = stag->locationOffsets[DMSTAG_BACK_LEFT] + stag->d… in DMStagComputeLocationOffsets_3d()
3205 stag->locationOffsets[DMSTAG_BACK_RIGHT] = stag->locationOffsets[DMSTAG_BACK_LEFT] + epe; in DMStagComputeLocationOffsets_3d()
3206 …stag->locationOffsets[DMSTAG_BACK_UP_LEFT] = stag->locationOffsets[DMSTAG_BACK_DOWN_LEFT] + ep… in DMStagComputeLocationOffsets_3d()
3207 stag->locationOffsets[DMSTAG_BACK_UP] = stag->locationOffsets[DMSTAG_BACK_DOWN] + epr; in DMStagComputeLocationOffsets_3d()
3208 stag->locationOffsets[DMSTAG_BACK_UP_RIGHT] = stag->locationOffsets[DMSTAG_BACK_UP_LEFT] + epe; in DMStagComputeLocationOffsets_3d()
[all …]
H A Dstag2d.c1149 PetscCall(PetscMalloc1(DMSTAG_NUMBER_LOCATIONS, &stag->locationOffsets)); in DMStagComputeLocationOffsets_2d()
1150 stag->locationOffsets[DMSTAG_DOWN_LEFT] = 0; in DMStagComputeLocationOffsets_2d()
1151 stag->locationOffsets[DMSTAG_DOWN] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + stag->dof[0]; in DMStagComputeLocationOffsets_2d()
1152 stag->locationOffsets[DMSTAG_DOWN_RIGHT] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + epe; in DMStagComputeLocationOffsets_2d()
1153 stag->locationOffsets[DMSTAG_LEFT] = stag->locationOffsets[DMSTAG_DOWN] + stag->dof[1]; in DMStagComputeLocationOffsets_2d()
1154 stag->locationOffsets[DMSTAG_ELEMENT] = stag->locationOffsets[DMSTAG_LEFT] + stag->dof[1]; in DMStagComputeLocationOffsets_2d()
1155 stag->locationOffsets[DMSTAG_RIGHT] = stag->locationOffsets[DMSTAG_LEFT] + epe; in DMStagComputeLocationOffsets_2d()
1156 stag->locationOffsets[DMSTAG_UP_LEFT] = stag->locationOffsets[DMSTAG_DOWN_LEFT] + epr; in DMStagComputeLocationOffsets_2d()
1157 stag->locationOffsets[DMSTAG_UP] = stag->locationOffsets[DMSTAG_DOWN] + epr; in DMStagComputeLocationOffsets_2d()
1158 stag->locationOffsets[DMSTAG_UP_RIGHT] = stag->locationOffsets[DMSTAG_UP_LEFT] + epe; in DMStagComputeLocationOffsets_2d()
H A Dstag1d.c454 PetscCall(PetscMalloc1(DMSTAG_NUMBER_LOCATIONS, &stag->locationOffsets)); in DMStagComputeLocationOffsets_1d()
455 stag->locationOffsets[DMSTAG_LEFT] = 0; in DMStagComputeLocationOffsets_1d()
456 stag->locationOffsets[DMSTAG_ELEMENT] = stag->locationOffsets[DMSTAG_LEFT] + stag->dof[0]; in DMStagComputeLocationOffsets_1d()
457 stag->locationOffsets[DMSTAG_RIGHT] = stag->locationOffsets[DMSTAG_LEFT] + epe; in DMStagComputeLocationOffsets_1d()
H A Dstagstencil.c395 ix[idx] = eLocal * epe + stag->locationOffsets[pos[idx].loc] + pos[idx].c; in DMStagStencilToIndexLocal()
405 ix[idx] = eLocal * epe + stag->locationOffsets[pos[idx].loc] + pos[idx].c; in DMStagStencilToIndexLocal()
417 ix[idx] = eLocal * epe + stag->locationOffsets[pos[idx].loc] + pos[idx].c; in DMStagStencilToIndexLocal()
H A Dstagutils.c753 *slot = stag->locationOffsets[loc] + c; in DMStagGetLocationSlot()
H A Dstag.c345 PetscCall(PetscFree(stag->locationOffsets)); in DMDestroy_Stag()
/petsc/include/petsc/private/
H A Ddmstagimpl.h39 PetscInt *locationOffsets; /* Offsets for points in loc. rep. */ member