| /petsc/src/vec/is/is/tests/ |
| H A D | ex11.c | 26 PetscCall(PetscRandomSetInterval(randsizes, 0., PetscMax(nmax, 1))); in main() 36 PetscCall(PetscRandomSetInterval(randsizes, 0., 1.)); in main() 42 PetscCall(PetscRandomSetInterval(randvalues, first, last)); in main()
|
| /petsc/src/ksp/ksp/tutorials/network/ |
| H A D | ex2.c | 64 PetscCall(PetscRandomSetInterval(rnd, 0.0, xmax)); in random_network() 78 PetscCall(PetscRandomSetInterval(rnd, 0.0, 1.0)); in random_network() 136 PetscCall(PetscRandomSetInterval(rnd, 0.0, nvertex)); in random_network() 142 PetscCall(PetscRandomSetInterval(rnd, 0.0, nvertex)); in random_network() 151 PetscCall(PetscRandomSetInterval(rnd, 0.0, nedges)); in random_network()
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex43.c | 20 PetscCall(PetscRandomSetInterval(rctx, -1. + 4. * PETSC_i, 1. + 5. * PETSC_i)); in main() 22 PetscCall(PetscRandomSetInterval(rctx, -1., 1.)); in main()
|
| /petsc/src/ts/tests/ |
| H A D | ex35.c | 74 PetscCall(PetscRandomSetInterval(rngx, 0., 1.)); in main() 80 PetscCall(PetscRandomSetInterval(rng1, 0., 1.)); in main() 86 PetscCall(PetscRandomSetInterval(rng2, 0., 1.)); in main()
|
| /petsc/src/ksp/ksp/utils/lmvm/tests/ |
| H A D | ex2.c | 53 PetscCall(PetscRandomSetInterval(rand, -1.0 - i, 1.0 + i)); in main() 55 PetscCall(PetscRandomSetInterval(rand, -1.0, 1.0)); in main()
|
| H A D | solve_performance.c | 37 PetscCall(PetscRandomSetInterval(rand, -1.0, 1.0)); in main()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscrand.pxi | 22 PetscErrorCode PetscRandomSetInterval(PetscRandom, PetscScalar, PetscScalar)
|
| H A D | Random.pyx | 221 getInterval, petsc.PetscRandomSetInterval 229 CHKERR(PetscRandomSetInterval(self.rnd, sval1, sval2))
|
| /petsc/src/ksp/pc/impls/mat/tests/ |
| H A D | ex1.c | 94 PetscCall(PetscRandomSetInterval(rand, -1.0 - i, 1.0 + i)); in main() 96 PetscCall(PetscRandomSetInterval(rand, -1.0, 1.0)); in main()
|
| /petsc/src/sys/classes/random/tutorials/ |
| H A D | ex1.c | 28 PetscCall(PetscRandomSetInterval(rnd, 0.0, 1.0)); in main()
|
| /petsc/src/mat/tests/ |
| H A D | ex202.c | 23 PetscCall(PetscRandomSetInterval(rctx, zero, one)); in TestInitialMatrix() 110 PetscCall(PetscRandomSetInterval(rctx, zero, one)); in TestReuseMatrix()
|
| /petsc/src/dm/partitioner/impls/shell/ |
| H A D | partshell.c | 96 PetscCall(PetscRandomSetInterval(r, 0.0, (PetscScalar)nparts)); in PetscPartitionerPartition_Shell() 105 PetscCall(PetscRandomSetInterval(r, 0.0, (PetscScalar)(v + 1))); in PetscPartitionerPartition_Shell()
|
| /petsc/src/sys/classes/random/interface/ |
| H A D | random.c | 223 PetscErrorCode PetscRandomSetInterval(PetscRandom r, PetscScalar low, PetscScalar high) in PetscRandomSetInterval() function
|
| H A D | randomc.c | 187 PetscCall(PetscRandomSetInterval(rnd, low, high)); in PetscRandomSetFromOptions()
|
| /petsc/src/dm/dt/tests/ |
| H A D | ex7.c | 99 PetscCall(PetscRandomSetInterval(rand, -1., 1.)); in main() 233 PetscCall(PetscRandomSetInterval(rand, 0, k)); in main() 236 PetscCall(PetscRandomSetInterval(rand, -1., 1.)); in main() 257 PetscCall(PetscRandomSetInterval(rand, 0, k)); in main() 265 PetscCall(PetscRandomSetInterval(rand, -1., 1.)); in main()
|
| H A D | ex14.c | 54 PetscCall(PetscRandomSetInterval(rnd, 0, 1.)); in TestSampling()
|
| H A D | ex5.c | 63 PetscCall(PetscRandomSetInterval(rand, -1., 1.)); in main()
|
| /petsc/src/sys/classes/random/tests/ |
| H A D | ex3.c | 64 PetscCall(PetscRandomSetInterval(random, 0.0, 1.0)); in main()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex11.c | 82 PetscCall(PetscRandomSetInterval(rctx, 0.0, PETSC_i)); in main()
|
| H A D | ex11f.F90 | 102 PetscCallA(PetscRandomSetInterval(rctx, czero, cone, ierr))
|
| H A D | ex60.c | 61 PetscCall(PetscRandomSetInterval(ctx->random, -1.0, 1.0)); in PCSetup_Noise()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex6.c | 39 PetscCall(PetscRandomSetInterval(r, user->pStart, user->pEnd)); in TestSetup()
|
| /petsc/src/dm/field/tutorials/ |
| H A D | ex1.c | 78 PetscCall(PetscRandomSetInterval(rand, (PetscScalar)cStart, (PetscScalar)cEnd)); in TestEvaluateFE() 122 PetscCall(PetscRandomSetInterval(rand, (PetscScalar)cStart, (PetscScalar)cEnd)); in TestEvaluateFV()
|
| /petsc/src/sys/objects/device/tests/ |
| H A D | ex7.c | 13 PetscCall(PetscRandomSetInterval(rand, -(*value), 500 - (*value))); in IncrementSize()
|
| /petsc/doc/changes/ |
| H A D | 2016.md | 111 - Added PetscRandomSetInterval() to enable the user to set an
|