Lines Matching refs:spanstats
18 static PetscErrorCode CreateStatisticCollectionOperator(Honee honee, SpanStatsCtx spanstats, SpanSt… in CreateStatisticCollectionOperator() argument
20 CeedInt num_comp_stats = spanstats->num_comp_stats, q_data_size; in CreateStatisticCollectionOperator()
124 …d, CeedOperatorGetContextFieldLabel(op_stats_collect, "solution time", &spanstats->solution_time_l… in CreateStatisticCollectionOperator()
125 …d, CeedOperatorGetContextFieldLabel(op_stats_collect, "previous time", &spanstats->previous_time_l… in CreateStatisticCollectionOperator()
126 …PetscCallCeed(ceed, CeedOperatorGetContextFieldLabel(op_stats_collect, "timestep", &spanstats->tim… in CreateStatisticCollectionOperator()
128 …PetscCall(OperatorApplyContextCreate(honee->dm, spanstats->dm, honee->ceed, op_stats_collect, hone… in CreateStatisticCollectionOperator()
129 &spanstats->op_stats_collect_ctx)); in CreateStatisticCollectionOperator()
131 …orCreateLocalVecs(op_stats_collect, DMReturnVecType(spanstats->dm), PETSC_COMM_SELF, NULL, &spanst… in CreateStatisticCollectionOperator()
132 PetscCall(VecZeroEntries(spanstats->Child_Stats_loc)); in CreateStatisticCollectionOperator()
150 SpanStatsCtx spanstats; in SpanwiseStatisticsSetup_CflPe() local
160 …tatisticsSetupInitialize(honee, honee->app_ctx->degree, 6, prefix, &stats_setup_data, &spanstats)); in SpanwiseStatisticsSetup_CflPe()
165 PetscCall(DMGetLocalSection(spanstats->dm, §ion)); in SpanwiseStatisticsSetup_CflPe()
176 …PetscCall(CreateStatisticCollectionOperator(honee, spanstats, stats_setup_data, honee->problem_dat… in SpanwiseStatisticsSetup_CflPe()
178 ctx->data = spanstats; in SpanwiseStatisticsSetup_CflPe()
181 PetscCall(SpanwiseStatisticsSetupFinalize(ts, honee, spanstats, ctx, &stats_setup_data)); in SpanwiseStatisticsSetup_CflPe()
190 SpanStatsCtx spanstats = ctx->data; in TSMonitor_SpanwiseStatisticsCflPe() local
191 …PetscInt collect_interval = spanstats->collect_interval, viewer_interval = ctx->view_inte… in TSMonitor_SpanwiseStatisticsCflPe()
204 …scCallCeed(honee->ceed, CeedOperatorSetContextDouble(spanstats->op_stats_collect_ctx->op, spanstat… in TSMonitor_SpanwiseStatisticsCflPe()
205 PetscCall(SpanwiseStatisticsCollect(honee, spanstats, solution_time, Q)); in TSMonitor_SpanwiseStatisticsCflPe()
208 PetscCall(DMSetOutputSequenceNumber(spanstats->dm, steps, solution_time)); in TSMonitor_SpanwiseStatisticsCflPe()
209 PetscCall(DMGetGlobalVector(spanstats->dm, &stats)); in TSMonitor_SpanwiseStatisticsCflPe()
210 PetscCall(SpanwiseStatisticsProcess(honee, spanstats, stats)); in TSMonitor_SpanwiseStatisticsCflPe()
228 …filename, spanstats->initial_solution_time / second, solution_time / second, spanstats->initial_so… in TSMonitor_SpanwiseStatisticsCflPe()
232 …spanstats->prefix, spanstats->initial_solution_time / second, solution_time / second, spanstats->i… in TSMonitor_SpanwiseStatisticsCflPe()
240 PetscCall(DMRestoreGlobalVector(spanstats->dm, &stats)); in TSMonitor_SpanwiseStatisticsCflPe()