Lines Matching refs:bc

51   (*s)->bc                  = NULL;  in PetscSectionCreate()
676 PetscCall(PetscSectionDestroy(&s->bc)); in PetscSectionSetChart()
1124 if (s->bc) PetscCall(PetscSectionGetDof(s->bc, point, numDof)); in PetscSectionGetConstraintDof()
1149 PetscCall(PetscSectionSetDof(s->bc, point, numDof)); in PetscSectionSetConstraintDof()
1174 PetscCall(PetscSectionAddDof(s->bc, point, numDof)); in PetscSectionAddConstraintDof()
1270 if (s->bc) { in PetscSectionSetUpBC()
1271 const PetscInt last = (s->bc->pEnd - s->bc->pStart) - 1; in PetscSectionSetUpBC()
1273 PetscCall(PetscSectionSetUp(s->bc)); in PetscSectionSetUpBC()
1274 …if (last >= 0) PetscCall(PetscMalloc1(s->bc->atlasOff[last] + s->bc->atlasDof[last], &s->bcIndices… in PetscSectionSetUpBC()
1444 const PetscInt cdof = s->bc ? s->bc->atlasDof[p] : 0; in PetscSectionGetConstrainedStorageSize()
1517 …s->bcIndices, s->bcIndices, gs->bc->atlasOff[gs->bc->pEnd - gs->bc->pStart - 1] + gs->bc->atlasDof… in PetscSectionCreateGlobalSection()
1535 cdof = (!includeConstraints && s->bc) ? s->bc->atlasDof[q] : 0; in PetscSectionCreateGlobalSection()
1584 … s->field[f]->bcIndices, gfs->bc->atlasOff[gfs->bc->pEnd - gfs->bc->pStart - 1] + gfs->bc->atlasDo… in PetscSectionCreateGlobalSection()
1675 cdof = (!includeConstraints && s->bc) ? s->bc->atlasDof[q] : 0; in PetscSectionCreateGlobalSectionCensored()
2469 if (s->bc && s->bc->atlasDof[p] > 0) { in PetscSectionView_ASCII()
2473 …for (b = 0; b < s->bc->atlasDof[p]; ++b) PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " %"… in PetscSectionView_ASCII()
2676 if (s->bc && (s->bc->atlasDof[p] > 0)) { in PetscSectionArrayView_ASCII_Internal()
2682 …for (b = 0; b < s->bc->atlasDof[p]; ++b) PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, " %"… in PetscSectionArrayView_ASCII_Internal()
2792 PetscCall(PetscSectionDestroy(&s->bc)); in PetscSectionReset()
2914 … const PetscInt tDim = s->field[field]->bc->atlasDof[p]; /* PetscSectionGetFieldConstraintDof() */ in VecIntSetValuesSection_Private()
2953 *hasConstraints = s->bc ? PETSC_TRUE : PETSC_FALSE; in PetscSectionHasConstraints()
2980 if (s->bc) PetscCall(VecIntGetValuesSection_Private(s->bcIndices, s->bc, point, indices)); in PetscSectionGetConstraintIndices()
3003 if (s->bc) { in PetscSectionSetConstraintIndices()
3005 const PetscInt cdof = s->bc->atlasDof[point]; in PetscSectionSetConstraintIndices()
3010 PetscCall(VecIntSetValuesSection_Private(s->bcIndices, s->bc, point, indices, INSERT_VALUES)); in PetscSectionSetConstraintIndices()