Searched refs:num_comps (Results 1 – 8 of 8) sorted by relevance
| /honee/src/ |
| H A D | monitor_totalkineticenergy.c | 13 PetscInt num_comps; member 113 monitor_ctx->num_comps = num_comp_totalke; in SetupMontiorTotalKineticEnergy() 152 for (PetscInt i = 0; i < monitor_ctx->num_comps; i++) { in TSMonitor_TotalKineticEnergy() 156 …cCallMPI(MPI_Reduce(MPI_IN_PLACE, monitor_ctx->sum_values, monitor_ctx->num_comps, MPIU_SCALAR, MP… in TSMonitor_TotalKineticEnergy() 157 …I_Reduce(monitor_ctx->sum_values, monitor_ctx->sum_values, monitor_ctx->num_comps, MPIU_SCALAR, MP… in TSMonitor_TotalKineticEnergy() 160 …for (PetscInt i = 0; i < monitor_ctx->num_comps; i++) monitor_ctx->sum_values[i] /= monitor_ctx->v… in TSMonitor_TotalKineticEnergy() 194 for (PetscInt i = 0; i < monitor_ctx->num_comps; i++) { in TSMonitor_TotalKineticEnergy() 196 if (i < monitor_ctx->num_comps - 1) PetscCall(PetscViewerASCIIPrintf(ctx->viewer, ",")); in TSMonitor_TotalKineticEnergy() 203 for (PetscInt i = 0; i < monitor_ctx->num_comps; i++) { in TSMonitor_TotalKineticEnergy() 205 if (i < monitor_ctx->num_comps - 1) PetscCall(PetscViewerASCIIPrintf(ctx->viewer, ",")); in TSMonitor_TotalKineticEnergy() [all …]
|
| H A D | monitor_cfl.c | 10 PetscInt num_comps; member 120 monitor_ctx->num_comps = num_comp_cfl; in SetupMontiorCfl()
|
| /honee/src/smartsim/ |
| H A D | solution.c | 30 PetscInt num_dofs, num_comps; in TSMonitor_SmartSimSolutionSetup() local 38 PetscCall(PetscSectionGetFieldComponents(output_section, 0, &num_comps)); in TSMonitor_SmartSimSolutionSetup() 39 smartsimsol->local_array_dims[0] = num_dofs / num_comps; in TSMonitor_SmartSimSolutionSetup() 40 smartsimsol->local_array_dims[1] = num_comps; in TSMonitor_SmartSimSolutionSetup()
|
| H A D | sgs_dd_training.c | 222 PetscInt num_dofs, num_comps, local_min_max[2] = {0.}, global_min_max[2] = {0.}; in SGS_DD_TrainingSetup() local 226 PetscCall(PetscSectionGetFieldComponents(global_section, 0, &num_comps)); in SGS_DD_TrainingSetup() 230 sgs_dd_train->training_data_array_dims[0] = global_min_max[0] / num_comps; in SGS_DD_TrainingSetup() 231 sgs_dd_train->training_data_array_dims[1] = num_comps; in SGS_DD_TrainingSetup()
|
| /honee/qfunctions/ |
| H A D | diff_flux_projection.h | 10 const CeedInt num_comps) { in ComputeDivDiffusiveFluxGeneric() argument 19 CeedPragmaSIMD for (CeedInt n = 0; n < num_comps; n++) { in ComputeDivDiffusiveFluxGeneric() 27 grad_qn[f * dim + g] = grad_q[offset + (Q * num_comps * dim) * g + Q * f + i]; in ComputeDivDiffusiveFluxGeneric()
|
| /honee/include/ |
| H A D | spanstats.h | 33 PetscErrorCode SpanwiseStatisticsSetupInitialize(Honee honee, PetscInt degree, PetscInt num_comps, …
|
| /honee/src/spanstats/ |
| H A D | spanstats.c | 39 …wiseStatisticssCreateDM(Honee honee, SpanStatsCtx spanstats, PetscInt degree, PetscInt num_comps) { in SpanwiseStatisticssCreateDM() argument 49 spanstats->num_comp_stats = num_comps; in SpanwiseStatisticssCreateDM() 354 PetscErrorCode SpanwiseStatisticsSetupInitialize(Honee honee, PetscInt degree, PetscInt num_comps, … in SpanwiseStatisticsSetupInitialize() argument 371 PetscCall(SpanwiseStatisticssCreateDM(honee, spanstats_, degree, num_comps)); in SpanwiseStatisticsSetupInitialize()
|
| /honee/problems/ |
| H A D | stg_shur14.c | 336 PetscInt comps[5], num_comps = 4; in SetupStrongStg() local 362 if (!strcmp(name, "inflow")) PetscCall(BCDefinitionSetEssential(bc_def, num_comps, comps)); in SetupStrongStg()
|