Searched refs:randCtx (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex22.c | 6 …testIdentity(DM dm, PetscBool dmIsSimplicial, PetscInt cell, PetscRandom randCtx, PetscInt numPoin… in testIdentity() argument 19 for (i = 0; i < dimR * numPoints; i++) PetscCall(PetscRandomGetValueReal(randCtx, &preimage[i])); in testIdentity() 110 PetscRandom randCtx; in main() local 116 PetscCall(PetscRandomCreate(PETSC_COMM_SELF, &randCtx)); in main() 117 PetscCall(PetscRandomSetInterval(randCtx, -1., 1.)); in main() 118 PetscCall(PetscRandomSetFromOptions(randCtx)); in main() 215 PetscCall(PetscRandomGetValueReal(randCtx, &noise)); in main() 220 … PetscCall(testIdentity(dm, isSimplex ? PETSC_TRUE : PETSC_FALSE, 0, randCtx, numTests, tol)); in main() 226 PetscCall(PetscRandomDestroy(&randCtx)); in main()
|