Lines Matching refs:foff
1312 PetscCount foff; in PetscSectionSetUp() local
1320 for (f = 0, foff = s->atlasOff[q]; f < s->numFields; ++f) { in PetscSectionSetUp()
1323 PetscCall(PetscIntCast(foff, &sf->atlasOff[q])); in PetscSectionSetUp()
1324 foff += sf->atlasDof[q]; in PetscSectionSetUp()
1482 PetscInt foff; in PetscSectionCreateGlobalSection() local
1570 for (f = 0, foff = off; f < numFields; ++f) { in PetscSectionCreateGlobalSection()
1575 PetscCall(PetscSectionSetFieldOffset(gs, p, f, foff)); in PetscSectionCreateGlobalSection()
1577 foff = off < 0 ? foff - (dof - cdof) : foff + (dof - cdof); in PetscSectionCreateGlobalSection()
1953 PetscInt off, foff; in PetscSectionGetFieldPointOffset() local
1960 PetscCall(PetscSectionGetOffset(s->field[field], point, &foff)); in PetscSectionGetFieldPointOffset()
1961 *offset = foff - off; in PetscSectionGetFieldPointOffset()
2364 PetscInt off, foff = 0; in PetscSectionCreateSubplexSection_Private() local
2371 PetscCall(PetscSectionGetFieldOffset(s, p, f, &foff)); in PetscSectionCreateSubplexSection_Private()
2372 PetscCall(PetscSectionSetFieldOffset(*subs, subp, f, foff)); in PetscSectionCreateSubplexSection_Private()