Home
last modified time | relevance | path

Searched refs:drawhgic_v (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c144 PetscDrawHG drawhgic_v; // Histogram of the particle weight in each X cell member
190 options->drawhgic_v = NULL; in ProcessOptions()
288 PetscCall(PetscDrawHGCreate(drawic_v, (int)dim, &ctx->drawhgic_v)); in SetupContext()
289 PetscCall(PetscDrawHGCalcStats(ctx->drawhgic_v, PETSC_TRUE)); in SetupContext()
290 PetscCall(PetscDrawHGGetAxis(ctx->drawhgic_v, &axis2)); in SetupContext()
291 PetscCall(PetscDrawHGSetNumberBins(ctx->drawhgic_v, 21)); in SetupContext()
399 PetscCall(PetscDrawHGDestroy(&ctx->drawhgic_v)); in DestroyContext()
611 PetscCall(PetscDrawHGReset(ctx->drawhgic_v)); in MonitorInitialConditions()
612 PetscCall(PetscDrawHGGetDraw(ctx->drawhgic_v, &drawic_v)); in MonitorInitialConditions()
621 PetscCall(PetscDrawHGAddWeightedValue(ctx->drawhgic_v, vel[p * dim], weight[p])); in MonitorInitialConditions()
[all …]
H A Dex4.c192 PetscDrawHG drawhgic_v; // Histogram of the particle weight in each X cell member
250 options->drawhgic_v = NULL; in ProcessOptions()
373 PetscCall(PetscDrawHGCreate(drawic_v, (int)dim, &ctx->drawhgic_v)); in SetupContext()
374 PetscCall(PetscDrawHGCalcStats(ctx->drawhgic_v, PETSC_TRUE)); in SetupContext()
375 PetscCall(PetscDrawHGGetAxis(ctx->drawhgic_v, &axis2)); in SetupContext()
376 PetscCall(PetscDrawHGSetNumberBins(ctx->drawhgic_v, 21)); in SetupContext()
554 PetscCall(PetscDrawHGDestroy(&ctx->drawhgic_v)); in DestroyContext()
1127 PetscCall(PetscDrawHGReset(ctx->drawhgic_v)); in MonitorInitialConditions()
1128 PetscCall(PetscDrawHGGetDraw(ctx->drawhgic_v, &drawic_v)); in MonitorInitialConditions()
1137 PetscCall(PetscDrawHGAddWeightedValue(ctx->drawhgic_v, vel[p * dim], weight[p])); in MonitorInitialConditions()
[all …]