Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexgeometry.c801 …scGridHash box, PetscInt numPoints, const PetscScalar points[], PetscInt dboxes[], PetscInt boxes[… in PetscGridHashGetEnclosingBox() argument
818 dboxes[p * dim + d] = dbox; in PetscGridHashGetEnclosingBox()
821 …for (d = dim - 2, boxes[p] = dboxes[p * dim + dim - 1]; d >= 0; --d) boxes[p] = boxes[p] * n[d] + in PetscGridHashGetEnclosingBox()
849 …on cellSection, PetscInt numPoints, const PetscScalar points[], PetscInt dboxes[], PetscInt boxes[… in PetscGridHashGetEnclosingBoxQuery() argument
868 dboxes[p * dim + d] = dbox; in PetscGridHashGetEnclosingBoxQuery()
871 …for (d = dim - 2, boxes[p] = dboxes[p * dim + dim - 1]; d >= 0; --d) boxes[p] = boxes[p] * n[d] + in PetscGridHashGetEnclosingBoxQuery()
985 PetscInt *dboxes, *boxes; in DMPlexComputeGridHash_Internal() local
1011 PetscCall(PetscCalloc2(16 * cdim, &dboxes, 16, &boxes)); in DMPlexComputeGridHash_Internal()
1031 PetscCall(PetscGridHashGetEnclosingBox(lbox, numCoords / cdim, coords, dboxes, boxes)); in DMPlexComputeGridHash_Internal()
1033 for (PetscInt d = 0; d < cdim; ++d) dlim[d * 2 + 0] = dlim[d * 2 + 1] = dboxes[d]; in DMPlexComputeGridHash_Internal()
[all …]