Searched refs:spanstats (Results 1 – 4 of 4) sorted by relevance
| /honee/src/spanstats/ |
| H A D | spanstats.c | 18 PetscErrorCode SpanStatsCtxDestroy(SpanStatsCtx *spanstats) { in SpanStatsCtxDestroy() argument 19 SpanStatsCtx spanstats_ = *spanstats; in SpanStatsCtxDestroy() 35 *spanstats = NULL; in SpanStatsCtxDestroy() 39 static PetscErrorCode SpanwiseStatisticssCreateDM(Honee honee, SpanStatsCtx spanstats, PetscInt deg… in SpanwiseStatisticssCreateDM() argument 49 spanstats->num_comp_stats = num_comps; in SpanwiseStatisticssCreateDM() 53 spanstats->span_width = domain_max[2] - domain_min[2]; in SpanwiseStatisticssCreateDM() 70 …intf(isoperiodicface_key, sizeof isoperiodicface_key, "-%sisoperiodic_facesf", spanstats->prefix)); in SpanwiseStatisticssCreateDM() 86 …abel, 1, PETSC_FALSE, PETSC_FALSE, PetscObjectComm((PetscObject)honee->dm), NULL, &spanstats->dm)); in SpanwiseStatisticssCreateDM() 87 …PetscCall(DMSetCoordinateDisc(spanstats->dm, NULL, PETSC_FALSE, PETSC_TRUE)); // Ensure that a co… in SpanwiseStatisticssCreateDM() 89 PetscCall(DMPlexDistribute(spanstats->dm, 0, NULL, &parent_distributed_dm)); in SpanwiseStatisticssCreateDM() [all …]
|
| H A D | turbulence.c | 17 static PetscErrorCode CreateStatisticCollectionOperator(Honee honee, SpanStatsCtx spanstats, SpanSt… in CreateStatisticCollectionOperator() argument 19 CeedInt num_comp_stats = spanstats->num_comp_stats, q_data_size; in CreateStatisticCollectionOperator() 47 if (spanstats->do_mms_test) { in CreateStatisticCollectionOperator() 88 …d, CeedOperatorGetContextFieldLabel(op_stats_collect, "solution time", &spanstats->solution_time_l… in CreateStatisticCollectionOperator() 89 …d, CeedOperatorGetContextFieldLabel(op_stats_collect, "previous time", &spanstats->previous_time_l… in CreateStatisticCollectionOperator() 91 …PetscCall(OperatorApplyContextCreate(honee->dm, spanstats->dm, honee->ceed, op_stats_collect, hone… in CreateStatisticCollectionOperator() 92 &spanstats->op_stats_collect_ctx)); in CreateStatisticCollectionOperator() 94 …orCreateLocalVecs(op_stats_collect, DMReturnVecType(spanstats->dm), PETSC_COMM_SELF, NULL, &spanst… in CreateStatisticCollectionOperator() 95 PetscCall(VecZeroEntries(spanstats->Child_Stats_loc)); in CreateStatisticCollectionOperator() 110 static PetscErrorCode SetupMMSErrorChecking(Honee honee, SpanStatsCtx spanstats, SpanStatsSetupData… in SetupMMSErrorChecking() argument [all …]
|
| H A D | cflpe.c | 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 [all …]
|
| /honee/include/ |
| H A D | spanstats.h | 25 PetscErrorCode SpanStatsCtxDestroy(SpanStatsCtx *spanstats); 35 PetscErrorCode SpanwiseStatisticsSetupFinalize(TS ts, Honee honee, SpanStatsCtx spanstats, PetscVie… 38 PetscErrorCode SpanwiseStatisticsCollect(Honee honee, SpanStatsCtx spanstats, PetscScalar solution_… 39 PetscErrorCode SpanwiseStatisticsProcess(Honee honee, SpanStatsCtx spanstats, Vec stats);
|