Lines Matching refs:csection
8555 PetscErrorCode DMPlexMatSetClosureRefined(DM dmf, PetscSection fsection, PetscSection globalFSection, DM dmc, PetscSection csection, PetscSection globalCSection, Mat A, PetscInt point, const PetscScalar values[], InsertMode mode)
8572 if (!csection) PetscCall(DMGetLocalSection(dmc, &csection));
8573 PetscValidHeaderSpecific(csection, PETSC_SECTION_CLASSID, 5);
8588 PetscCall(PetscSectionGetChart(csection, &pStart, &pEnd));
8600 PetscCall(PetscSectionGetDof(csection, cpoints[p], &dof));
8603 PetscCall(PetscSectionGetFieldDof(csection, cpoints[p], f, &fdof));
8666 PetscCall(PetscSectionGetFieldPointSyms(csection, f, numCPoints, cpoints, &permsC[f], NULL));
8674 PetscCall(DMPlexGetIndicesPointFields_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff, coffsets, PETSC_FALSE, permsC, p, cclperm, cindices));
8678 PetscCall(PetscSectionRestoreFieldPointSyms(csection, f, numCPoints, cpoints, &permsC[f], NULL));
8685 PetscCall(PetscSectionGetPointSyms(csection, numCPoints, cpoints, &permsC, NULL));
8696 PetscCall(DMPlexGetIndicesPoint_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff, &off, PETSC_FALSE, perm, cclperm, cindices));
8699 PetscCall(PetscSectionRestorePointSyms(csection, numCPoints, cpoints, &permsC, NULL));
8721 PetscErrorCode DMPlexMatGetClosureIndicesRefined(DM dmf, PetscSection fsection, PetscSection globalFSection, DM dmc, PetscSection csection, PetscSection globalCSection, PetscInt point, PetscInt cindices[], PetscInt findices[])
8735 if (!csection) PetscCall(DMGetLocalSection(dmc, &csection));
8736 PetscValidHeaderSpecific(csection, PETSC_SECTION_CLASSID, 5);
8748 PetscCall(PetscSectionGetChart(csection, &pStart, &pEnd));
8760 PetscCall(PetscSectionGetDof(csection, cpoints[p], &dof));
8763 PetscCall(PetscSectionGetFieldDof(csection, cpoints[p], f, &fdof));
8824 PetscCall(PetscSectionGetFieldPointSyms(csection, f, numCPoints, cpoints, &permsC[f], NULL));
8832 PetscCall(DMPlexGetIndicesPointFields_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff, coffsets, PETSC_FALSE, permsC, p, cclperm, cindices));
8836 PetscCall(PetscSectionRestoreFieldPointSyms(csection, f, numCPoints, cpoints, &permsC[f], NULL));
8843 PetscCall(PetscSectionGetPointSyms(csection, numCPoints, cpoints, &permsC, NULL));
8854 PetscCall(DMPlexGetIndicesPoint_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff, &off, PETSC_FALSE, perm, cclperm, cindices));
8857 PetscCall(PetscSectionRestorePointSyms(csection, numCPoints, cpoints, &permsC, NULL));