Lines Matching refs:gsection
2592 …tscSF sf, PetscBool includeConstraints, DMLabel label, PetscInt labelValue, PetscSection *gsection) in PetscSectionCreateGlobalSectionLabel() argument
2601 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)s), gsection)); in PetscSectionCreateGlobalSectionLabel()
2603 PetscCall(PetscSectionSetChart(*gsection, pStart, pEnd)); in PetscSectionCreateGlobalSectionLabel()
2611 tmpOff = &(*gsection)->atlasDof[-pStart]; in PetscSectionCreateGlobalSectionLabel()
2621 PetscCall(PetscSectionSetDof(*gsection, p, dof)); in PetscSectionCreateGlobalSectionLabel()
2623 … if (!includeConstraints && cdof > 0) PetscCall(PetscSectionSetConstraintDof(*gsection, p, cdof)); in PetscSectionCreateGlobalSectionLabel()
2626 PetscCall(PetscSectionSetUpBC(*gsection)); in PetscSectionCreateGlobalSectionLabel()
2632 if (tmpOff[p] < 0) (*gsection)->atlasDof[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionLabel()
2639 (*gsection)->atlasOff[p] = off; in PetscSectionCreateGlobalSectionLabel()
2640 off += (*gsection)->atlasDof[p] > 0 ? (*gsection)->atlasDof[p] - cdof : 0; in PetscSectionCreateGlobalSectionLabel()
2645 (*gsection)->atlasOff[p] += globalOff; in PetscSectionCreateGlobalSectionLabel()
2646 if (neg) neg[p] = -((*gsection)->atlasOff[p] + 1); in PetscSectionCreateGlobalSectionLabel()
2654 if (tmpOff[p] < 0) (*gsection)->atlasOff[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionLabel()