Home
last modified time | relevance | path

Searched refs:PetscRandomSetInterval (Results 1 – 25 of 52) sorted by relevance

123

/petsc/src/vec/is/is/tests/
H A Dex11.c26 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 Dex2.c64 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 Dex43.c20 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 Dex35.c74 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 Dex2.c53 PetscCall(PetscRandomSetInterval(rand, -1.0 - i, 1.0 + i)); in main()
55 PetscCall(PetscRandomSetInterval(rand, -1.0, 1.0)); in main()
H A Dsolve_performance.c37 PetscCall(PetscRandomSetInterval(rand, -1.0, 1.0)); in main()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscrand.pxi22 PetscErrorCode PetscRandomSetInterval(PetscRandom, PetscScalar, PetscScalar)
H A DRandom.pyx221 getInterval, petsc.PetscRandomSetInterval
229 CHKERR(PetscRandomSetInterval(self.rnd, sval1, sval2))
/petsc/src/ksp/pc/impls/mat/tests/
H A Dex1.c94 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 Dex1.c28 PetscCall(PetscRandomSetInterval(rnd, 0.0, 1.0)); in main()
/petsc/src/mat/tests/
H A Dex202.c23 PetscCall(PetscRandomSetInterval(rctx, zero, one)); in TestInitialMatrix()
110 PetscCall(PetscRandomSetInterval(rctx, zero, one)); in TestReuseMatrix()
/petsc/src/dm/partitioner/impls/shell/
H A Dpartshell.c96 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 Drandom.c223 PetscErrorCode PetscRandomSetInterval(PetscRandom r, PetscScalar low, PetscScalar high) in PetscRandomSetInterval() function
H A Drandomc.c187 PetscCall(PetscRandomSetInterval(rnd, low, high)); in PetscRandomSetFromOptions()
/petsc/src/dm/dt/tests/
H A Dex7.c99 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 Dex14.c54 PetscCall(PetscRandomSetInterval(rnd, 0, 1.)); in TestSampling()
H A Dex5.c63 PetscCall(PetscRandomSetInterval(rand, -1., 1.)); in main()
/petsc/src/sys/classes/random/tests/
H A Dex3.c64 PetscCall(PetscRandomSetInterval(random, 0.0, 1.0)); in main()
/petsc/src/ksp/ksp/tutorials/
H A Dex11.c82 PetscCall(PetscRandomSetInterval(rctx, 0.0, PETSC_i)); in main()
H A Dex11f.F90102 PetscCallA(PetscRandomSetInterval(rctx, czero, cone, ierr))
H A Dex60.c61 PetscCall(PetscRandomSetInterval(ctx->random, -1.0, 1.0)); in PCSetup_Noise()
/petsc/src/dm/impls/plex/tests/
H A Dex6.c39 PetscCall(PetscRandomSetInterval(r, user->pStart, user->pEnd)); in TestSetup()
/petsc/src/dm/field/tutorials/
H A Dex1.c78 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 Dex7.c13 PetscCall(PetscRandomSetInterval(rand, -(*value), 500 - (*value))); in IncrementSize()
/petsc/doc/changes/
H A D2016.md111 - Added PetscRandomSetInterval() to enable the user to set an

123