Lines Matching refs:xmax
25 PetscErrorCode DMDASetUniformCoordinates(DM da, PetscReal xmin, PetscReal xmax, PetscReal ymin, Pet… in DMDASetUniformCoordinates() argument
40 …tscCheck(xmax >= xmin, PetscObjectComm((PetscObject)da), PETSC_ERR_ARG_INCOMP, "xmax must be large… in DMDASetUniformCoordinates()
48 if (bx == DM_BOUNDARY_PERIODIC) hx = (xmax - xmin) / M; in DMDASetUniformCoordinates()
49 else hx = (xmax - xmin) / (M - 1); in DMDASetUniformCoordinates()
54 if (bx == DM_BOUNDARY_PERIODIC) hx = (xmax - xmin) / (M); in DMDASetUniformCoordinates()
55 else hx = (xmax - xmin) / (M - 1); in DMDASetUniformCoordinates()
68 if (bx == DM_BOUNDARY_PERIODIC) hx = (xmax - xmin) / (M); in DMDASetUniformCoordinates()
69 else hx = (xmax - xmin) / (M - 1); in DMDASetUniformCoordinates()
93 PetscReal L[3] = {xmax - xmin, ymax - ymin, zmax - zmin}; in DMDASetUniformCoordinates()
150 PetscReal min, max, xmin = 0.0, xmax = 0.0, tmp = 0.0, xgtmp = 0.0; in VecView_MPI_Draw_DA1d() local
197 if (rank == size - 1) xmax = PetscRealPart(xg[n - 1]); in VecView_MPI_Draw_DA1d()
199 PetscCallMPI(MPI_Bcast(&xmax, 1, MPIU_REAL, size - 1, comm)); in VecView_MPI_Draw_DA1d()
243 PetscCall(PetscDrawAxisSetLimits(axis, xmin, xmax, min, max)); in VecView_MPI_Draw_DA1d()