| /petsc/src/vec/is/is/tests/ |
| H A D | ex11.c | 34 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 D | ex12.c | 25 PetscCall(PetscRandomGetValueReal(rand, &value)); in main() 34 PetscCall(PetscRandomGetValueReal(rand, &value)); in main()
|
| /petsc/src/dm/dt/tests/ |
| H A D | ex7.c | 169 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 D | ex9.c | 69 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 D | ex14.c | 64 for (d = 0; d < dim[s]; ++d) PetscCall(PetscRandomGetValueReal(rnd, &r[d])); in TestSampling()
|
| H A D | ex5.c | 65 for (i = 0; i < dim - 1; i++) PetscCall(PetscRandomGetValueReal(rand, &testSub[i])); in main()
|
| /petsc/src/ksp/ksp/tutorials/network/ |
| H A D | ex2.c | 66 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 D | ex178.c | 59 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 D | petscrand.pxi | 19 PetscErrorCode PetscRandomGetValueReal(PetscRandom, PetscReal*)
|
| H A D | Random.pyx | 159 petsc.PetscRandomGetValueReal 163 CHKERR(PetscRandomGetValueReal(self.rnd, &rval))
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex32.c | 44 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 D | random123.c | 111 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 D | random.c | 90 PetscErrorCode PetscRandomGetValueReal(PetscRandom r, PetscReal *val) in PetscRandomGetValueReal() function
|
| /petsc/src/mat/graphops/color/utils/ |
| H A D | weights.c | 28 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 D | swarm_ex3.c | 186 PetscCall(PetscRandomGetValueReal(rand, &rx)); in ex3_1() 187 PetscCall(PetscRandomGetValueReal(rand, &ry)); in ex3_1()
|
| /petsc/src/sys/classes/random/tests/ |
| H A D | ex3.c | 76 PetscCall(PetscRandomGetValueReal(random, &x)); in main()
|
| /petsc/src/dm/field/tutorials/ |
| H A D | ex1.c | 83 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 D | ex22.c | 19 for (i = 0; i < dimR * numPoints; i++) PetscCall(PetscRandomGetValueReal(randCtx, &preimage[i])); in testIdentity() 215 PetscCall(PetscRandomGetValueReal(randCtx, &noise)); in main()
|
| H A D | ex6.c | 47 PetscCall(PetscRandomGetValueReal(r, &p)); in TestSetup()
|
| /petsc/doc/changes/ |
| H A D | 232.md | 77 - Added PetscRandomSetType(), PetscRandomGetValueReal() and
|
| /petsc/src/ts/tests/ |
| H A D | ex35.c | 95 PetscCall(PetscRandomGetValueReal(rngx, &value)); in main()
|
| H A D | ex27.c | 103 PetscCall(PetscRandomGetValueReal(rnd, &refcoords[d])); in SetInitialCoordinates() 119 PetscCall(PetscRandomGetValueReal(rndv, &v_val)); in SetInitialCoordinates()
|
| /petsc/src/sys/objects/device/tests/ |
| H A D | ex7.c | 14 PetscCall(PetscRandomGetValueReal(rand, &rval)); in IncrementSize()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex21.c | 60 PetscCall(PetscRandomGetValueReal(r, &fctx.sigma)); in main()
|
| /petsc/src/dm/partitioner/impls/shell/ |
| H A D | partshell.c | 106 PetscCall(PetscRandomGetValueReal(r, &val)); in PetscPartitionerPartition_Shell()
|