Lines Matching refs:numPoints
6 …m, PetscBool dmIsSimplicial, PetscInt cell, PetscRandom randCtx, PetscInt numPoints, PetscReal tol) in testIdentity() argument
15 PetscCall(DMGetWorkArray(dm, dimR * numPoints, MPIU_REAL, &preimage)); in testIdentity()
16 PetscCall(DMGetWorkArray(dm, dimC * numPoints, MPIU_REAL, &mapped)); in testIdentity()
17 PetscCall(DMGetWorkArray(dm, dimR * numPoints, MPIU_REAL, &inverted)); in testIdentity()
19 for (i = 0; i < dimR * numPoints; i++) PetscCall(PetscRandomGetValueReal(randCtx, &preimage[i])); in testIdentity()
21 for (i = 0; i < numPoints; i++) { in testIdentity()
31 PetscCall(DMPlexReferenceToCoordinates(dm, cell, numPoints, preimage, mapped)); in testIdentity()
32 PetscCall(DMPlexCoordinatesToReference(dm, cell, numPoints, mapped, inverted)); in testIdentity()
34 for (i = 0; i < numPoints; i++) { in testIdentity()
94 PetscCall(DMRestoreWorkArray(dm, dimR * numPoints, MPIU_REAL, &inverted)); in testIdentity()
95 PetscCall(DMRestoreWorkArray(dm, dimC * numPoints, MPIU_REAL, &mapped)); in testIdentity()
96 PetscCall(DMRestoreWorkArray(dm, dimR * numPoints, MPIU_REAL, &preimage)); in testIdentity()