Searched refs:dlim (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexgeometry.c | 1024 PetscInt numCoords, idx, dlim[6], lowerInt[3], upperInt[3]; in DMPlexComputeGridHash_Internal() local 1033 for (PetscInt d = 0; d < cdim; ++d) dlim[d * 2 + 0] = dlim[d * 2 + 1] = dboxes[d]; in DMPlexComputeGridHash_Internal() 1034 for (PetscInt d = cdim; d < 3; ++d) dlim[d * 2 + 0] = dlim[d * 2 + 1] = 0; 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() 1042 …t_FMT " box limits %" PetscInt_FMT "--%" PetscInt_FMT "\n", c, d, dlim[d * 2 + 0], dlim[d * 2 + 1]… in DMPlexComputeGridHash_Internal() 1046 lp[d] = lbox->lower[d] + dlim[d * 2 + 0] * h[d]; in DMPlexComputeGridHash_Internal() 1058 for (PetscInt k = dlim[2 * 2 + 0]; k <= dlim[2 * 2 + 1]; ++k, lp[2] = up[2], up[2] += h[2]) { in DMPlexComputeGridHash_Internal() 1064 for (PetscInt j = dlim[1 * 2 + 0]; j <= dlim[1 * 2 + 1]; ++j, lp[1] = up[1], up[1] += h[1]) { in DMPlexComputeGridHash_Internal() 1071 … for (PetscInt i = dlim[0 * 2 + 0]; i <= dlim[0 * 2 + 1]; ++i, lp[0] = up[0], up[0] += h[0]) { in DMPlexComputeGridHash_Internal() [all …]
|