Home
last modified time | relevance | path

Searched refs:off_process_values (Results 1 – 1 of 1) sorted by relevance

/petsc/src/tao/unconstrained/tutorials/
H A Drosenbrock4.h33 Vec off_process_values; /* buffer for off-process values if chained */ member
130 PetscCall(VecDestroy(&user->off_process_values)); in AppCtxDestroy()
280 PetscCall(VecCreate(user->comm, &user->off_process_values)); in CreateVectors()
281 PetscCall(VecSetSizes(user->off_process_values, 1, PETSC_DETERMINE)); in CreateVectors()
282 PetscCall(VecSetType(user->off_process_values, vec_type)); in CreateVectors()
283 PetscCall(VecZeroEntries(user->off_process_values)); in CreateVectors()
475 …PetscCall(VecScatterBegin(user->off_process_scatter, X, user->off_process_values, INSERT_VALUES, S… in FormObjective()
476 …PetscCall(VecScatterEnd(user->off_process_scatter, X, user->off_process_values, INSERT_VALUES, SCA… in FormObjective()
477 PetscCall(VecGetArrayReadAndMemType(user->off_process_values, &o, NULL)); in FormObjective()
499 PetscCall(VecRestoreArrayReadAndMemType(user->off_process_values, &o)); in FormObjective()
[all …]