Searched refs:MonitorPoisson (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ts/tutorials/hamiltonian/ |
| H A D | ex2.c | 794 static PetscErrorCode MonitorPoisson(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorPoisson() function 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 D | ex4.c | 1310 static PetscErrorCode MonitorPoisson(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorPoisson() function 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()
|