Lines Matching refs:ctx
147 PetscErrorCode SpanwiseStatisticsSetup_CflPe(TS ts, PetscViewerAndFormat *ctx) { in SpanwiseStatisticsSetup_CflPe() argument
156 PetscCall(PetscObjectTypeCompare((PetscObject)ctx->viewer, PETSCVIEWERASCII, &is_ascii)); in SpanwiseStatisticsSetup_CflPe()
178 ctx->data = spanstats; in SpanwiseStatisticsSetup_CflPe()
179 ctx->data_destroy = (PetscCtxDestroyFn *)SpanStatsCtxDestroy; in SpanwiseStatisticsSetup_CflPe()
181 PetscCall(SpanwiseStatisticsSetupFinalize(ts, honee, spanstats, ctx, &stats_setup_data)); in SpanwiseStatisticsSetup_CflPe()
186 …StatisticsCflPe(TS ts, PetscInt steps, PetscReal solution_time, Vec Q, PetscViewerAndFormat *ctx) { in TSMonitor_SpanwiseStatisticsCflPe() argument
190 SpanStatsCtx spanstats = ctx->data; in TSMonitor_SpanwiseStatisticsCflPe()
191 …PetscInt collect_interval = spanstats->collect_interval, viewer_interval = ctx->view_inte… in TSMonitor_SpanwiseStatisticsCflPe()
213 PetscCall(PetscViewerPushFormat(ctx->viewer, ctx->format)); in TSMonitor_SpanwiseStatisticsCflPe()
214 PetscCall(VecView(stats, ctx->viewer)); in TSMonitor_SpanwiseStatisticsCflPe()
215 PetscCall(PetscViewerPopFormat(ctx->viewer)); in TSMonitor_SpanwiseStatisticsCflPe()
222 PetscCall(PetscViewerFileGetName(ctx->viewer, &filename)); in TSMonitor_SpanwiseStatisticsCflPe()