Searched refs:ctxVec (Results 1 – 1 of 1) sorted by relevance
159 Vec ctxVec = NULL; in TestShellEvaluate() local167 PetscCall(DMFieldShellGetContext(field, &ctxVec)); in TestShellEvaluate()171 PetscCall(VecGetArrayRead(ctxVec, &mult)); in TestShellEvaluate()205 PetscCall(VecRestoreArrayRead(ctxVec, &mult)); in TestShellEvaluate()211 Vec ctxVec = NULL; in TestShellDestroy() local214 PetscCall(DMFieldShellGetContext(field, &ctxVec)); in TestShellDestroy()215 PetscCall(VecDestroy(&ctxVec)); in TestShellDestroy()279 Vec ctxVec; in main() local283 PetscCall(VecCreateSeq(PETSC_COMM_SELF, nc, &ctxVec)); in main()284 PetscCall(VecSetUp(ctxVec)); in main()[all …]