Searched refs:PetscRandomGetValues (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/sys/classes/random/interface/ |
| H A D | random.c | 124 PetscErrorCode PetscRandomGetValues(PetscRandom r, PetscInt n, PetscScalar *val) in PetscRandomGetValues() function
|
| /petsc/doc/changes/ |
| H A D | 315.md | 50 - Add `PetscRandomGetValues()` and `PetscRandomGetValuesReal()` to retrieve
|
| /petsc/src/vec/vec/impls/seq/ |
| H A D | bvec2.c | 117 PetscCall(PetscRandomGetValues(r, xin->map->n, xx)); in VecSetRandom_Seq()
|
| /petsc/src/mat/impls/dense/seq/cupm/ |
| H A D | matseqdensecupm.hpp | 1643 … for (PetscInt i = 0; i < n; i++) PetscCall(PetscRandomGetValues(rng, m, a.data() + i * lda)); in SetRandom() 1648 PetscCall(PetscRandomGetValues(rng, mn, a)); in SetRandom()
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 2222 if (iscurand) PetscCall(PetscRandomGetValues(rand, n, DeviceArrayWrite(dctx, v))); in SetRandom() 2223 else PetscCall(PetscRandomGetValues(rand, n, HostArrayWrite(dctx, v))); in SetRandom()
|
| /petsc/include/ |
| H A D | petscsys.h | 2475 PETSC_EXTERN PetscErrorCode PetscRandomGetValues(PetscRandom, PetscInt, PetscScalar *);
|
| /petsc/src/ts/tutorials/ |
| H A D | ex30.c | 757 PetscCall(PetscRandomGetValues(r, dim, vals)); in initial_conditions_C_random()
|