Lines Matching refs:pEnd
8 PetscInt depth, d, pStart, pEnd, fStart, fMax, fEnd, p; in DMPlexCreateOrderingClosure_Static() local
12 PetscCall(DMPlexGetChart(dm, &pStart, &pEnd)); in DMPlexCreateOrderingClosure_Static()
13 PetscCall(PetscMalloc1(pEnd - pStart, &perm)); in DMPlexCreateOrderingClosure_Static()
14 PetscCall(PetscMalloc1(pEnd - pStart, &iperm)); in DMPlexCreateOrderingClosure_Static()
15 for (p = pStart; p < pEnd; ++p) iperm[p] = -1; in DMPlexCreateOrderingClosure_Static()
17 PetscCall(DMPlexGetDepthStratum(dm, d, &pStart, &pEnd)); in DMPlexCreateOrderingClosure_Static()
20 for (p = pStart; p < pEnd; ++p) { in DMPlexCreateOrderingClosure_Static()
72 …ULL, *adjacency = NULL, *cperm, *clperm = NULL, *invclperm = NULL, *mask, *xls, pStart, pEnd, c, i; in DMPlexGetOrdering() local
131 PetscCall(DMPlexGetChart(dm, &pStart, &pEnd)); in DMPlexGetOrdering()
132 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), pEnd - pStart, invclperm, PETSC_OWN_PO… in DMPlexGetOrdering()
155 PetscInt dim, pStart, pEnd, cStart, cEnd, c, vStart, vEnd, v, suppSize, lastCell = 0; in DMPlexGetOrdering1D() local
160 PetscCall(DMPlexGetChart(dm, &pStart, &pEnd)); in DMPlexGetOrdering1D()
163 PetscCall(PetscMalloc1(pEnd - pStart, &points)); in DMPlexGetOrdering1D()
192 …Check(pos == pEnd, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_WRONG, "Last vertex was %" Pets… in DMPlexGetOrdering1D()
194 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), pEnd - pStart, points, PETSC_OWN_POINT… in DMPlexGetOrdering1D()
202 PetscInt pStart, pEnd, p; in DMPlexRemapCoordinates_Private() local
212 PetscCall(PetscSectionGetChart(*csNew, &pStart, &pEnd)); in DMPlexRemapCoordinates_Private()
214 for (p = pStart; p < pEnd; ++p) { in DMPlexRemapCoordinates_Private()
300 PetscInt n, pStart, pEnd, p; in DMPlexPermute() local
308 PetscCall(PetscSectionGetChart(plex->coneSection, &pStart, &pEnd)); in DMPlexPermute()
309 for (p = pStart; p < pEnd; ++p) { in DMPlexPermute()
324 PetscCall(PetscSectionGetChart(plex->supportSection, &pStart, &pEnd)); in DMPlexPermute()
325 for (p = pStart; p < pEnd; ++p) { in DMPlexPermute()
436 PetscInt pStart, pEnd; in DMCreateSectionPermutation_Plex_Reverse() local
439 PetscCall(DMPlexGetChart(dm, &pStart, &pEnd)); in DMCreateSectionPermutation_Plex_Reverse()
440 PetscCall(PetscMalloc1(pEnd - pStart, &perm)); in DMCreateSectionPermutation_Plex_Reverse()
441 for (PetscInt p = pStart; p < pEnd; ++p) perm[pEnd - 1 - p] = p; in DMCreateSectionPermutation_Plex_Reverse()
442 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, pEnd - pStart, perm, PETSC_OWN_POINTER, &permIS)); in DMCreateSectionPermutation_Plex_Reverse()
454 PetscInt pStart, pEnd, i = 0; in DMCreateSectionPermutation_Plex_Cohesive_Old() local
457 PetscCall(DMPlexGetChart(dm, &pStart, &pEnd)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
458 PetscCall(PetscMalloc1(pEnd - pStart, &perm)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
459 PetscCall(PetscBTCreate(pEnd - pStart, &bt)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
460 PetscCall(PetscBTCreate(pEnd - pStart, &blst)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
461 for (PetscInt p = pStart; p < pEnd; ++p) { in DMCreateSectionPermutation_Plex_Cohesive_Old()
533 …pEnd; ++p) PetscCheck(PetscBTLookup(bt, p), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Index %" PetscInt_FM… in DMCreateSectionPermutation_Plex_Cohesive_Old()
536 …pEnd - pStart, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Number of points in permutation %" PetscInt… in DMCreateSectionPermutation_Plex_Cohesive_Old()
537 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, pEnd - pStart, perm, PETSC_OWN_POINTER, &permIS)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
571 PetscInt dim, pStart, pEnd, i = 0; in DMCreateSectionPermutation_Plex_Cohesive() local
575 PetscCall(DMPlexGetChart(dm, &pStart, &pEnd)); in DMCreateSectionPermutation_Plex_Cohesive()
576 PetscCall(PetscMalloc1(pEnd - pStart, &perm)); in DMCreateSectionPermutation_Plex_Cohesive()
577 PetscCall(PetscBTCreate(pEnd - pStart, &bt)); in DMCreateSectionPermutation_Plex_Cohesive()
578 PetscCall(PetscBTCreate(pEnd - pStart, &blst)); in DMCreateSectionPermutation_Plex_Cohesive()
580 for (PetscInt p = pStart; p < pEnd; ++p) { in DMCreateSectionPermutation_Plex_Cohesive()
596 for (PetscInt p = pStart; p < pEnd; ++p) { in DMCreateSectionPermutation_Plex_Cohesive()
602 …pEnd; ++p) PetscCheck(PetscBTLookup(bt, p), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Index %" PetscInt_FM… in DMCreateSectionPermutation_Plex_Cohesive()
605 …pEnd - pStart, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Number of points in permutation %" PetscInt… in DMCreateSectionPermutation_Plex_Cohesive()
606 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, pEnd - pStart, perm, PETSC_OWN_POINTER, &permIS)); in DMCreateSectionPermutation_Plex_Cohesive()