Home
last modified time | relevance | path

Searched refs:PetscRandomGetValueReal (Results 1 – 25 of 38) sorted by relevance

12

/petsc/src/vec/is/is/tests/
H A Dex11.c34 PetscCall(PetscRandomGetValueReal(randsizes, &r)); in main()
37 PetscCall(PetscRandomGetValueReal(randsizes, &r)); in main()
39 PetscCall(PetscRandomGetValueReal(randsizes, &r)); in main()
45 PetscCall(PetscRandomGetValueReal(randvalues, &r)); in main()
/petsc/src/sys/tests/
H A Dex12.c25 PetscCall(PetscRandomGetValueReal(rand, &value)); in main()
34 PetscCall(PetscRandomGetValueReal(rand, &value)); in main()
/petsc/src/dm/dt/tests/
H A Dex7.c169 for (j = 0; j < Nk; j++) PetscCall(PetscRandomGetValueReal(rand, &w[j])); in main()
172 for (j = 0; j < N * k; j++) PetscCall(PetscRandomGetValueReal(rand, &v[j])); in main()
232 PetscCall(PetscRandomGetValueReal(rand, &alpha)); in main()
234 PetscCall(PetscRandomGetValueReal(rand, &rj)); in main()
242 PetscCall(PetscRandomGetValueReal(rand, &val)); in main()
258 PetscCall(PetscRandomGetValueReal(rand, &rj)); in main()
262 PetscCall(PetscRandomGetValueReal(rand, &rl)); in main()
288 for (l = 0; l < Nj; l++) PetscCall(PetscRandomGetValueReal(rand, &u[l])); in main()
289 for (l = 0; l < N * (j + k); l++) PetscCall(PetscRandomGetValueReal(rand, &x[l])); in main()
358 for (l = 0; l < M * N; l++) PetscCall(PetscRandomGetValueReal(rand, &L[l])); in main()
[all …]
H A Dex9.c69 for (i = 0; i < Np; i++) PetscCall(PetscRandomGetValueReal(rand, &lgndre_coeffs[i])); in testDerivativesLegendre()
104 for (i = 0; i < dim; i++) PetscCall(PetscRandomGetValueReal(rand, &point[i])); in testDerivativesLegendre()
H A Dex14.c64 for (d = 0; d < dim[s]; ++d) PetscCall(PetscRandomGetValueReal(rnd, &r[d])); in TestSampling()
H A Dex5.c65 for (i = 0; i < dim - 1; i++) PetscCall(PetscRandomGetValueReal(rand, &testSub[i])); in main()
/petsc/src/ksp/ksp/tutorials/network/
H A Dex2.c66 PetscCall(PetscRandomGetValueReal(rnd, &x[i])); in random_network()
67 PetscCall(PetscRandomGetValueReal(rnd, &y[i])); in random_network()
84 PetscCall(PetscRandomGetValueReal(rnd, &value)); in random_network()
137 PetscCall(PetscRandomGetValueReal(rnd, &value)); in random_network()
143 PetscCall(PetscRandomGetValueReal(rnd, &value)); in random_network()
152 PetscCall(PetscRandomGetValueReal(rnd, &value)); in random_network()
/petsc/src/mat/tests/
H A Dex178.c59 PetscCall(PetscRandomGetValueReal(rctx, &rand)); in main()
66 PetscCall(PetscRandomGetValueReal(rctx, &rand)); in main()
72 PetscCall(PetscRandomGetValueReal(rctx, &rand)); in main()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscrand.pxi19 PetscErrorCode PetscRandomGetValueReal(PetscRandom, PetscReal*)
H A DRandom.pyx159 petsc.PetscRandomGetValueReal
163 CHKERR(PetscRandomGetValueReal(self.rnd, &rval))
/petsc/src/vec/vec/tests/
H A Dex32.c44 PetscCall(PetscRandomGetValueReal(rdm, &val)); in main()
57 PetscCall(PetscRandomGetValueReal(rdm2, &val)); in main()
100 PetscCall(PetscRandomGetValueReal(rdm, &val)); in main()
/petsc/src/sys/classes/random/impls/random123/
H A Drandom123.c111 for (PetscInt i = 0; i < peel_start; i++) PetscCall(PetscRandomGetValueReal(r, &vals[i])); in PetscRandomGetValuesReal_Random123()
136 for (PetscInt i = 0; i < rem; i++) PetscCall(PetscRandomGetValueReal(r, &vals[i])); in PetscRandomGetValuesReal_Random123()
/petsc/src/sys/classes/random/interface/
H A Drandom.c90 PetscErrorCode PetscRandomGetValueReal(PetscRandom r, PetscReal *val) in PetscRandomGetValueReal() function
/petsc/src/mat/graphops/color/utils/
H A Dweights.c28 PetscCall(PetscRandomGetValueReal(rand, &r)); in MatColoringCreateRandomWeights()
126 PetscCall(PetscRandomGetValueReal(rand, &r)); in MatColoringCreateLargestFirstWeights()
215 PetscCall(PetscRandomGetValueReal(rand, &r)); in MatColoringCreateSmallestLastWeights()
/petsc/src/dm/tutorials/
H A Dswarm_ex3.c186 PetscCall(PetscRandomGetValueReal(rand, &rx)); in ex3_1()
187 PetscCall(PetscRandomGetValueReal(rand, &ry)); in ex3_1()
/petsc/src/sys/classes/random/tests/
H A Dex3.c76 PetscCall(PetscRandomGetValueReal(random, &x)); in main()
/petsc/src/dm/field/tutorials/
H A Dex1.c83 PetscCall(PetscRandomGetValueReal(rand, &rc)); in TestEvaluateFE()
127 PetscCall(PetscRandomGetValueReal(rand, &rc)); in TestEvaluateFV()
331 PetscCall(PetscRandomGetValueReal(rand, &rv)); in main()
/petsc/src/dm/impls/plex/tests/
H A Dex22.c19 for (i = 0; i < dimR * numPoints; i++) PetscCall(PetscRandomGetValueReal(randCtx, &preimage[i])); in testIdentity()
215 PetscCall(PetscRandomGetValueReal(randCtx, &noise)); in main()
H A Dex6.c47 PetscCall(PetscRandomGetValueReal(r, &p)); in TestSetup()
/petsc/doc/changes/
H A D232.md77 - Added PetscRandomSetType(), PetscRandomGetValueReal() and
/petsc/src/ts/tests/
H A Dex35.c95 PetscCall(PetscRandomGetValueReal(rngx, &value)); in main()
H A Dex27.c103 PetscCall(PetscRandomGetValueReal(rnd, &refcoords[d])); in SetInitialCoordinates()
119 PetscCall(PetscRandomGetValueReal(rndv, &v_val)); in SetInitialCoordinates()
/petsc/src/sys/objects/device/tests/
H A Dex7.c14 PetscCall(PetscRandomGetValueReal(rand, &rval)); in IncrementSize()
/petsc/src/ksp/ksp/tutorials/
H A Dex21.c60 PetscCall(PetscRandomGetValueReal(r, &fctx.sigma)); in main()
/petsc/src/dm/partitioner/impls/shell/
H A Dpartshell.c106 PetscCall(PetscRandomGetValueReal(r, &val)); in PetscPartitionerPartition_Shell()

12