Lines Matching refs:Lx
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()
35 PetscScalar x = (Lx * i) / M; 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()
76 PetscScalar x = (Lx * i) / M; 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
114 PetscScalar x = (Lx * i) / M; 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
154 PetscScalar x = (Lx * i) / M; 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()