Searched refs:drawlgMomRes (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ts/tutorials/hamiltonian/ |
| H A D | ex4.c | 208 PetscDrawLG drawlgMomRes; // Residuals for the moment equations member 266 options->drawlgMomRes = NULL; in ProcessOptions() 514 PetscCall(PetscDrawLGCreate(draw, 3, &ctx->drawlgMomRes)); in SetupContext() 516 PetscCall(PetscDrawLGGetAxis(ctx->drawlgMomRes, &axis)); in SetupContext() 518 PetscCall(PetscDrawLGSetLimits(ctx->drawlgMomRes, 0., ctx->steps * ctx->stepSize, -8, 0)); in SetupContext() 573 PetscCall(PetscDrawLGDestroy(&ctx->drawlgMomRes)); in DestroyContext() 1043 PetscCall(PetscDrawLGAddCommonPoint(ctx->drawlgMomRes, t, logres)); in ComputeMomentFields() 1044 PetscCall(PetscDrawLGDraw(ctx->drawlgMomRes)); in ComputeMomentFields() 1048 PetscCall(PetscDrawLGGetDraw(ctx->drawlgMomRes, &draw)); in ComputeMomentFields()
|