Searched refs:subp (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 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() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexproject.c | 253 PetscInt subp; in DMProjectPoint_Field_Private() local 255 PetscCall(DMGetEnclosurePoint(dmAux, dm, encAux, p, &subp)); in DMProjectPoint_Field_Private() 261 PetscCall(DMPlexVecGetClosure(dmAux, sectionAux, localA, subp, NULL, &coefficientsAux)); in DMProjectPoint_Field_Private() 412 PetscInt subp; in DMProjectPoint_BdField_Private() local 414 PetscCall(DMGetEnclosurePoint(dmAux, dm, encAux, p, &subp)); in DMProjectPoint_BdField_Private() 420 PetscCall(DMPlexVecGetClosure(dmAux, sectionAux, localA, subp, NULL, &coefficientsAux)); in DMProjectPoint_BdField_Private()
|
| H A D | plexfem.c | 2783 PetscInt subp; in DMPlexComputeBdIntegral_Internal() local 2784 PetscCall(DMGetEnclosurePoint(plexA, dm, encAux, support[0], &subp)); in DMPlexComputeBdIntegral_Internal() 2785 PetscCall(DMPlexVecGetClosure(plexA, sectionAux, locA, subp, NULL, &x)); in DMPlexComputeBdIntegral_Internal() 2787 PetscCall(DMPlexVecRestoreClosure(plexA, sectionAux, locA, subp, NULL, &x)); in DMPlexComputeBdIntegral_Internal() 4993 PetscInt subp; in DMPlexComputeBdResidualSingleByKey() local 4995 PetscCall(DMGetEnclosurePoint(plexA, dm, encAux, support[0], &subp)); in DMPlexComputeBdResidualSingleByKey() 4996 PetscCall(DMPlexVecGetClosure(plexA, sectionAux, locA, subp, NULL, &x)); in DMPlexComputeBdResidualSingleByKey() 4998 PetscCall(DMPlexVecRestoreClosure(plexA, sectionAux, locA, subp, NULL, &x)); in DMPlexComputeBdResidualSingleByKey() 5996 PetscInt subp; in DMPlexComputeBdJacobianSingleByLabel() local 5997 PetscCall(DMGetEnclosurePoint(plexA, dm, encAux, support[0], &subp)); in DMPlexComputeBdJacobianSingleByLabel() [all …]
|
| H A D | plexsubmesh.c | 3357 PetscInt subp, subdepth; in DMPlexFilterLabels_Internal() local 3362 subp = DMPlexFilterPoint_Internal(point, firstSubPoint[d], numSubPoints[d], subpoints[d]); in DMPlexFilterLabels_Internal() 3363 if (subp >= 0) PetscCall(DMLabelSetValue(newlabel, subp, values[v])); in DMPlexFilterLabels_Internal()
|