Home
last modified time | relevance | path

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

/petsc/src/mat/tests/
H A Dex241.c43 …PetscReal *coords, *gcoords, *scoords, *gscoords, *ctx[2], norm, epsilon = PetscSqrtReal(PE… in main() local
171 PetscCall(PetscCalloc1(N * dim, &gscoords)); in main()
173 PetscCall(PetscArraycpy(gscoords + begin * dim, scoords, n * dim)); in main()
174 …PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, gscoords, N * dim, MPIU_REAL, MPI_SUM, PETSC_COMM_WORLD)… in main()
177 ctx[1] = gscoords; in main()
229 PetscCall(PetscFree(gscoords)); in main()