| /petsc/src/sys/classes/random/interface/ |
| H A D | random.c | 51 PetscErrorCode PetscRandomGetValue(PetscRandom r, PetscScalar *val) in PetscRandomGetValue() 90 PetscErrorCode PetscRandomGetValueReal(PetscRandom r, PetscReal *val) in PetscRandomGetValueReal() 124 PetscErrorCode PetscRandomGetValues(PetscRandom r, PetscInt n, PetscScalar *val) in PetscRandomGetValues() 158 PetscErrorCode PetscRandomGetValuesReal(PetscRandom r, PetscInt n, PetscReal *val) in PetscRandomGetValuesReal() 188 PetscErrorCode PetscRandomGetInterval(PetscRandom r, PetscScalar *low, PetscScalar *high) in PetscRandomGetInterval() 223 PetscErrorCode PetscRandomSetInterval(PetscRandom r, PetscScalar low, PetscScalar high) in PetscRandomSetInterval()
|
| H A D | randomc.c | 32 PetscErrorCode PetscRandomDestroy(PetscRandom *r) in PetscRandomDestroy() 61 PetscErrorCode PetscRandomGetSeed(PetscRandom r, PetscInt64 *seed) in PetscRandomGetSeed() 95 PetscErrorCode PetscRandomSetSeed(PetscRandom r, PetscInt64 seed) in PetscRandomSetSeed() 214 PetscErrorCode PetscRandomSetOptionsPrefix(PetscRandom r, const char prefix[]) in PetscRandomSetOptionsPrefix() 353 PetscErrorCode PetscRandomCreate(MPI_Comm comm, PetscRandom *r) in PetscRandomCreate() 396 PetscErrorCode PetscRandomSeed(PetscRandom r) in PetscRandomSeed()
|
| /petsc/src/sys/classes/random/impls/rand48/ |
| H A D | rand48.c | 4 static PetscErrorCode PetscRandomSeed_Rand48(PetscRandom r) in PetscRandomSeed_Rand48() 11 static PetscErrorCode PetscRandomGetValue_Rand48(PetscRandom r, PetscScalar *val) in PetscRandomGetValue_Rand48() 27 static PetscErrorCode PetscRandomGetValueReal_Rand48(PetscRandom r, PetscReal *val) in PetscRandomGetValueReal_Rand48() 64 PETSC_EXTERN PetscErrorCode PetscRandomCreate_Rand48(PetscRandom r) in PetscRandomCreate_Rand48()
|
| /petsc/src/sys/classes/random/impls/rand/ |
| H A D | rand.c | 3 static PetscErrorCode PetscRandomSeed_Rand(PetscRandom r) in PetscRandomSeed_Rand() 11 static PetscErrorCode PetscRandomGetValue_Rand(PetscRandom r, PetscScalar *val) in PetscRandomGetValue_Rand() 24 static PetscErrorCode PetscRandomGetValueReal_Rand(PetscRandom r, PetscReal *val) in PetscRandomGetValueReal_Rand() 61 PETSC_EXTERN PetscErrorCode PetscRandomCreate_Rand(PetscRandom r) in PetscRandomCreate_Rand()
|
| /petsc/src/sys/classes/random/impls/sprng/ |
| H A D | sprng.c | 9 static PetscErrorCode PetscRandomSeed_Sprng(PetscRandom r) in PetscRandomSeed_Sprng() 16 static PetscErrorCode PetscRandomGetValue_Sprng(PetscRandom r, PetscScalar *val) in PetscRandomGetValue_Sprng() 32 static PetscErrorCode PetscRandomGetValueReal_Sprng(PetscRandom r, PetscReal *val) in PetscRandomGetValueReal_Sprng() 69 PETSC_EXTERN PetscErrorCode PetscRandomCreate_Sprng(PetscRandom r) in PetscRandomCreate_Sprng()
|
| /petsc/src/sys/classes/random/impls/curand/ |
| H A D | curand.c | 9 static PetscErrorCode PetscRandomSeed_CURAND(PetscRandom r) in PetscRandomSeed_CURAND() 20 static PetscErrorCode PetscRandomGetValuesReal_CURAND(PetscRandom r, PetscInt n, PetscReal *val) in PetscRandomGetValuesReal_CURAND() 35 static PetscErrorCode PetscRandomGetValues_CURAND(PetscRandom r, PetscInt n, PetscScalar *val) in PetscRandomGetValues_CURAND() 47 static PetscErrorCode PetscRandomDestroy_CURAND(PetscRandom r) in PetscRandomDestroy_CURAND() 77 PETSC_EXTERN PetscErrorCode PetscRandomCreate_CURAND(PetscRandom r) in PetscRandomCreate_CURAND()
|
| /petsc/src/sys/classes/random/impls/random123/ |
| H A D | random123.c | 19 static PetscErrorCode PetscRandomSeed_Random123(PetscRandom r) in PetscRandomSeed_Random123() 61 static PetscErrorCode PetscRandomGetValue_Random123(PetscRandom r, PetscScalar *val) in PetscRandomGetValue_Random123() 87 static PetscErrorCode PetscRandomGetValueReal_Random123(PetscRandom r, PetscReal *val) in PetscRandomGetValueReal_Random123() 99 static PetscErrorCode PetscRandomGetValuesReal_Random123(PetscRandom r, PetscInt n, PetscReal vals[… in PetscRandomGetValuesReal_Random123() 140 static PetscErrorCode PetscRandomGetValues_Random123(PetscRandom r, PetscInt n, PetscScalar vals[]) in PetscRandomGetValues_Random123() 151 static PetscErrorCode PetscRandomDestroy_Random123(PetscRandom r) in PetscRandomDestroy_Random123() 183 PETSC_EXTERN PetscErrorCode PetscRandomCreate_Random123(PetscRandom r) in PetscRandomCreate_Random123()
|
| /petsc/src/sys/classes/random/impls/rander48/ |
| H A D | rander48.c | 35 static PetscErrorCode PetscRandomSeed_Rander48(PetscRandom r) in PetscRandomSeed_Rander48() 50 static PetscErrorCode PetscRandomGetValue_Rander48(PetscRandom r, PetscScalar *val) in PetscRandomGetValue_Rander48() 70 static PetscErrorCode PetscRandomGetValueReal_Rander48(PetscRandom r, PetscReal *val) in PetscRandomGetValueReal_Rander48() 85 static PetscErrorCode PetscRandomDestroy_Rander48(PetscRandom r) in PetscRandomDestroy_Rander48() 123 PETSC_EXTERN PetscErrorCode PetscRandomCreate_Rander48(PetscRandom r) in PetscRandomCreate_Rander48()
|
| /petsc/src/sys/classes/draw/utils/ |
| H A D | cmap.c | 33 static inline void PetscHlsToRgb(double h, double l, double s, double *r, double *g, double *b) in PetscHlsToRgb() 47 static inline void PetscGammaCorrect(double *r, double *g, double *b) in PetscGammaCorrect() 62 double hue = maxhue * (double)i / (mapsize - 1), r, g, b; in PetscDrawCmap_Hue() local 87 double m, r = 0, g = 0, b = 0; in PetscDrawCmap_Jet() local 133 double m, r = 0, g = 0, b = 0; in PetscDrawCmap_Hot() local 167 double r = (7 * u + B[i] / 255.0) / 8; in PetscDrawCmap_Bone() local 256 PetscReal r = PetscPowReal((PetscReal)R[i] / 255, gamma); in PetscDrawUtilitySetCmap() local
|
| /petsc/src/tao/leastsquares/tutorials/matlab/more_wild_probs/ |
| H A D | perf_profile.m | 62 r = T./repmat(min(T,[],2),1,ns); variable 67 r = sort(r); variable
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcheckinterface.c | 8 PetscMPIInt r; in ExchangeArrayByRank_Private() local 45 PetscMPIInt r; in ExchangeVecByRank_Private() local 84 for (PetscMPIInt r = 0; r < nranks; r++) { in SortByRemote_Private() local 108 for (PetscMPIInt r = 0; r < nranks; r++) { in GetRecursiveConeCoordinatesPerRank_Private() local 136 for (PetscMPIInt r = 0; r < niranks; r++) { in PetscSFComputeMultiRootOriginalNumberingByRank_Private() local 184 PetscInt r; in DMPlexCheckInterfaceCones() local
|
| /petsc/src/snes/interface/ftn-custom/ |
| H A D | zsnesf90.c | 12 PETSC_EXTERN void snesgetconvergencehistory_(SNES *snes, F90Array1d *r, F90Array1d *fits, PetscInt … in snesgetconvergencehistory_() 26 PETSC_EXTERN void snesrestoreconvergencehistory_(SNES *snes, F90Array1d *r, F90Array1d *fits, Petsc… in snesrestoreconvergencehistory_()
|
| /petsc/src/ts/impls/glee/ |
| H A D | glee.c | 31 PetscInt r; /* Number of steps */ member 163 const PetscInt p = 1, s = 3, r = 2; in TSGLEERegisterAll() local 177 const PetscInt p = 2, s = 3, r = 2; in TSGLEERegisterAll() local 191 const PetscInt p = 2, s = 4, r = 2; in TSGLEERegisterAll() local 206 const PetscInt p = 2, s = 5, r = 2; in TSGLEERegisterAll() local 222 const PetscInt p = 3, s = 5, r = 2; in TSGLEERegisterAll() local 238 const PetscInt p = 2, s = 6, r = 2; in TSGLEERegisterAll() local 255 const PetscInt p = 3, s = 8, r = 2; in TSGLEERegisterAll() local 274 const PetscInt p = 2, s = 9, r = 2; in TSGLEERegisterAll() local 389 PetscErrorCode TSGLEERegister(TSGLEEType name, PetscInt order, PetscInt s, PetscInt r, PetscReal ga… in TSGLEERegister() [all …]
|
| /petsc/src/snes/utils/ |
| H A D | convest.c | 177 PetscErrorCode PetscConvEstComputeInitialGuess(PetscConvEst ce, PetscInt r, DM dm, Vec u) in PetscConvEstComputeInitialGuess() 187 PetscErrorCode PetscConvEstComputeError(PetscConvEst ce, PetscInt r, DM dm, Vec u, PetscReal errors… in PetscConvEstComputeError() 214 PetscErrorCode PetscConvEstMonitorDefault(PetscConvEst ce, PetscInt r) in PetscConvEstMonitorDefault() 257 static PetscErrorCode PetscConvEstInitGuessSNES_Private(PetscConvEst ce, PetscInt r, DM dm, Vec u) in PetscConvEstInitGuessSNES_Private() 264 static PetscErrorCode PetscConvEstComputeErrorSNES_Private(PetscConvEst ce, PetscInt r, DM dm, Vec … in PetscConvEstComputeErrorSNES_Private() 339 PetscInt Nr = ce->Nr, r, f, dim, oldlevel, oldnlev; in PetscConvEstGetConvRateSNES_Private() local
|
| /petsc/src/tao/unconstrained/tutorials/ |
| H A D | rosenbrock4.h | 325 PETSC_DEVICE_INLINE_DECL static void rosenbrock_for_loop(Rosenbrock r, const PetscScalar x[], const… in rosenbrock_for_loop() 340 PETSC_KERNEL_DECL void RosenbrockObjective_Kernel(Rosenbrock r, const PetscScalar x[], const PetscS… in RosenbrockObjective_Kernel() 345 PETSC_KERNEL_DECL void RosenbrockGradient_Kernel(Rosenbrock r, const PetscScalar x[], const PetscSc… in RosenbrockGradient_Kernel() 350 PETSC_KERNEL_DECL void RosenbrockObjectiveGradient_Kernel(Rosenbrock r, const PetscScalar x[], cons… in RosenbrockObjectiveGradient_Kernel() 355 PETSC_KERNEL_DECL void RosenbrockHessian_Kernel(Rosenbrock r, const PetscScalar x[], const PetscSca… in RosenbrockHessian_Kernel() 360 static PetscErrorCode RosenbrockObjective_Device(cupmStream_t stream, Rosenbrock r, const PetscScal… in RosenbrockObjective_Device() 370 static PetscErrorCode RosenbrockGradient_Device(cupmStream_t stream, Rosenbrock r, const PetscScala… in RosenbrockGradient_Device() 380 static PetscErrorCode RosenbrockObjectiveGradient_Device(cupmStream_t stream, Rosenbrock r, const P… in RosenbrockObjectiveGradient_Device() 390 static PetscErrorCode RosenbrockHessian_Device(cupmStream_t stream, Rosenbrock r, const PetscScalar… in RosenbrockHessian_Device() 401 static PetscErrorCode RosenbrockObjective_Host(Rosenbrock r, const PetscScalar x[], const PetscScal… in RosenbrockObjective_Host() [all …]
|
| /petsc/src/ts/utils/ |
| H A D | tsconvest.c | 18 static PetscErrorCode PetscConvEstInitGuessTS_Private(PetscConvEst ce, PetscInt r, DM dm, Vec u) in PetscConvEstInitGuessTS_Private() 25 static PetscErrorCode PetscConvEstComputeErrorTS_Private(PetscConvEst ce, PetscInt r, DM dm, Vec u,… in PetscConvEstComputeErrorTS_Private() 55 PetscInt Ns, oNs, Nf = ce->Nf, f, Nr = ce->Nr, r; in PetscConvEstGetConvRateTS_Temporal_Private() local 123 PetscInt Nr = ce->Nr, r, Nf = ce->Nf, f, dim, oldlevel, oldnlev; in PetscConvEstGetConvRateTS_Spatial_Private() local
|
| /petsc/src/mat/tests/ |
| H A D | ex204.c | 48 Vec v, r, v_vcl, r_vcl, d_vcl; in main() local 101 Vec v, r, v_vcl, r_vcl, d_vcl; in main() local 153 Vec v, r, v_vcl, r_vcl, d_vcl; in main() local 205 Vec v, r, v_vcl, r_vcl, d_vcl; in main() local
|
| /petsc/src/sys/classes/random/tutorials/ |
| H A D | ex2.c | 10 PetscReal r; member 34 PetscReal r, dt; in main() local 113 PetscReal basketPayoff(PetscReal vol[], PetscReal St0[], PetscInt n, PetscReal r, PetscReal dt, Pet… in basketPayoff() 176 PetscReal mcVal(PetscReal St, PetscReal r, PetscReal vol, PetscReal dt, PetscReal eps) in mcVal()
|
| /petsc/src/sys/tests/linter/ |
| H A D | testDisabled.c | 3 PetscErrorCode testDisabled(PetscRandom r) in testDisabled()
|
| H A D | testTypes.c | 3 PetscErrorCode testTypes(PetscRandom r, PetscViewer v, PetscObject o, PetscFunctionList f) in testTypes()
|
| H A D | testValidHeaders.c | 9 PetscErrorCode testValidHeaders(PetscRandom r, PetscViewer v, PetscDraw d, PetscDrawAxis a) in testValidHeaders()
|
| /petsc/src/snes/tutorials/ |
| H A D | ex3k.kokkos.cxx | 47 PetscErrorCode CpuFunction(SNES snes, Vec x, Vec r, PetscCtx ctx) in CpuFunction() 89 PetscErrorCode KokkosFunction(SNES snes, Vec x, Vec r, PetscCtx ctx) in KokkosFunction() 120 PetscErrorCode StubFunction(SNES snes, Vec x, Vec r, PetscCtx ctx) in StubFunction() 225 Vec x, r, U, F; /* vectors */ in main() local
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex85.c | 36 for (PetscInt r = 0; r < 3; ++r) locRowsA[r] = r + rStartA; in main() local 47 for (PetscInt r = 0; r < 2; ++r) locRowsD[r] = r + rStartD; in main() local 79 for (PetscInt r = 0; r < m; ++r) locRows[r] = r + rStart; in main() local
|
| H A D | ex3.c | 30 PetscScalar r[4]; /* element vector */ in main() local 208 PetscErrorCode FormElementRhs(PetscScalar x, PetscScalar y, PetscReal H, PetscScalar *r) in FormElementRhs()
|
| /petsc/src/dm/impls/da/tests/ |
| H A D | ex1.c | 27 …const PetscReal r = PetscSqrtReal(array[2 * p + 1] * array[2 * p + 1] + array[2 * p] * array[2 * … in DMSwarmPrint() local 40 PetscReal *coords, r, dr; in main() local
|