Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c121 PetscInt velocity_monitor; // Cell to monitor the velocity distribution for member
176 options->velocity_monitor = -1; in ProcessOptions()
223 …"Cell to show velocity histograms", "ex2.c", options->velocity_monitor, &options->velocity_monitor in ProcessOptions()
297 if (ctx->velocity_monitor >= 0) { in SetupContext()
311 …itle, PETSC_MAX_PATH_LEN, "Cell %" PetscInt_FMT ": Velocity Distribution", ctx->velocity_monitor)); in SetupContext()
646 PetscInt dim, Npc, cStart, cEnd, cell = ctx->velocity_monitor; in MonitorVelocity()
2427 if (ctx.velocity_monitor >= 0) PetscCall(TSMonitorSet(ts, MonitorVelocity, &ctx, NULL)); in main()
H A Dex4.c159 PetscInt velocity_monitor; // Cell to monitor the velocity distribution for member
236 options->velocity_monitor = -1; in ProcessOptions()
301 …Cell to show velocity histograms", __FILE__, options->velocity_monitor, &options->velocity_monitor in ProcessOptions()
382 if (ctx->velocity_monitor >= 0) { in SetupContext()
396 …itle, PETSC_MAX_PATH_LEN, "Cell %" PetscInt_FMT ": Velocity Distribution", ctx->velocity_monitor)); in SetupContext()
1162 PetscInt dim, Npc, cStart, cEnd, cell = ctx->velocity_monitor; in MonitorVelocity()
3031 if (ctx.velocity_monitor >= 0) PetscCall(TSMonitorSet(ts, MonitorVelocity, &ctx, NULL)); in main()