Lines Matching refs:VecRestoreArray
362 PetscCall(VecRestoreArray(localX, &x)); in FormFunctionGradient()
363 PetscCall(VecRestoreArray(localG, &g)); in FormFunctionGradient()
364 PetscCall(VecRestoreArray(user->Left, &left)); in FormFunctionGradient()
365 PetscCall(VecRestoreArray(user->Top, &top)); in FormFunctionGradient()
366 PetscCall(VecRestoreArray(user->Bottom, &bottom)); in FormFunctionGradient()
367 PetscCall(VecRestoreArray(user->Right, &right)); in FormFunctionGradient()
578 PetscCall(VecRestoreArray(localX, &x)); in FormHessian()
579 PetscCall(VecRestoreArray(user->Left, &left)); in FormHessian()
580 PetscCall(VecRestoreArray(user->Top, &top)); in FormHessian()
581 PetscCall(VecRestoreArray(user->Bottom, &bottom)); in FormHessian()
582 PetscCall(VecRestoreArray(user->Right, &right)); in FormHessian()
688 PetscCall(VecRestoreArray(Bottom, &boundary)); in MSA_BoundaryConditions()
690 PetscCall(VecRestoreArray(Top, &boundary)); in MSA_BoundaryConditions()
692 PetscCall(VecRestoreArray(Left, &boundary)); in MSA_BoundaryConditions()
694 PetscCall(VecRestoreArray(Right, &boundary)); in MSA_BoundaryConditions()
768 PetscCall(VecRestoreArray(XL, &xl)); in MSA_Plate()
829 PetscCall(VecRestoreArray(localX, &x)); in MSA_InitialPoint()
831 PetscCall(VecRestoreArray(user->Left, &left)); in MSA_InitialPoint()
832 PetscCall(VecRestoreArray(user->Top, &top)); in MSA_InitialPoint()
833 PetscCall(VecRestoreArray(user->Bottom, &bottom)); in MSA_InitialPoint()
834 PetscCall(VecRestoreArray(user->Right, &right)); in MSA_InitialPoint()