Lines Matching refs:bcComps
194 …teSectionBCDof(DM dm, PetscInt numBC, const PetscInt bcField[], const IS bcComps[], const IS bcPoi… in DMPlexCreateSectionBCDof() argument
212 if (bcComps && bcComps[bc]) PetscCall(ISGetLocalSize(bcComps[bc], &cNc)); in DMPlexCreateSectionBCDof()
213 if (bcComps && bcComps[bc]) PetscCall(ISGetIndices(bcComps[bc], &comp)); in DMPlexCreateSectionBCDof()
242 if (bcComps && bcComps[bc]) PetscCall(ISRestoreIndices(bcComps[bc], &comp)); in DMPlexCreateSectionBCDof()
270 …BCIndicesField(DM dm, PetscInt numBC, const PetscInt bcField[], const IS bcComps[], const IS bcPoi… in DMPlexCreateSectionBCIndicesField() argument
296 if (bcComps && bcComps[bc]) PetscCall(ISGetLocalSize(bcComps[bc], &cNc)); in DMPlexCreateSectionBCIndicesField()
297 if (bcComps && bcComps[bc]) PetscCall(ISGetIndices(bcComps[bc], &comp)); in DMPlexCreateSectionBCIndicesField()
332 if (bcComps && bcComps[bc]) PetscCall(ISRestoreIndices(bcComps[bc], &comp)); in DMPlexCreateSectionBCIndicesField()
427 …st PetscInt numDof[], PetscInt numBC, const PetscInt bcField[], const IS bcComps[], const IS bcPoi… 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()
543 …mps) PetscCall(ISCreateGeneral(PETSC_COMM_SELF, numComps, comps, PETSC_COPY_VALUES, &bcComps[bc])); in DMCreateLocalSection_Plex()
612 …PetscCall(DMPlexCreateSection(dm, labels, numComp, numDof, numBC, bcFields, bcComps, bcPoints, per… in DMCreateLocalSection_Plex()
628 PetscCall(ISDestroy(&bcComps[bc])); in DMCreateLocalSection_Plex()
630 PetscCall(PetscFree3(bcFields, bcPoints, bcComps)); in DMCreateLocalSection_Plex()