Searched refs:MonitorVelocity (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ts/tutorials/hamiltonian/ |
| H A D | ex2.c | 636 PetscErrorCode MonitorVelocity(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorVelocity() function 2427 if (ctx.velocity_monitor >= 0) PetscCall(TSMonitorSet(ts, MonitorVelocity, &ctx, NULL)); in main()
|
| H A D | ex4.c | 1152 PetscErrorCode MonitorVelocity(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorVelocity() function 3031 if (ctx.velocity_monitor >= 0) PetscCall(TSMonitorSet(ts, MonitorVelocity, &ctx, NULL)); in main()
|