Home
last modified time | relevance | path

Searched refs:closures (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplex.c4951 PetscInt *offsets, **closures; in DMPlexGetFullJoin() local
4963 PetscCall(PetscCalloc1(numPoints, &closures)); in DMPlexGetFullJoin()
4973 PetscCall(DMPlexGetTransitiveClosure(dm, points[p], PETSC_FALSE, &closureSize, &closures[p])); in DMPlexGetFullJoin()
4981 if ((pStart > closures[p][i * 2]) || (pEnd <= closures[p][i * 2])) { in DMPlexGetFullJoin()
4995 …for (joinSize = 0; joinSize < dof; ++joinSize) join[i][joinSize] = closures[0][(offsets[d] + joinS… in DMPlexGetFullJoin()
5002 const PetscInt point = closures[p][(offsets[p * (depth + 2) + d] + c) * 2]; in DMPlexGetFullJoin()
5018 …ts; ++p) PetscCall(DMPlexRestoreTransitiveClosure(dm, points[p], PETSC_FALSE, NULL, &closures[p])); in DMPlexGetFullJoin()
5019 PetscCall(PetscFree(closures)); in DMPlexGetFullJoin()
5153 PetscInt *offsets, **closures; in DMPlexGetFullMeet() local
5165 PetscCall(PetscMalloc1(numPoints, &closures)); in DMPlexGetFullMeet()
[all …]
/petsc/doc/manual/
H A Dsection.md214 A `PetscSection` can store and use this extra information in the form of **closures**, **symmetries…