| /petsc/src/ts/tutorials/hybrid/ |
| H A D | run.sh | 5 tend=$(echo 0.25*$i/$total | bc -l) 6 echo "$tend" 7 ./ex1adj -pc_type lu -ts_event_tol 1e-10 -tend "$tend" 10 ./ex1fwd -pc_type lu -ts_event_tol 1e-10 -tend 0.25
|
| H A D | ex1adj.c | 205 PetscReal tend; in main() local 218 tend = 0.125; in main() 223 PetscCall(PetscOptionsReal("-tend", "", "", tend, &tend, NULL)); in main() 272 PetscCall(TSSetMaxTime(ts, tend)); in main() 319 …PetscCall(PetscFPrintf(PETSC_COMM_WORLD, f, "%20.15lf %20.15lf %20.15lf\n", (double)tend, (double)… in main()
|
| H A D | ex1fwd.c | 228 PetscReal tend; in main() local 240 tend = 0.125; in main() 245 PetscCall(PetscOptionsReal("-tend", "", "", tend, &tend, NULL)); in main() 297 PetscCall(TSSetMaxTime(ts, tend)); in main()
|
| /petsc/src/sys/objects/device/tests/ |
| H A D | ex1k.kokkos.cxx | 31 PetscLogDouble tstart, tend, time; in main() local 45 PetscCall(PetscTime(&tend)); in main() 47 time = (tend - tstart) * 1e6 / n; in main() 56 PetscCall(PetscTime(&tend)); in main() 57 time = (tend - tstart) * 1e6 / n; in main()
|
| H A D | ex2cu.cu | 16 PetscLogDouble tstart, tend, time; in main() local 35 PetscCall(PetscTime(&tend)); in main() 36 time = (tend - tstart) * 1e6 / n; in main()
|
| H A D | ex2hip.hip.cxx | 16 PetscLogDouble tstart, tend, time; in main() local 35 PetscCall(PetscTime(&tend)); in main() 36 time = (tend - tstart) * 1e6 / n; in main()
|
| /petsc/src/dm/tests/ |
| H A D | ex2k.kokkos.cxx | 35 PetscLogDouble tstart = 0.0, tend; in Update1() local 49 PetscCall(PetscTime(&tend)); in Update1() 50 *avgTime = (tend - tstart) / nloop; in Update1() 58 PetscLogDouble tstart = 0.0, tend; in Update2() local 74 PetscCall(PetscTime(&tend)); in Update2() 75 *avgTime = (tend - tstart) / nloop; in Update2() 96 PetscLogDouble tstart = 0.0, tend = 0.0, avgTime = 0.0; in main() local 124 PetscCall(PetscTime(&tend)); in main() 149 PetscCall(PetscTime(&tend)); in main() 152 avgTime = (tend - tstart) / nloop; in main()
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex15k.kokkos.cxx | 34 PetscLogDouble tstart, tend, time; in main() local 73 PetscCall(PetscTime(&tend)); in main() 74 time = (tend - tstart) * 1e6 / m; in main()
|
| H A D | ex2k.c | 23 PetscLogDouble tstart, tend, times[8], fom; // figure of merit in main() local 95 PetscCall(PetscTime(&tend)); in main() 96 times[j] = (tend - tstart) * 1e6 / its; in main()
|
| /petsc/src/mat/tests/ |
| H A D | ex6k.kokkos.cxx | 59 PetscLogDouble tstart = 0, tend = 0, avgTime; in main() local 157 PetscCall(PetscTime(&tend)); in main() 158 avgTime = (tend - tstart) * 1e6; /* microseconds */ in main() 176 PetscCall(PetscTime(&tend)); in main() 177 avgTime = (tend - tstart) * 1e6 / n; /* microseconds */ in main()
|
| H A D | ex5k.kokkos.cxx | 57 PetscLogDouble tstart = 0, tend = 0, avgTime; in main() local 114 PetscCall(PetscTime(&tend)); in main() 115 avgTime = (tend - tstart) * 1e6 / n; /* microseconds */ in main()
|
| /petsc/src/dm/tutorials/ |
| H A D | ex13f90.F90 | 35 …PetscReal :: t, tend, dt, xmin, xmax, ymin, ymax, zmin, zmax, xgmin, xgmax, ygmin, ygmax, zgmin, z… 115 tend = 100.0 117 maxstep = ceiling((tend - t)/dt)
|
| /petsc/src/ts/adapt/interface/ |
| H A D | tsadapt.c | 960 PetscReal t = ts->ptime + ts->time_step, tend, tmax, h1, hmax; in TSAdaptChoose() local 981 tend = t + h1; in TSAdaptChoose() 994 if (t < tmax && tend > tmax) *next_h = hmax; in TSAdaptChoose() 995 if (t < tmax && tend < tmax && h1 * b > hmax) *next_h = hmax / 2; in TSAdaptChoose() 996 if (t < tmax && tend < tmax && h1 * a > hmax) *next_h = hmax; in TSAdaptChoose()
|
| /petsc/doc/community/meetings/2025/ |
| H A D | index.md | 160 …ts for the complex natural materials in coastal ecosystems. These methods tend to produce low-orde…
|