Lines Matching refs:bt
452 PetscBT bt, blst; in DMCreateSectionPermutation_Plex_Cohesive_Old() local
459 PetscCall(PetscBTCreate(pEnd - pStart, &bt)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
469 if (PetscBTLookupSet(bt, p)) continue; in DMCreateSectionPermutation_Plex_Cohesive_Old()
489 if (!PetscBTLookupSet(bt, q)) { in DMCreateSectionPermutation_Plex_Cohesive_Old()
510 if (!PetscBTLookupSet(bt, qsupp[qs])) { in DMCreateSectionPermutation_Plex_Cohesive_Old()
522 if (!PetscBTLookupSet(bt, qq)) { in DMCreateSectionPermutation_Plex_Cohesive_Old()
533 …for (PetscInt p = pStart; p < pEnd; ++p) PetscCheck(PetscBTLookup(bt, p), PETSC_COMM_SELF, PETSC_E… in DMCreateSectionPermutation_Plex_Cohesive_Old()
535 PetscCall(PetscBTDestroy(&bt)); in DMCreateSectionPermutation_Plex_Cohesive_Old()
545 static PetscErrorCode InsertCohesiveBlock_Private(DM dm, PetscBT bt, PetscBT blst, PetscInt p, Pets… in InsertCohesiveBlock_Private() argument
551 if (PetscBTLookupSet(bt, p)) PetscFunctionReturn(PETSC_SUCCESS); in InsertCohesiveBlock_Private()
556 if (!PetscBTLookupSet(bt, cone[0])) perm[(*idx)++] = cone[0]; in InsertCohesiveBlock_Private()
557 if (!PetscBTLookupSet(bt, cone[1])) perm[(*idx)++] = cone[1]; in InsertCohesiveBlock_Private()
559 …for (PetscInt c = 2; c < cS; ++c) PetscCall(InsertCohesiveBlock_Private(dm, bt, NULL, cone[c], idx… in InsertCohesiveBlock_Private()
569 PetscBT bt, blst; in DMCreateSectionPermutation_Plex_Cohesive() local
577 PetscCall(PetscBTCreate(pEnd - pStart, &bt)); in DMCreateSectionPermutation_Plex_Cohesive()
586 …if (ct == DM_POLYTOPE_SEG_PRISM_TENSOR) PetscCall(InsertCohesiveBlock_Private(dm, bt, blst, p, &i,… in DMCreateSectionPermutation_Plex_Cohesive()
589 …= DM_POLYTOPE_QUAD_PRISM_TENSOR) PetscCall(InsertCohesiveBlock_Private(dm, bt, blst, p, &i, perm)); in DMCreateSectionPermutation_Plex_Cohesive()
597 if (PetscBTLookupSet(bt, p)) continue; in DMCreateSectionPermutation_Plex_Cohesive()
602 …for (PetscInt p = pStart; p < pEnd; ++p) PetscCheck(PetscBTLookup(bt, p), PETSC_COMM_SELF, PETSC_E… in DMCreateSectionPermutation_Plex_Cohesive()
604 PetscCall(PetscBTDestroy(&bt)); in DMCreateSectionPermutation_Plex_Cohesive()