Lines Matching refs:atlasOff

50   (*s)->atlasOff            = NULL;  in PetscSectionCreate()
678 PetscCall(PetscFree2(s->atlasDof, s->atlasOff)); in PetscSectionSetChart()
682 PetscCall(PetscMalloc2(pEnd - pStart, &s->atlasDof, pEnd - pStart, &s->atlasOff)); in PetscSectionSetChart()
1274 …if (last >= 0) PetscCall(PetscMalloc1(s->bc->atlasOff[last] + s->bc->atlasDof[last], &s->bcIndices… in PetscSectionSetUpBC()
1317 PetscCall(PetscIntCast(offset, &s->atlasOff[q])); in PetscSectionSetUp()
1320 for (f = 0, foff = s->atlasOff[q]; f < s->numFields; ++f) { in PetscSectionSetUp()
1323 PetscCall(PetscIntCast(foff, &sf->atlasOff[q])); in PetscSectionSetUp()
1335 PetscCall(PetscIntCast(offset, &sf->atlasOff[q])); in PetscSectionSetUp()
1340 for (PetscInt p = 0; p < s->pEnd - s->pStart; ++p) s->atlasOff[p] = -1; in PetscSectionSetUp()
1517 …if (gs->bcIndices) PetscCall(PetscArraycpy(gs->bcIndices, s->bcIndices, gs->bc->atlasOff[gs->bc->p… in PetscSectionCreateGlobalSection()
1536 gs->atlasOff[q] = off; in PetscSectionCreateGlobalSection()
1544 gs->atlasOff[p - pStart] += globalOff; in PetscSectionCreateGlobalSection()
1545 if (neg) neg[p] = -(gs->atlasOff[p - pStart] + 1); in PetscSectionCreateGlobalSection()
1554 if (recv[p] < 0) gs->atlasOff[p - pStart] = recv[p]; in PetscSectionCreateGlobalSection()
1584 …etscCall(PetscArraycpy(gfs->bcIndices, s->field[f]->bcIndices, gfs->bc->atlasOff[gfs->bc->pEnd - g… in PetscSectionCreateGlobalSection()
1676 (*gsection)->atlasOff[q] = off; in PetscSectionCreateGlobalSectionCensored()
1682 (*gsection)->atlasOff[p] += globalOff; in PetscSectionCreateGlobalSectionCensored()
1683 if (neg) neg[p + pStart] = -((*gsection)->atlasOff[p] + 1); in PetscSectionCreateGlobalSectionCensored()
1688 if (nroots == pEnd - pStart) tmpOff = &(*gsection)->atlasOff[-pStart]; in PetscSectionCreateGlobalSectionCensored()
1693 if (tmpOff[p] < 0) (*gsection)->atlasOff[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionCensored()
1833 *offset = s->atlasOff[point - s->pStart]; in PetscSectionGetOffset()
1859 s->atlasOff[point - s->pStart] = offset; in PetscSectionSetOffset()
1987 if (s->atlasOff) { in PetscSectionGetOffsetRange()
1988 os = s->atlasOff[0]; in PetscSectionGetOffsetRange()
1989 oe = s->atlasOff[0]; in PetscSectionGetOffsetRange()
1993 PetscInt dof = s->atlasDof[p], off = s->atlasOff[p]; in PetscSectionGetOffsetRange()
2471 …cInt_FMT " offset %3" PetscInt_FMT " constrained", p + s->pStart, s->atlasDof[p], s->atlasOff[p])); in PetscSectionView_ASCII()
2473 …tscViewerASCIISynchronizedPrintf(viewer, " %" PetscInt_FMT, s->bcIndices[s->bc->atlasOff[p] + b])); in PetscSectionView_ASCII()
2477 …f %2" PetscInt_FMT " offset %3" PetscInt_FMT "\n", p + s->pStart, s->atlasDof[p], s->atlasOff[p])); in PetscSectionView_ASCII()
2679 …") dof %2" PetscInt_FMT " offset %3" PetscInt_FMT, p + s->pStart, s->atlasDof[p], s->atlasOff[p])); in PetscSectionArrayView_ASCII_Internal()
2680 …for (i = s->atlasOff[p]; i < s->atlasOff[p] + s->atlasDof[p]; ++i) PetscCall(PrintArrayElement(arr… in PetscSectionArrayView_ASCII_Internal()
2682 …tscViewerASCIISynchronizedPrintf(viewer, " %" PetscInt_FMT, s->bcIndices[s->bc->atlasOff[p] + b])); in PetscSectionArrayView_ASCII_Internal()
2685 …") dof %2" PetscInt_FMT " offset %3" PetscInt_FMT, p + s->pStart, s->atlasDof[p], s->atlasOff[p])); in PetscSectionArrayView_ASCII_Internal()
2686 …for (i = s->atlasOff[p]; i < s->atlasOff[p] + s->atlasDof[p]; ++i) PetscCall(PrintArrayElement(arr… in PetscSectionArrayView_ASCII_Internal()
2794 PetscCall(PetscFree2(s->atlasDof, s->atlasOff)); in PetscSectionReset()
2845 *values = &baseArray[s->atlasOff[p]]; in VecIntGetValuesSection_Private()
2859 array = &baseArray[s->atlasOff[p]]; in VecIntSetValuesSection_Private()