Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c636 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 Dex4.c1152 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()