Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c143 PetscDrawHG drawhgic_x; // Histogram of the particle weight in each X cell member
189 options->drawhgic_x = NULL; in ProcessOptions()
277 PetscCall(PetscDrawHGCreate(drawic_x, (int)dim, &ctx->drawhgic_x)); in SetupContext()
278 PetscCall(PetscDrawHGCalcStats(ctx->drawhgic_x, PETSC_TRUE)); in SetupContext()
279 PetscCall(PetscDrawHGGetAxis(ctx->drawhgic_x, &axis1)); in SetupContext()
280 PetscCall(PetscDrawHGSetNumberBins(ctx->drawhgic_x, (int)(cEnd - cStart))); in SetupContext()
398 PetscCall(PetscDrawHGDestroy(&ctx->drawhgic_x)); in DestroyContext()
606 PetscCall(PetscDrawHGReset(ctx->drawhgic_x)); in MonitorInitialConditions()
607 PetscCall(PetscDrawHGGetDraw(ctx->drawhgic_x, &drawic_x)); in MonitorInitialConditions()
620 PetscCall(PetscDrawHGAddWeightedValue(ctx->drawhgic_x, pos[p * dim], weight[p])); in MonitorInitialConditions()
[all …]
H A Dex4.c191 PetscDrawHG drawhgic_x; // Histogram of the particle weight in each X cell member
249 options->drawhgic_x = NULL; in ProcessOptions()
362 PetscCall(PetscDrawHGCreate(drawic_x, (int)dim, &ctx->drawhgic_x)); in SetupContext()
363 PetscCall(PetscDrawHGCalcStats(ctx->drawhgic_x, PETSC_TRUE)); in SetupContext()
364 PetscCall(PetscDrawHGGetAxis(ctx->drawhgic_x, &axis1)); in SetupContext()
365 PetscCall(PetscDrawHGSetNumberBins(ctx->drawhgic_x, (int)(cEnd - cStart))); in SetupContext()
553 PetscCall(PetscDrawHGDestroy(&ctx->drawhgic_x)); in DestroyContext()
1122 PetscCall(PetscDrawHGReset(ctx->drawhgic_x)); in MonitorInitialConditions()
1123 PetscCall(PetscDrawHGGetDraw(ctx->drawhgic_x, &drawic_x)); in MonitorInitialConditions()
1136 PetscCall(PetscDrawHGAddWeightedValue(ctx->drawhgic_x, pos[p * dim], weight[p])); in MonitorInitialConditions()
[all …]