Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c119 PetscBool poisson_monitor; // Flag to display charge, E field, and potential at each solve member
174 options->poisson_monitor = PETSC_FALSE; in ProcessOptions()
222 …harges, Efield and potential solve", "ex2.c", options->poisson_monitor, &options->poisson_monitor,… in ProcessOptions()
338 if (ctx->poisson_monitor) { in SetupContext()
2381 if (ctx->poisson_monitor) PetscCall(MonitorPoisson(ts, step, ptime, NULL, ctx)); in MigrateParticles()
2426 if (ctx.poisson_monitor) PetscCall(TSMonitorSet(ts, MonitorPoisson, &ctx, NULL)); in main()
H A Dex4.c157 PetscBool poisson_monitor; // Flag to display charge, E field, and potential at each solve member
234 options->poisson_monitor = PETSC_FALSE; in ProcessOptions()
300 …arges, Efield and potential solve", __FILE__, options->poisson_monitor, &options->poisson_monitor,… in ProcessOptions()
423 if (ctx->poisson_monitor) { in SetupContext()
2987 if (ctx->poisson_monitor) PetscCall(MonitorPoisson(ts, step, ptime, NULL, ctx)); in MigrateParticles()
3030 if (ctx.poisson_monitor) PetscCall(TSMonitorSet(ts, MonitorPoisson, &ctx, NULL)); in main()