Lines Matching refs:Ly
14 const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0; in test_3d() local
26 PetscCall(DMDASetUniformCoordinates(da, 0.0, Lx, 0.0, Ly, 0.0, Lz)); in test_3d()
34 PetscScalar y = (Ly * j) / N; in test_3d()
36 …va[k][j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2) + PetscPow… in test_3d()
57 const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0; in test_2d() local
68 PetscCall(DMDASetUniformCoordinates(da, 0.0, Lx, 0.0, Ly, 0.0, Lz)); in test_2d()
75 PetscScalar y = (Ly * j) / N; in test_2d()
76 va[j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2); in test_2d()
96 const PetscScalar Lx = 1.0, Ly = 1.0; in test_2d_nocoord() local
113 PetscScalar y = (Ly * j) / N; in test_2d_nocoord()
114 va[j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2); in test_2d_nocoord()
134 const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0; in test_3d_nocoord() local
153 PetscScalar y = (Ly * j) / N; in test_3d_nocoord()
155 …va[k][j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2) + PetscPow… in test_3d_nocoord()