Lines Matching refs:coords
8 PetscReal diff = 0.0, *coords = (PetscReal *)(ctx); in GenEntries() local
14 … (d = 0; d < sdim; d++) diff += (coords[J[j] * sdim + d] - coords[K[k] * sdim + d]) * (coords[J[j]… in GenEntries()
24 PetscReal diff = 0.0, **coords = (PetscReal **)(ctx); in GenEntriesRectangular() local
30 …= 0; d < sdim; d++) diff += (coords[0][J[j] * sdim + d] - coords[1][K[k] * sdim + d]) * (coords[0]… in GenEntriesRectangular()
43 …PetscReal *coords, *gcoords, *scoords, *gscoords, *ctx[2], norm, epsilon = PetscSqrtReal(PE… in main() local
62 PetscCall(PetscMalloc1(m * dim, &coords)); in main()
64 PetscCall(PetscRandomGetValuesReal(rdm, m * dim, coords)); in main()
69 PetscCall(PetscArraycpy(gcoords + begin * dim, coords, m * dim)); in main()
71 …PetscCall(MatCreateHtoolFromKernel(PETSC_COMM_WORLD, m, m, M, M, dim, coords, coords, kernel, gcoo… in main()
113 …PetscCall(MatCreateHtoolFromKernel(PETSC_COMM_WORLD, m, m, M, M, dim, coords, coords, kernel, gcoo… in main()
178 …PetscCall(MatCreateHtoolFromKernel(PETSC_COMM_WORLD, m, n, M, N, dim, coords, scoords, kernel, ctx… in main()
236 PetscCall(PetscFree(coords)); in main()