Lines Matching refs:d
6 for (PetscInt d = 0; d < dim; d++) { in GetBoundingBox_Internal() local
7 bbox[0 * dim + d] = PETSC_MAX_REAL; in GetBoundingBox_Internal()
8 bbox[1 * dim + d] = PETSC_MIN_REAL; in GetBoundingBox_Internal()
11 for (PetscInt d = 0; d < dim; d++) { in GetBoundingBox_Internal() local
12 bbox[0 * dim + d] = PetscMin(bbox[0 * dim + d], coords[i * dim + d]); in GetBoundingBox_Internal()
13 bbox[1 * dim + d] = PetscMax(bbox[1 * dim + d], coords[i * dim + d]); in GetBoundingBox_Internal()
21 for (PetscInt d = 0; d < dim; d++) { in IntersectBoundingBox_Internal() local
22 …if (a[1 * dim + d] + tol < b[0 * dim + d] || b[1 * dim + d] + tol < a[0 * dim + d]) return PETSC_F… in IntersectBoundingBox_Internal()
29 for (PetscInt d = 0; d < dim; d++) { in InBoundingBox_Internal() local
30 if (x[d] + tol < bbox[0 * dim + d] || bbox[1 * dim + d] + tol < x[d]) return PETSC_FALSE; in InBoundingBox_Internal()
177 …for (PetscInt d = 0; d < dim; d++) target_coords[num_targets * dim + d] = target_coords[i * dim + … in PetscSFSetGraphFromCoordinates() local