Lines Matching refs:intPoints
205 …nst PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoints[]) in DMPlexGetPlaneSimplexIntersection_Coords_Internal() argument
249 … for (PetscInt i = 0; i < cdim; ++i) intPoints[n * cdim + i] = PetscRealPart(coords[v * cdim + i]); in DMPlexGetPlaneSimplexIntersection_Coords_Internal()
258 …for (PetscInt i = 0; i < cdim; ++i) intPoints[n * cdim + i] = (d[v] * PetscRealPart(coords[w * cdi… in DMPlexGetPlaneSimplexIntersection_Coords_Internal()
269 …nst PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoints[]) in DMPlexGetPlaneSimplexIntersection_Internal() argument
282 PetscCall(PetscArrayzero(intPoints, dim * (dim + 1))); in DMPlexGetPlaneSimplexIntersection_Internal()
284 …tPlaneSimplexIntersection_Coords_Internal(dm, dim, cdim, coords, p, normal, pos, Nint, intPoints)); in DMPlexGetPlaneSimplexIntersection_Internal()
290 …nst PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoints[]) in DMPlexGetPlaneQuadIntersection_Internal() argument
307 PetscCall(PetscArrayzero(intPoints, dim * 4)); in DMPlexGetPlaneQuadIntersection_Internal()
311 …aneSimplexIntersection_Coords_Internal(dm, dim, cdim, tcoords, p, normal, pos, &NintA, intPoints)); in DMPlexGetPlaneQuadIntersection_Internal()
314 …section_Coords_Internal(dm, dim, cdim, tcoords, p, normal, pos, &NintB, &intPoints[NintA * cdim])); in DMPlexGetPlaneQuadIntersection_Internal()
321 …nst PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoints[]) in DMPlexGetPlaneHexIntersection_Internal() argument
343 PetscCall(PetscArrayzero(intPoints, dim * 18)); in DMPlexGetPlaneHexIntersection_Internal()
347 …rsection_Coords_Internal(dm, dim, cdim, tcoords, p, normal, pos, &NintA, &intPoints[Nsum * cdim])); in DMPlexGetPlaneHexIntersection_Internal()
351 …rsection_Coords_Internal(dm, dim, cdim, tcoords, p, normal, pos, &NintB, &intPoints[Nsum * cdim])); in DMPlexGetPlaneHexIntersection_Internal()
355 …rsection_Coords_Internal(dm, dim, cdim, tcoords, p, normal, pos, &NintC, &intPoints[Nsum * cdim])); in DMPlexGetPlaneHexIntersection_Internal()
359 …rsection_Coords_Internal(dm, dim, cdim, tcoords, p, normal, pos, &NintD, &intPoints[Nsum * cdim])); in DMPlexGetPlaneHexIntersection_Internal()
363 …rsection_Coords_Internal(dm, dim, cdim, tcoords, p, normal, pos, &NintE, &intPoints[Nsum * cdim])); in DMPlexGetPlaneHexIntersection_Internal()
367 …rsection_Coords_Internal(dm, dim, cdim, tcoords, p, normal, pos, &NintF, &intPoints[Nsum * cdim])); in DMPlexGetPlaneHexIntersection_Internal()
397 …nst PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoints[]) in DMPlexGetPlaneCellIntersection_Internal() argument
407 …aneSimplexIntersection_Internal(dm, DMPolytopeTypeGetDim(ct), c, p, normal, pos, Nint, intPoints)); in DMPlexGetPlaneCellIntersection_Internal()
410 …tPlaneQuadIntersection_Internal(dm, DMPolytopeTypeGetDim(ct), c, p, normal, pos, Nint, intPoints)); in DMPlexGetPlaneCellIntersection_Internal()
413 …etPlaneHexIntersection_Internal(dm, DMPolytopeTypeGetDim(ct), c, p, normal, pos, Nint, intPoints)); in DMPlexGetPlaneCellIntersection_Internal()
1016 PetscReal intPoints[6 * 6 * 6 * 3]; in DMPlexComputeGridHash_Internal() local
1021 …PetscReal *lowerIntPoints[3] = {&intPoints[0 * 6 * 6 * 3], &intPoints[1 * 6 * 6 * 3], &int… in DMPlexComputeGridHash_Internal()
1022 …PetscReal *upperIntPoints[3] = {&intPoints[3 * 6 * 6 * 3], &intPoints[4 * 6 * 6 * 3], &int… in DMPlexComputeGridHash_Internal()