Searched refs:viewerPRes (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ts/tutorials/hamiltonian/ |
| H A D | ex4.c | 206 PetscViewer viewerPRes; // Momentum density residual viewer member 264 options->viewerPRes = NULL; in ProcessOptions() 529 …etscViewerDrawOpen(comm, NULL, "Momentum Density Residual", 800, 300, 400, 300, &ctx->viewerPRes)); in SetupContext() 530 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)ctx->viewerPRes, "pres_")); in SetupContext() 531 PetscCall(PetscViewerDrawGetDraw(ctx->viewerPRes, 0, &draw)); in SetupContext() 533 PetscCall(PetscViewerSetFromOptions(ctx->viewerPRes)); in SetupContext() 571 PetscCall(PetscViewerDestroy(&ctx->viewerPRes)); in DestroyContext() 1098 PetscCall(VecView(pres, ctx->viewerPRes)); in MonitorMomentFields()
|