Lines Matching refs:idxSection

8149 static PetscErrorCode DMPlexGetClosureIndices_Internal(DM dm, PetscSection section, PetscSection idxSection, PetscInt point, PetscBool useClPerm, PetscInt *numRows, PetscInt *numCols, PetscInt *indices[], PetscInt outOffsets[], PetscScalar *values[], PetscBool multiplyRight, PetscBool multiplyLeft)
8168 PetscBool isLocal = (section == idxSection) ? PETSC_TRUE : PETSC_FALSE;
8175 PetscValidHeaderSpecific(idxSection, PETSC_SECTION_CLASSID, 3);
8274 PetscCall(PetscSectionGetChart(idxSection, &idxStart, &idxEnd));
8282 PetscCall(PetscSectionGetUseFieldOffsets(idxSection, &useFieldOffsets));
8287 PetscCall(DMPlexGetIndicesPointFieldsSplit_Internal(section, idxSection, pnt, offsets, perms, p, clperm, idx));
8294 PetscCall(PetscSectionGetOffset(idxSection, pnt, &idxOff));
8309 PetscCall(PetscSectionGetOffset(idxSection, pnt, &idxOff));
8338 . idxSection - The `PetscSection` from which to obtain indices (may be local or global)
8353 If `idxSection` is global, any constrained dofs (see `DMAddBoundary()`, for example) will get negative indices. The value
8354 of those indices is not significant. If `idxSection` is local, the constrained dofs will yield the involution -(idx+1)
8356 indices via involution, -(-(idx+1)+1)==idx. Local indices are provided when `idxSection` == section, otherwise global
8362 PetscErrorCode DMPlexGetClosureIndices(DM dm, PetscSection section, PetscSection idxSection, PetscInt point, PetscBool useClPerm, PetscInt *numIndices, PetscInt *indices[], PeOp PetscInt outOffsets[], PeOp PetscScalar *values[])
8367 PetscCall(DMPlexGetClosureIndices_Internal(dm, section, idxSection, point, useClPerm, &numRows, &numCols, indices, outOffsets, values, PETSC_TRUE, PETSC_TRUE));
8381 . idxSection - The `PetscSection` from which to obtain indices (may be local or global)
8396 If idxSection is global, any constrained dofs (see `DMAddBoundary()`, for example) will get negative indices. The value
8397 of those indices is not significant. If idxSection is local, the constrained dofs will yield the involution -(idx+1)
8399 indices via involution, -(-(idx+1)+1)==idx. Local indices are provided when idxSection == section, otherwise global
8404 PetscErrorCode DMPlexRestoreClosureIndices(DM dm, PetscSection section, PetscSection idxSection, PetscInt point, PetscBool useClPerm, PetscInt *numIndices, PetscInt *indices[], PeOp PetscInt outOffsets[], PeOp PetscScalar *values[])