Searched refs:globalPoints (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/snes/utils/dm/ |
| H A D | dminterpolatesnes.c | 182 PetscReal *globalPoints; in DMInterpolationSetUp() local 205 PetscCall(PetscMalloc3(N * ctx->dim, &globalPoints, size, &counts, size, &displs)); in DMInterpolationSetUp() 212 …PetscCallMPI(MPI_Allgatherv(ctx->points, in, MPIU_REAL, globalPoints, counts, displs, MPIU_REAL, c… in DMInterpolationSetUp() 215 globalPoints = ctx->points; in DMInterpolationSetUp() 225 for (i = 0; i < N * ctx->dim; i++) globalPointsScalar[i] = globalPoints[i]; in DMInterpolationSetUp() 227 globalPointsScalar = globalPoints; in DMInterpolationSetUp() 244 …%g %g %g not located in mesh", p, (double)globalPoints[p * ctx->dim + 0], (double)(ctx->dim > 1 ? … in DMInterpolationSetUp() 245 (double)(ctx->dim > 2 ? globalPoints[p * ctx->dim + 2] : 0)); in DMInterpolationSetUp() 260 for (d = 0; d < ctx->dim; ++d, ++i) a[i] = globalPoints[p * ctx->dim + d]; in DMInterpolationSetUp() 280 if ((void *)globalPointsScalar != (void *)globalPoints) PetscCall(PetscFree(globalPointsScalar)); in DMInterpolationSetUp() [all …]
|