Lines Matching refs:cpoint
456 …xClosestPoint_Simplex_2D_Internal(DM dm, const PetscScalar point[], PetscInt c, PetscReal cpoint[]) in DMPlexClosestPoint_Simplex_2D_Internal() argument
476 cpoint[0] = J[0 * embedDim + 0] * xi + J[0 * embedDim + 1] * eta + v0[0]; in DMPlexClosestPoint_Simplex_2D_Internal()
477 cpoint[1] = J[1 * embedDim + 0] * xi + J[1 * embedDim + 1] * eta + v0[1]; in DMPlexClosestPoint_Simplex_2D_Internal()
922 …stPoint_Internal(DM dm, PetscInt dim, const PetscScalar point[], PetscInt cell, PetscReal cpoint[]) in DMPlexClosestPoint_Internal() argument
930 PetscCall(DMPlexClosestPoint_Simplex_2D_Internal(dm, point, cell, cpoint)); in DMPlexClosestPoint_Internal()
934 PetscCall(DMPlexClosestPoint_General_2D_Internal(dm, point, cell, cpoint));break; in DMPlexClosestPoint_Internal()
936 PetscCall(DMPlexClosestPoint_Simplex_3D_Internal(dm, point, cell, cpoint));break; in DMPlexClosestPoint_Internal()
938 PetscCall(DMPlexClosestPoint_General_3D_Internal(dm, point, cell, cpoint));break; in DMPlexClosestPoint_Internal()
1401 …PetscReal cpoint[3] = {0, 0, 0}, diff[3], best[3] = {PETSC_MAX_REAL, PETSC_MAX_REAL, PETS… in DMLocatePoints_Plex() local
1409 PetscCall(DMPlexClosestPoint_Internal(dm, cdim, point, boxCells[c], cpoint)); in DMLocatePoints_Plex()
1410 for (PetscInt d = 0; d < cdim; ++d) diff[d] = cpoint[d] - PetscRealPart(point[d]); in DMLocatePoints_Plex()
1413 for (PetscInt d = 0; d < cdim; ++d) best[d] = cpoint[d]; in DMLocatePoints_Plex()