Searched refs:drawspE (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ts/tutorials/hamiltonian/ |
| H A D | ex2.c | 149 PetscDrawSP drawspE; // Electric field at particle positions member 195 options->drawspE = NULL; in ProcessOptions() 346 PetscCall(PetscDrawSPCreate(draw, 10, &ctx->drawspE)); in SetupContext() 348 PetscCall(PetscDrawSPSetDimension(ctx->drawspE, 1)); in SetupContext() 349 PetscCall(PetscDrawSPGetAxis(ctx->drawspE, &axis)); in SetupContext() 351 PetscCall(PetscDrawSPReset(ctx->drawspE)); in SetupContext() 403 PetscCall(PetscDrawSPDestroy(&ctx->drawspE)); in DestroyContext() 814 PetscCall(PetscDrawSPReset(ctx->drawspE)); in MonitorPoisson() 831 PetscCall(PetscDrawSPAddPoint(ctx->drawspE, &xval, &Eavg)); in MonitorPoisson() 834 PetscCall(PetscDrawSPDraw(ctx->drawspE, PETSC_TRUE)); in MonitorPoisson() [all …]
|
| H A D | ex4.c | 197 PetscDrawSP drawspE; // Electric field at particle positions member 255 options->drawspE = NULL; in ProcessOptions() 431 PetscCall(PetscDrawSPCreate(draw, 10, &ctx->drawspE)); in SetupContext() 433 PetscCall(PetscDrawSPSetDimension(ctx->drawspE, 1)); in SetupContext() 434 PetscCall(PetscDrawSPGetAxis(ctx->drawspE, &axis)); in SetupContext() 436 PetscCall(PetscDrawSPReset(ctx->drawspE)); in SetupContext() 558 PetscCall(PetscDrawSPDestroy(&ctx->drawspE)); in DestroyContext() 1330 PetscCall(PetscDrawSPReset(ctx->drawspE)); in MonitorPoisson() 1347 PetscCall(PetscDrawSPAddPoint(ctx->drawspE, &xval, &Eavg)); in MonitorPoisson() 1350 PetscCall(PetscDrawSPDraw(ctx->drawspE, PETSC_TRUE)); in MonitorPoisson() [all …]
|