Lines Matching refs:Ly
16 const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0; in test_3d() local
28 PetscCall(DMDASetUniformCoordinates(da, 0.0, Lx, 0.0, Ly, 0.0, Lz)); in test_3d()
36 PetscScalar y = (Ly * j) / N; in test_3d()
38 …va[k][j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2) + PetscPow… in test_3d()
59 const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0; in test_2d() local
70 PetscCall(DMDASetUniformCoordinates(da, 0.0, Lx, 0.0, Ly, 0.0, Lz)); in test_2d()
77 PetscScalar y = (Ly * j) / N; in test_2d()
78 va[j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2); in test_2d()
98 const PetscScalar Lx = 1.0, Ly = 1.0; in test_2d_nocoord() local
115 PetscScalar y = (Ly * j) / N; in test_2d_nocoord()
116 va[j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2); in test_2d_nocoord()
136 const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0; in test_3d_nocoord() local
155 PetscScalar y = (Ly * j) / N; in test_3d_nocoord()
157 …va[k][j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2) + PetscPow… in test_3d_nocoord()