Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c150 PetscDrawSP drawspX; // Particle positions member
196 options->drawspX = NULL; in ProcessOptions()
331 PetscCall(PetscDrawSPCreate(draw, 10, &ctx->drawspX)); in SetupContext()
333 PetscCall(PetscDrawSPSetDimension(ctx->drawspX, 1)); in SetupContext()
334 PetscCall(PetscDrawSPGetAxis(ctx->drawspX, &axis)); in SetupContext()
336 PetscCall(PetscDrawSPReset(ctx->drawspX)); in SetupContext()
404 PetscCall(PetscDrawSPDestroy(&ctx->drawspX)); in DestroyContext()
755 PetscCall(PetscDrawSPReset(ctx->drawspX)); in MonitorPositions_2D()
756 PetscCall(PetscDrawSPGetAxis(ctx->drawspX, &axis)); in MonitorPositions_2D()
759 PetscCall(PetscDrawSPSetLimits(ctx->drawspX, lower[0], upper[0], lower[1], upper[1])); in MonitorPositions_2D()
[all …]
H A Dex4.c198 PetscDrawSP drawspX; // Particle positions member
256 options->drawspX = NULL; in ProcessOptions()
416 PetscCall(PetscDrawSPCreate(draw, 10, &ctx->drawspX)); in SetupContext()
418 PetscCall(PetscDrawSPSetDimension(ctx->drawspX, 1)); in SetupContext()
419 PetscCall(PetscDrawSPGetAxis(ctx->drawspX, &axis)); in SetupContext()
421 PetscCall(PetscDrawSPReset(ctx->drawspX)); in SetupContext()
559 PetscCall(PetscDrawSPDestroy(&ctx->drawspX)); in DestroyContext()
1271 PetscCall(PetscDrawSPReset(ctx->drawspX)); in MonitorPositions_2D()
1272 PetscCall(PetscDrawSPGetAxis(ctx->drawspX, &axis)); in MonitorPositions_2D()
1275 PetscCall(PetscDrawSPSetLimits(ctx->drawspX, lower[0], upper[0], lower[1], upper[1])); in MonitorPositions_2D()
[all …]