Lines Matching refs:bcPoints

194 … PetscInt numBC, const PetscInt bcField[], const IS bcComps[], const IS bcPoints[], PetscSection s…  in DMPlexCreateSectionBCDof()  argument
214 if (bcPoints[bc]) { in DMPlexCreateSectionBCDof()
215 PetscCall(ISGetLocalSize(bcPoints[bc], &n)); in DMPlexCreateSectionBCDof()
216 PetscCall(ISGetIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCDof()
240 PetscCall(ISRestoreIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCDof()
270 … PetscInt numBC, const PetscInt bcField[], const IS bcComps[], const IS bcPoints[], PetscSection s… in DMPlexCreateSectionBCIndicesField() argument
298 if (bcPoints[bc]) { in DMPlexCreateSectionBCIndicesField()
299 PetscCall(ISGetLocalSize(bcPoints[bc], &n)); in DMPlexCreateSectionBCIndicesField()
300 PetscCall(ISGetIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCIndicesField()
330 PetscCall(ISRestoreIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCIndicesField()
427 … PetscInt numBC, const PetscInt bcField[], const IS bcComps[], const IS bcPoints[], IS perm, Petsc… in DMPlexCreateSection() argument
434 PetscCall(DMPlexCreateSectionBCDof(dm, numBC, bcField, bcComps, bcPoints, *section)); in DMPlexCreateSection()
440 PetscCall(DMPlexCreateSectionBCIndicesField(dm, numBC, bcField, bcComps, bcPoints, *section)); in DMPlexCreateSection()
451 IS *bcPoints, *bcComps, permIS; in DMCreateLocalSection_Plex() local
498 PetscCall(PetscCalloc3(numBC, &bcFields, numBC, &bcPoints, numBC, &bcComps)); in DMCreateLocalSection_Plex()
507 …ISCreateGeneral(PETSC_COMM_SELF, cEnd - cEndInterior, newidx, PETSC_OWN_POINTER, &bcPoints[bc++])); in DMCreateLocalSection_Plex()
582 … PetscCall(ISCreateGeneral(PETSC_COMM_SELF, newn, newidx, PETSC_OWN_POINTER, &bcPoints[bc++])); in DMCreateLocalSection_Plex()
612 …PetscCall(DMPlexCreateSection(dm, labels, numComp, numDof, numBC, bcFields, bcComps, bcPoints, per… in DMCreateLocalSection_Plex()
627 PetscCall(ISDestroy(&bcPoints[bc])); in DMCreateLocalSection_Plex()
630 PetscCall(PetscFree3(bcFields, bcPoints, bcComps)); in DMCreateLocalSection_Plex()