Lines Matching refs:dboxes
801 …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()
1037 dlim[d * 2 + 0] = PetscMin(dlim[d * 2 + 0], dboxes[e * cdim + d]); in DMPlexComputeGridHash_Internal()
1038 dlim[d * 2 + 1] = PetscMax(dlim[d * 2 + 1], dboxes[e * cdim + d]); in DMPlexComputeGridHash_Internal()
1236 PetscCall(PetscFree2(dboxes, boxes)); in DMPlexComputeGridHash_Internal()