Lines Matching refs:action

35   PetscScalar       *action, *x1;  in PetscAdolcIJacobianVectorProduct()  local
57 PetscCall(PetscMalloc1(m, &action)); in PetscAdolcIJacobianVectorProduct()
59 fos_forward(mctx->tag1, m, n, 0, x0, x1, NULL, action); in PetscAdolcIJacobianVectorProduct()
63 …o.ys) && (j < info.ys + info.ym)) PetscCall(VecSetValuesLocal(Y, 1, &k, &action[k], INSERT_VALUES)… in PetscAdolcIJacobianVectorProduct()
75 fos_forward(mctx->tag2, m, n, 0, x0, x1, NULL, action); in PetscAdolcIJacobianVectorProduct()
80 action[k] *= mctx->shift; in PetscAdolcIJacobianVectorProduct()
81 PetscCall(VecSetValuesLocal(Y, 1, &k, &action[k], ADD_VALUES)); in PetscAdolcIJacobianVectorProduct()
90 PetscCall(PetscFree(action)); in PetscAdolcIJacobianVectorProduct()
117 PetscScalar *action, *x1; in PetscAdolcIJacobianVectorProductIDMass() local
139 PetscCall(PetscMalloc1(m, &action)); in PetscAdolcIJacobianVectorProductIDMass()
141 fos_forward(mctx->tag1, m, n, 0, x0, x1, NULL, action); in PetscAdolcIJacobianVectorProductIDMass()
145 …o.ys) && (j < info.ys + info.ym)) PetscCall(VecSetValuesLocal(Y, 1, &k, &action[k], INSERT_VALUES)… in PetscAdolcIJacobianVectorProductIDMass()
154 PetscCall(PetscFree(action)); in PetscAdolcIJacobianVectorProductIDMass()
185 PetscScalar *action, *y; in PetscAdolcIJacobianTransposeVectorProduct() local
206 PetscCall(PetscMalloc1(n, &action)); in PetscAdolcIJacobianTransposeVectorProduct()
209 fos_reverse(mctx->tag1, m, n, y, action); in PetscAdolcIJacobianTransposeVectorProduct()
213 …o.ys) && (j < info.ys + info.ym)) PetscCall(VecSetValuesLocal(X, 1, &k, &action[k], INSERT_VALUES)… in PetscAdolcIJacobianTransposeVectorProduct()
229 fos_reverse(mctx->tag2, m, n, y, action); in PetscAdolcIJacobianTransposeVectorProduct()
234 action[k] *= mctx->shift; in PetscAdolcIJacobianTransposeVectorProduct()
235 PetscCall(VecSetValuesLocal(X, 1, &k, &action[k], ADD_VALUES)); in PetscAdolcIJacobianTransposeVectorProduct()
244 PetscCall(PetscFree(action)); in PetscAdolcIJacobianTransposeVectorProduct()
271 PetscScalar *action, *y; in PetscAdolcIJacobianTransposeVectorProductIDMass() local
292 PetscCall(PetscMalloc1(n, &action)); in PetscAdolcIJacobianTransposeVectorProductIDMass()
295 fos_reverse(mctx->tag1, m, n, y, action); in PetscAdolcIJacobianTransposeVectorProductIDMass()
299 …o.ys) && (j < info.ys + info.ym)) PetscCall(VecSetValuesLocal(X, 1, &k, &action[k], INSERT_VALUES)… in PetscAdolcIJacobianTransposeVectorProductIDMass()
308 PetscCall(PetscFree(action)); in PetscAdolcIJacobianTransposeVectorProductIDMass()