Lines Matching refs:bottom
209 PetscReal *g, *x, *left, *right, *bottom, *top; in FormFunctionGradient() local
228 PetscCall(VecGetArray(user->Bottom, &bottom)); in FormFunctionGradient()
248 xb = bottom[i - xs + 1]; in FormFunctionGradient()
249 xrb = bottom[i - xs + 2]; in FormFunctionGradient()
326 d2 = (bottom[i + 1 - xs] - bottom[i - xs + 2]) * rhx; in FormFunctionGradient()
327 d3 = (bottom[i - xs + 1] - x[i - gxs]) * rhy; in FormFunctionGradient()
349 d2 = (bottom[0] - bottom[1]) * rhx; in FormFunctionGradient()
366 PetscCall(VecRestoreArray(user->Bottom, &bottom)); in FormFunctionGradient()
425 PetscReal *x, *left, *right, *bottom, *top; in FormHessian() local
449 PetscCall(VecGetArray(user->Bottom, &bottom)); in FormHessian()
471 xb = bottom[i - xs + 1]; in FormHessian()
472 xrb = bottom[i - xs + 2]; in FormHessian()
581 PetscCall(VecRestoreArray(user->Bottom, &bottom)); in FormHessian()
806 PetscReal *x, *left, *right, *bottom, *top; in MSA_InitialPoint() local
815 PetscCall(VecGetArray(user->Bottom, &bottom)); in MSA_InitialPoint()
824 …x[row] = ((j + 1) * bottom[i - xs + 1] / my + (my - j + 1) * top[i - xs + 1] / (my + 2) + (i + 1) … in MSA_InitialPoint()
833 PetscCall(VecRestoreArray(user->Bottom, &bottom)); in MSA_InitialPoint()