Lines Matching refs:closure

700       PetscInt closureSize, *closure = NULL;  in DMPlexCreateAnchors_Tree()  local
702 PetscCall(DMPlexGetTransitiveClosure(dm, ancestor, PETSC_TRUE, &closureSize, &closure)); in DMPlexCreateAnchors_Tree()
704 PetscCall(DMPlexRestoreTransitiveClosure(dm, ancestor, PETSC_TRUE, &closureSize, &closure)); in DMPlexCreateAnchors_Tree()
725 PetscInt j, closureSize, *closure = NULL, aOff; in DMPlexCreateAnchors_Tree() local
729 PetscCall(DMPlexGetTransitiveClosure(dm, ancestor, PETSC_TRUE, &closureSize, &closure)); in DMPlexCreateAnchors_Tree()
730 for (j = 0; j < closureSize; j++) anchors[aOff + j] = closure[2 * j]; in DMPlexCreateAnchors_Tree()
731 PetscCall(DMPlexRestoreTransitiveClosure(dm, ancestor, PETSC_TRUE, &closureSize, &closure)); in DMPlexCreateAnchors_Tree()
1238 PetscInt closureSize, closureSizeP, *closure = NULL, *closureP = NULL; in DMPlexComputeAnchorMatrix_Tree_Direct() local
1243 PetscCall(DMPlexGetTransitiveClosure(dm, c, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1245 PetscInt p = closure[2 * i]; in DMPlexComputeAnchorMatrix_Tree_Direct()
1257 PetscCall(DMPlexRestoreTransitiveClosure(dm, c, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1276 PetscInt p = closure[2 * i]; in DMPlexComputeAnchorMatrix_Tree_Direct()
1300 PetscInt p = closure[2 * i]; in DMPlexComputeAnchorMatrix_Tree_Direct()
1301 PetscInt o = closure[2 * i + 1]; in DMPlexComputeAnchorMatrix_Tree_Direct()
1370 PetscCall(DMPlexRestoreTransitiveClosure(dm, c, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1415 PetscInt parent, closureSize, *closure = NULL, pDof; in DMPlexReferenceTreeGetChildrenMatrices() local
1423 PetscCall(DMPlexGetTransitiveClosure(refTree, parent, PETSC_TRUE, &closureSize, &closure)); in DMPlexReferenceTreeGetChildrenMatrices()
1430 … PetscCall(PetscSectionGetFieldPointSyms(refSection, f, closureSize, closure, &perms, &flips)); in DMPlexReferenceTreeGetChildrenMatrices()
1434 PetscCall(PetscSectionGetPointSyms(refSection, closureSize, closure, &perms, &flips)); in DMPlexReferenceTreeGetChildrenMatrices()
1440 PetscInt q = closure[2 * i]; in DMPlexReferenceTreeGetChildrenMatrices()
1461 PetscInt q = closure[2 * i]; in DMPlexReferenceTreeGetChildrenMatrices()
1482 … PetscCall(PetscSectionRestoreFieldPointSyms(refSection, f, closureSize, closure, &perms, &flips)); in DMPlexReferenceTreeGetChildrenMatrices()
1484 PetscCall(PetscSectionRestorePointSyms(refSection, closureSize, closure, &perms, &flips)); in DMPlexReferenceTreeGetChildrenMatrices()
1487 PetscCall(DMPlexRestoreTransitiveClosure(refTree, parent, PETSC_TRUE, &closureSize, &closure)); in DMPlexReferenceTreeGetChildrenMatrices()
1589 PetscInt size, closureSize, *closure = NULL, i; in DMPlexComputeAnchorMatrix_Tree_FromReference() local
1591 PetscCall(DMPlexGetTransitiveClosure(dm, parent, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1593 PetscInt q = closure[2 * i]; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1604 PetscCall(DMPlexRestoreTransitiveClosure(dm, parent, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1629 PetscInt parent, childid, closureSize, *closure = NULL; in DMPlexComputeAnchorMatrix_Tree_FromReference() local
1636 PetscCall(DMPlexGetTransitiveClosure(dm, parent, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1651 …if (numFields) PetscCall(PetscSectionGetFieldPointSyms(section, f, closureSize, closure, &perms, &… in DMPlexComputeAnchorMatrix_Tree_FromReference()
1652 else PetscCall(PetscSectionGetPointSyms(section, closureSize, closure, &perms, &flips)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1670 PetscInt q = closure[2 * i]; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1736 … PetscCall(PetscSectionRestoreFieldPointSyms(section, f, closureSize, closure, &perms, &flips)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1738 PetscCall(PetscSectionRestorePointSyms(section, closureSize, closure, &perms, &flips)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1741 PetscCall(DMPlexRestoreTransitiveClosure(dm, parent, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
2154 PetscInt *closure = NULL, closureSize, cl; in DMPlexComputeInterpolatorTree() local
2156 PetscCall(DMPlexGetTransitiveClosure(coarse, p, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeInterpolatorTree()
2158 PetscInt c = closure[2 * cl], clDof; in DMPlexComputeInterpolatorTree()
2172 …PetscCall(DMPlexAnchorsModifyMat(coarse, localCoarse, closureSize, numRowIndices, closure, NULL, N… in DMPlexComputeInterpolatorTree()
2173 PetscCall(DMPlexRestoreTransitiveClosure(coarse, p, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeInterpolatorTree()
2274 PetscInt closureSize, *closure = NULL, cl; in DMPlexComputeInterpolatorTree() local
2279 PetscInt *closure = NULL, closureSize, cl; in DMPlexComputeInterpolatorTree() local
2281 PetscCall(DMPlexGetTransitiveClosure(coarse, p, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeInterpolatorTree()
2283 PetscInt c = closure[2 * cl], clDof; in DMPlexComputeInterpolatorTree()
2288 … PetscCall(DMPlexRestoreTransitiveClosure(coarse, p, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeInterpolatorTree()
2295 PetscCall(DMPlexGetTransitiveClosure(coarse, p, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeInterpolatorTree()
2297 …ds) PetscCall(PetscSectionGetFieldPointSyms(localCoarse, f, closureSize, closure, &perms[f], &flip… in DMPlexComputeInterpolatorTree()
2298 … else PetscCall(PetscSectionGetPointSyms(localCoarse, closureSize, closure, &perms[f], &flips[f])); in DMPlexComputeInterpolatorTree()
2302 PetscInt c = closure[2 * cl]; in DMPlexComputeInterpolatorTree()
2318 …PetscCall(DMPlexAnchorsModifyMat(coarse, localCoarse, closureSize, numRowIndices, closure, perms, … in DMPlexComputeInterpolatorTree()
2320 …PetscCall(PetscSectionRestoreFieldPointSyms(localCoarse, f, closureSize, closure, &perms[f], &flip… in DMPlexComputeInterpolatorTree()
2321 …else PetscCall(PetscSectionRestorePointSyms(localCoarse, closureSize, closure, &perms[f], &flips[f… in DMPlexComputeInterpolatorTree()
2338 PetscCall(DMPlexRestoreTransitiveClosure(coarse, p, PETSC_TRUE, &closureSize, &closure)); in DMPlexComputeInterpolatorTree()
2976 PetscInt *closure = NULL; in DMPlexComputeInjectorReferenceTree() local
2979 … PetscCall(DMPlexGetTransitiveClosure(refTree, parentCell, PETSC_TRUE, &numClosure, &closure)); in DMPlexComputeInjectorReferenceTree()
2981 PetscInt point = closure[2 * i], pointDepth; in DMPlexComputeInjectorReferenceTree()
2983 pO = closure[2 * i + 1]; in DMPlexComputeInjectorReferenceTree()
2991 … PetscCall(DMPlexRestoreTransitiveClosure(refTree, parentCell, PETSC_TRUE, &numClosure, &closure)); in DMPlexComputeInjectorReferenceTree()
3033 PetscInt *closure = NULL; in DMPlexComputeInjectorReferenceTree() local
3085 … PetscCall(DMPlexGetTransitiveClosure(refTree, childCell, PETSC_TRUE, &numClosure, &closure)); in DMPlexComputeInjectorReferenceTree()
3094 PetscInt point = closure[2 * l]; in DMPlexComputeInjectorReferenceTree()
3097 childO = closure[2 * l + 1]; in DMPlexComputeInjectorReferenceTree()
3123 … PetscCall(DMPlexRestoreTransitiveClosure(refTree, childCell, PETSC_TRUE, &numClosure, &closure)); in DMPlexComputeInjectorReferenceTree()
3860 PetscInt *closure = NULL, closureSize, cl; in DMPlexTransferVecTree_Interpolate() local
3862 PetscCall(DMPlexGetTransitiveClosure(coarse, p, PETSC_TRUE, &closureSize, &closure)); in DMPlexTransferVecTree_Interpolate()
3864 PetscInt c = closure[2 * cl], clDof; in DMPlexTransferVecTree_Interpolate()
3869 PetscCall(DMPlexRestoreTransitiveClosure(coarse, p, PETSC_TRUE, &closureSize, &closure)); in DMPlexTransferVecTree_Interpolate()