Lines Matching refs:Ly

28   const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0;  in test_3d()  local
41 PetscCall(DMDASetUniformCoordinates(da, 0.0, Lx, 0.0, Ly, 0.0, Lz)); in test_3d()
49 const PetscScalar y = (Ly * j) / N; in test_3d()
51 …][i][c] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2) + PetscPowScalar… in test_3d()
71 const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0; in test_2d() local
83 PetscCall(DMDASetUniformCoordinates(da, 0.0, Lx, 0.0, Ly, 0.0, Lz)); in test_2d()
90 const PetscScalar y = (Ly * j) / N; in test_2d()
91 …) va[j][i][c] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2) + 10.0 * c; in test_2d()
110 const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0; in test_3d_compat() local
123 PetscCall(DMDASetUniformCoordinates(da, 0.0, Lx, 0.0, Ly, 0.0, Lz)); in test_3d_compat()
135 const PetscScalar y = (Ly * j) / N; in test_3d_compat()
137 …va[k][j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2) + Pe… in test_3d_compat()
138 …][i][c] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2) + PetscPowScalar… in test_3d_compat()
162 const PetscScalar Lx = 1.0, Ly = 1.0, Lz = 1.0; in test_2d_compat() local
174 PetscCall(DMDASetUniformCoordinates(da, 0.0, Lx, 0.0, Ly, 0.0, Lz)); in test_2d_compat()
185 const PetscScalar y = (Ly * j) / N; in test_2d_compat()
186 va[j][i] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2); in test_2d_compat()
187 …tora[j][i][c] = PetscPowScalarInt(x - 0.5 * Lx, 2) + PetscPowScalarInt(y - 0.5 * Ly, 2) + 10.0 * c; in test_2d_compat()