Lines Matching refs:ptime
28 PetscErrorCode TSMonitor(TS ts, PetscInt step, PetscReal ptime, Vec u) in TSMonitor() argument
38 PetscCall(DMSetOutputSequenceNumber(dm, step, ptime)); in TSMonitor()
41 for (i = 0; i < n; i++) PetscCall((*ts->monitor[i])(ts, step, ptime, u, ts->monitorcontext[i])); in TSMonitor()
192 PetscErrorCode TSMonitorDefault(TS ts, PetscInt step, PetscReal ptime, Vec v, PetscViewerAndFormat … in TSMonitorDefault() argument
205 …time %g between steps %" PetscInt_FMT " and %" PetscInt_FMT "\n", (double)ptime, ts->steps - 1, ts… in TSMonitorDefault()
207 … PetscInt_FMT " TS dt %g time %g%s", step, (double)ts->time_step, (double)ptime, ts->steprollback … in TSMonitorDefault()
219 PetscCall(PetscRealView(1, &ptime, viewer)); in TSMonitorDefault()
221 PetscCall(PetscRealView(0, &ptime, viewer)); in TSMonitorDefault()
285 PetscErrorCode TSMonitorWallClockTime(TS ts, PetscInt step, PetscReal ptime, Vec v, PetscViewerAndF… in TSMonitorWallClockTime() argument
306 …cInt_FMT " ksp %" PetscInt_FMT "\n", step, (double)ts->time_step, (double)ptime, ts->steprollback … in TSMonitorWallClockTime()
335 PetscErrorCode TSMonitorExtreme(TS ts, PetscInt step, PetscReal ptime, Vec v, PetscViewerAndFormat … in TSMonitorExtreme() argument
349 …TS dt %g time %g%s max %g min %g\n", step, (double)ts->time_step, (double)ptime, ts->steprollback … in TSMonitorExtreme()
438 PetscErrorCode TSMonitorLGTimeStep(TS ts, PetscInt step, PetscReal ptime, Vec v, PetscCtx monctx) in TSMonitorLGTimeStep() argument
441 PetscReal x = ptime, y; in TSMonitorLGTimeStep()
581 PetscErrorCode TSMonitorDrawSolution(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscCtx ctx) in TSMonitorDrawSolution() argument
607 PetscCall(PetscSNPrintf(time, 32, "Timestep %" PetscInt_FMT " Time %g", step, (double)ptime)); in TSMonitorDrawSolution()
638 PetscErrorCode TSMonitorDrawSolutionPhase(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscCtx ct… in TSMonitorDrawSolutionPhase() argument
673 PetscCall(PetscSNPrintf(time, 32, "Timestep %" PetscInt_FMT " Time %g", step, (double)ptime)); in TSMonitorDrawSolutionPhase()
774 PetscErrorCode TSMonitorDrawSolutionFunction(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscCtx… in TSMonitorDrawSolutionFunction() argument
783 PetscCall(TSComputeSolutionFunction(ts, ptime, work)); in TSMonitorDrawSolutionFunction()
813 PetscErrorCode TSMonitorDrawError(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscCtx Ctx) in TSMonitorDrawError() argument
822 PetscCall(TSComputeSolutionFunction(ts, ptime, work)); in TSMonitorDrawError()
874 PetscErrorCode TSMonitorSolution(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscViewerAndFormat… in TSMonitorSolution() argument
911 PetscErrorCode TSMonitorSolutionVTK(TS ts, PetscInt step, PetscReal ptime, Vec u, TSMonitorVTKCtx c… in TSMonitorSolutionVTK() argument
1021 PetscErrorCode TSMonitorLGSolution(TS ts, PetscInt step, PetscReal ptime, Vec u, void *dctx) in TSMonitorLGSolution() argument
1080 PetscCall(PetscDrawLGAddCommonPoint(ctx->lg, ptime, ctx->displayvalues)); in TSMonitorLGSolution()
1088 PetscCall(PetscDrawLGAddCommonPoint(ctx->lg, ptime, yreal)); in TSMonitorLGSolution()
1091 PetscCall(PetscDrawLGAddCommonPoint(ctx->lg, ptime, yy)); in TSMonitorLGSolution()
1342 PetscErrorCode TSMonitorLGError(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscCtx Ctx) in TSMonitorLGError() argument
1359 PetscCall(TSComputeSolutionFunction(ts, ptime, y)); in TSMonitorLGError()
1369 PetscCall(PetscDrawLGAddCommonPoint(ctx->lg, ptime, yreal)); in TSMonitorLGError()
1373 PetscCall(PetscDrawLGAddCommonPoint(ctx->lg, ptime, yy)); in TSMonitorLGError()
1408 PetscErrorCode TSMonitorSPSwarmSolution(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscCtx dctx) in TSMonitorSPSwarmSolution() argument
1501 PetscErrorCode TSMonitorHGSwarmSolution(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscCtx dctx) in TSMonitorHGSwarmSolution() argument
1581 PetscErrorCode TSMonitorError(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscViewerAndFormat *v… in TSMonitorError() argument
1597 PetscCall(TSComputeSolutionFunction(ts, ptime, y)); in TSMonitorError()
1615 PetscCall(DMComputeL2FieldDiff(dm, ptime, exactFuncs, ctxs, u, ferrors)); in TSMonitorError()
1616 …C_COMM_WORLD, "Timestep: %04" PetscInt_FMT " time = %-8.4g \t L_2 Error: [", step, (double)ptime)); in TSMonitorError()
1628 PetscCall(DMProjectFunction(dm, ptime, exactFuncs, ctxs, INSERT_ALL_VALUES, v)); in TSMonitorError()
1638 PetscErrorCode TSMonitorLGSNESIterations(TS ts, PetscInt n, PetscReal ptime, Vec v, PetscCtx monctx) in TSMonitorLGSNESIterations() argument
1641 PetscReal x = ptime, y; in TSMonitorLGSNESIterations()
1664 PetscErrorCode TSMonitorLGKSPIterations(TS ts, PetscInt n, PetscReal ptime, Vec v, PetscCtx monctx) in TSMonitorLGKSPIterations() argument
1667 PetscReal x = ptime, y; in TSMonitorLGKSPIterations()
1737 PetscErrorCode TSMonitorEnvelope(TS ts, PetscInt step, PetscReal ptime, Vec u, PetscCtx dctx) in TSMonitorEnvelope() argument