Home
last modified time | relevance | path

Searched refs:maxtime (Results 1 – 6 of 6) sorted by relevance

/petsc/src/ts/event/tests/
H A Dex3span.c64 PetscReal tspan[28], dtlast, tlast, tlast_expected, maxtime; in main() local
194 PetscCall(TSGetMaxTime(ts, &maxtime)); in main()
195 tlast_expected = ((dir0 == 1 || !ctx.term) ? maxtime : PetscMin(maxtime, 9.05)); in main()
196 …MM_WORLD, "Final time = %g, max time = %g, %s\n", (double)tlast, (double)maxtime, PetscAbsReal(tla… in main()
/petsc/src/benchmarks/streams/
H A DSSEVersion.c74 …double rmstime[4] = {0}, maxtime[4] = {0}, mintime[4] = {FLT_MAX, FLT_MAX, FLT_MAX, FLT_MAX}; in main() local
250 maxtime[j] = MAX(maxtime[j], times[j][k]); in main()
256 …bytes[j] / mintime[j], size * 1.0e-06 * bytes[j] / mintime[j], rmstime[j], mintime[j], maxtime[j]); in main()
H A DCUDAVersion.cu860 float maxtime[8] = {0., 0., 0., 0., 0., 0., 0., 0.}; in printResultsReadable() local
875 maxtime[j] = MAX(maxtime[j], (1.e-03f * times[j][k])); in printResultsReadable()
/petsc/src/ts/interface/
H A Dts.c2950 PetscErrorCode TSSetMaxTime(TS ts, PetscReal maxtime) in TSSetMaxTime() argument
2954 PetscValidLogicalCollectiveReal(ts, maxtime, 2); in TSSetMaxTime()
2955 if (maxtime == PETSC_DETERMINE) { in TSSetMaxTime()
2958 ts->max_time = maxtime; in TSSetMaxTime()
2978 PetscErrorCode TSGetMaxTime(TS ts, PetscReal *maxtime) in TSGetMaxTime() argument
2982 PetscAssertPointer(maxtime, 2); in TSGetMaxTime()
2983 *maxtime = ts->max_time; in TSGetMaxTime()
3010 PetscErrorCode TSGetDuration(TS ts, PetscInt *maxsteps, PetscReal *maxtime) in TSGetDuration() argument
3018 if (maxtime) { in TSGetDuration()
3019 PetscAssertPointer(maxtime, 3); in TSGetDuration()
[all …]
/petsc/src/ts/tutorials/multirate/
H A Dex4.c1191 PetscReal ptime, maxtime; in main() local
1219 maxtime = 10.0; in main()
1309 PetscCall(TSSetMaxTime(ts, maxtime)); in main()
/petsc/doc/manual/
H A Dts.md246 TSSetMaxTime(TS ts,PetscReal maxtime);