Lines Matching refs:cLocalStart
186 PetscInt cLocalStart; member
858 PetscInt numValues, numValuesGlobal, cLocalStart, count; in DMSetUp_pforest() local
866 cLocalStart = apforest->cLocalStart; in DMSetUp_pforest()
883 …Comm((PetscObject)dm), pforest->forest, 0, apforest->forest, apforest->cLocalStart, &coarseToPreFi… in DMSetUp_pforest()
891 …Comm((PetscObject)dm), pforest->forest, 0, apforest->forest, apforest->cLocalStart, &coarseToPreFi… in DMSetUp_pforest()
899 …ansferSF(PetscObjectComm((PetscObject)dm), apforest->forest, apforest->cLocalStart, pforest->fores… in DMSetUp_pforest()
925 for (t = flt, count = cLocalStart; t <= llt; t++) { in DMSetUp_pforest()
943 …ansferSF(PetscObjectComm((PetscObject)dm), apforest->forest, apforest->cLocalStart, pforest->fores… in DMSetUp_pforest()
945 for (t = flt, count = cLocalStart; t <= llt; t++) { in DMSetUp_pforest()
1194 PetscInt i, cLocalStart; in DMSetUp_pforest() local
1203 cLocalStart = pforest->cLocalStart = pforest->ghost->proc_offsets[rank]; in DMSetUp_pforest()
1226 … for (i = 0; i < nleaves; i++) remotesAll[(leaves ? leaves[i] : i) + cLocalStart] = remotes[i]; in DMSetUp_pforest()
1269 remotesNewRoot[i].index = i + cLocalStart; in DMSetUp_pforest()
2288 cStart = pforest->cLocalStart; in DMPforestGetCellSFNodes()
2446 …PetscCall(DMPforestGetCellCoveringSF(comm, p4estC, p4estF, pforestC->cLocalStart, pforestC->cLocal… in DMPforestGetTransferSF_Point()
2530 cLocalStartF = pforestF->cLocalStart; in DMPforestGetTransferSF_Point()
3037 PetscInt cLocalStart, cLocalEnd, cStart, cEnd, fStart, fEnd, eStart, eEnd, vStart, vEnd; in DMPforestLabelsInitialize() local
3048 cLocalStart = pforest->cLocalStart; in DMPforestLabelsInitialize()
3063 for (c = cLocalStart, t = flt; t <= llt; t++) { in DMPforestLabelsInitialize()
3218 if (c < cLocalStart) { in DMPforestLabelsInitialize()
3226 c -= cLocalStart; in DMPforestLabelsInitialize()
3246 c -= (cLocalEnd - cLocalStart); in DMPforestLabelsInitialize()
3702 PetscInt cLocalStart, cLocalEnd; in DMPforestMapCoordinates() local
3718 cLocalStart = pforest->cLocalStart; in DMPforestMapCoordinates()
3755 if (cell < cLocalStart) { in DMPforestMapCoordinates()
3760 cell -= cLocalStart; in DMPforestMapCoordinates()
3792 if (cLocalStart > 0) { in DMPforestMapCoordinates()
3796 for (count = 0; count < cLocalStart; count++) { in DMPforestMapCoordinates()
3805 PetscInt offset = cLocalStart + tree->quadrants_offset, i; in DMPforestMapCoordinates()
3815 if (cLocalEnd - cLocalStart < cEnd - cStart) { in DMPforestMapCoordinates()
3820 for (count = 0; count < numGhosts - cLocalStart; count++) { in DMPforestMapCoordinates()
3821 p4est_quadrant_t *quad = &ghosts[count + cLocalStart]; in DMPforestMapCoordinates()
3946 PetscInt cLocalStart, cLocalEnd, coarsePoint; in DMPforestLocalizeCoordinates() local
3974 cLocalStart = pforest->cLocalStart; in DMPforestLocalizeCoordinates()
3984 if (cLocalStart > 0) { in DMPforestLocalizeCoordinates()
3988 for (cell = 0; cell < cLocalStart; ++cell, cp++) { in DMPforestLocalizeCoordinates()
3997 PetscInt offset = cLocalStart + tree->quadrants_offset; in DMPforestLocalizeCoordinates()
4011 if (cLocalEnd - cLocalStart < cEnd - cStart) { in DMPforestLocalizeCoordinates()
4016 for (count = 0; count < numGhosts - cLocalStart; count++, cp++) { in DMPforestLocalizeCoordinates()
4017 p4est_quadrant_t *quad = &ghosts[count + cLocalStart]; in DMPforestLocalizeCoordinates()
4043 if (cLocalStart > 0) { in DMPforestLocalizeCoordinates()
4047 for (cell = 0; cell < cLocalStart; ++cell, cp++) { in DMPforestLocalizeCoordinates()
4056 PetscInt offset = cLocalStart + tree->quadrants_offset; in DMPforestLocalizeCoordinates()
4070 if (cLocalEnd - cLocalStart < cEnd - cStart) { in DMPforestLocalizeCoordinates()
4075 for (count = 0; count < numGhosts - cLocalStart; count++, cp++) { in DMPforestLocalizeCoordinates()
4076 p4est_quadrant_t *quad = &ghosts[count + cLocalStart]; in DMPforestLocalizeCoordinates()
4180 pforest->cLocalStart = (PetscInt)first_local_quad; in DMConvert_pforest_plex()
4181 pforest->cLocalEnd = pforest->cLocalStart + (PetscInt)pforest->forest->local_num_quadrants; in DMConvert_pforest_plex()
5035 PetscInt cStart, cEnd, cLocalStart, cLocalEnd; in DMForestCreateCellSF_pforest() local
5045 cLocalStart = pforest->cLocalStart; in DMForestCreateCellSF_pforest()
5057 nSelf = cLocalEnd - cLocalStart; in DMForestCreateCellSF_pforest()
5068 mirror[q].index = (PetscInt)mir->p.piggy3.local_num + cLocalStart; in DMForestCreateCellSF_pforest()
5195 pforest->cLocalStart = -1; in DMCreate_pforest()