Lines Matching refs:Vecxyz

15   Vec       Vecxyz[3] = {NULL, NULL, NULL};  in main()  local
66 PetscCall(DMCreateGlobalVector(dm, &Vecxyz[d])); in main()
67 …PetscCall(PetscObjectSetName((PetscObject)Vecxyz[d], d == 0 ? "x_coordinate" : (d == 1 ? "y_coordi… in main()
86 PetscCall(DMLocalToGlobal(dm, loc_vec, INSERT_VALUES, Vecxyz[d])); in main()
88 PetscCall(VecGetSize(Vecxyz[d], &n_state_global)); in main()
111 PetscCall(DMCreateGlobalVector(dm, &Vecxyz[d])); in main()
112 PetscCall(VecSetFromOptions(Vecxyz[d])); in main()
113 …PetscCall(PetscObjectSetName((PetscObject)Vecxyz[d], d == 0 ? "x_coordinate" : (d == 1 ? "y_coordi… in main()
114 PetscCall(VecStrideGather(coord, d, Vecxyz[d], INSERT_VALUES)); in main()
115 PetscCall(VecGetSize(Vecxyz[d], &n_state_global)); in main()
132 PetscCall(VecGetLocalSize(Vecxyz[0], &nloc)); in main()
137 for (PetscInt d = 0; d < dim; d++) PetscCall(VecGetArrayRead(Vecxyz[d], &coords[d])); in main()
157 for (PetscInt d = 0; d < dim; d++) PetscCall(VecRestoreArrayRead(Vecxyz[d], &coords[d])); in main()
172 PetscCall(VecGetOwnershipRange(Vecxyz[0], &globalColIdx, NULL)); in main()
194 PetscCall(VecGetLocalSize(Vecxyz[0], &nloc)); in main()
195 for (PetscInt d = 0; d < dim; d++) PetscCall(VecGetArray(Vecxyz[d], &coords[d])); in main()
206 for (PetscInt d = 0; d < dim; d++) PetscCall(VecRestoreArray(Vecxyz[d], &coords[d])); in main()
210 PetscCall(DMPlexGetLETKFLocalizationMatrix(nvertexobs, nobs_local, ndof, Vecxyz, H, &Q)); in main()
218 for (PetscInt d = 0; d < dim; d++) PetscCall(VecDestroy(&Vecxyz[d])); in main()