Home
last modified time | relevance | path

Searched refs:tend (Results 1 – 14 of 14) sorted by relevance

/petsc/src/ts/tutorials/hybrid/
H A Drun.sh5 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 Dex1adj.c205 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 Dex1fwd.c228 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 Dex1k.kokkos.cxx31 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 Dex2cu.cu16 PetscLogDouble tstart, tend, time; in main() local
35 PetscCall(PetscTime(&tend)); in main()
36 time = (tend - tstart) * 1e6 / n; in main()
H A Dex2hip.hip.cxx16 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 Dex2k.kokkos.cxx35 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 Dex15k.kokkos.cxx34 PetscLogDouble tstart, tend, time; in main() local
73 PetscCall(PetscTime(&tend)); in main()
74 time = (tend - tstart) * 1e6 / m; in main()
H A Dex2k.c23 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 Dex6k.kokkos.cxx59 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 Dex5k.kokkos.cxx57 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 Dex13f90.F9035 …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 Dtsadapt.c960 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 Dindex.md160 …ts for the complex natural materials in coastal ecosystems. These methods tend to produce low-orde…