Lines Matching refs:subp
2298 PetscInt numFields, f, c, numSubpoints = 0, pStart, pEnd, p, spStart, spEnd, subp; in PetscSectionCreateSubplexSection_Private() local
2346 PetscCall(PetscFindInt(p, numSubpoints, spoints ? spoints : points, &subp)); in PetscSectionCreateSubplexSection_Private()
2347 if (subp < 0) continue; in PetscSectionCreateSubplexSection_Private()
2348 if (!renumberPoints) subp = p; in PetscSectionCreateSubplexSection_Private()
2349 else subp = order ? order[subp] : subp; in PetscSectionCreateSubplexSection_Private()
2352 PetscCall(PetscSectionSetFieldDof(*subs, subp, f, fdof)); in PetscSectionCreateSubplexSection_Private()
2354 if (cfdof) PetscCall(PetscSectionSetFieldConstraintDof(*subs, subp, f, cfdof)); in PetscSectionCreateSubplexSection_Private()
2357 PetscCall(PetscSectionSetDof(*subs, subp, dof)); in PetscSectionCreateSubplexSection_Private()
2359 if (cdof) PetscCall(PetscSectionSetConstraintDof(*subs, subp, cdof)); in PetscSectionCreateSubplexSection_Private()
2366 PetscCall(PetscFindInt(p, numSubpoints, spoints ? spoints : points, &subp)); in PetscSectionCreateSubplexSection_Private()
2367 if (subp < 0) continue; in PetscSectionCreateSubplexSection_Private()
2368 if (!renumberPoints) subp = p; in PetscSectionCreateSubplexSection_Private()
2369 else subp = order ? order[subp] : subp; in PetscSectionCreateSubplexSection_Private()
2372 PetscCall(PetscSectionSetFieldOffset(*subs, subp, f, foff)); in PetscSectionCreateSubplexSection_Private()
2375 PetscCall(PetscSectionSetOffset(*subs, subp, off)); in PetscSectionCreateSubplexSection_Private()
2378 for (subp = spStart; subp < spEnd; ++subp) { in PetscSectionCreateSubplexSection_Private()
2381 PetscCall(PetscSectionGetConstraintDof(*subs, subp, &cdof)); in PetscSectionCreateSubplexSection_Private()
2384 PetscCall(PetscSectionGetFieldConstraintIndices(s, points[subp - spStart], f, &indices)); in PetscSectionCreateSubplexSection_Private()
2385 PetscCall(PetscSectionSetFieldConstraintIndices(*subs, subp, f, indices)); in PetscSectionCreateSubplexSection_Private()
2387 PetscCall(PetscSectionGetConstraintIndices(s, points[subp - spStart], &indices)); in PetscSectionCreateSubplexSection_Private()
2388 PetscCall(PetscSectionSetConstraintIndices(*subs, subp, indices)); in PetscSectionCreateSubplexSection_Private()