Lines Matching refs:gg
35 Vec g, l, gg, ll; /* global/local vectors of the da */ in main() local
55 PetscCall(DMCreateGlobalVector(da, &gg)); in main()
68 PetscCall(DMDAVecGetKokkosOffsetViewDOFWrite(da, gg, &gview)); in main()
73 PetscCall(DMDAVecRestoreKokkosOffsetViewDOFWrite(da, gg, &gview)); in main()
77 PetscCall(DMGlobalToLocal(da, gg, INSERT_VALUES, ll)); in main()
91 PetscCall(DMDAVecGetKokkosOffsetViewDOFWrite(da, gg, &gview)); in main()
96 PetscCall(DMDAVecRestoreKokkosOffsetViewDOFWrite(da, gg, &gview)); in main()
100 PetscCall(VecAXPY(g, -1.0, gg)); in main()
108 PetscCall(VecDestroy(&gg)); in main()
128 PetscCall(DMCreateGlobalVector(da, &gg)); in main()
143 PetscCall(DMDAVecGetKokkosOffsetViewWrite(da, gg, &gview2)); in main()
151 PetscCall(DMDAVecRestoreKokkosOffsetViewWrite(da, gg, &gview2)); in main()
155 PetscCall(DMGlobalToLocal(da, gg, INSERT_VALUES, ll)); in main()
171 PetscCall(DMDAVecGetKokkosOffsetViewWrite(da, gg, &gview2)); /* write-only */ in main()
181 PetscCall(DMDAVecRestoreKokkosOffsetViewWrite(da, gg, &gview2)); in main()
185 PetscCall(VecAXPY(g, -1.0, gg)); in main()
193 PetscCall(VecDestroy(&gg)); in main()