History log of /petsc/src/ts/tutorials/hamiltonian/ex4.c (Results 1 – 12 of 12)
Revision Date Author Comments
# 4e8208cb 31-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)

See merge request petsc/petsc!8956

show more ...


# 2a8381b2 13-Jan-2026 Barry Smith <bsmith@mcs.anl.gov>

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now t

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now the standard for passing in contexts
- PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFn

Both of these are typedef to void*

Also removed most use of user and userctx for context arguments now consistently named ctx

Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran

show more ...


# 2a1887a7 11-Dec-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-11-30/fix-bad-ts' into 'main'

Fix bad decisions made in writing TS.

See merge request petsc/petsc!8877


# 188af4bf 01-Dec-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix bad decisions made in writing TS.

Fix -ts_dt to -ts_time_step and add initial time step to TSView output

commit a5a92c11fa9681148df375b257eda4e09909b74e
Author: Barry Smith <bsmith@petsc.de

Fix bad decisions made in writing TS.

Fix -ts_dt to -ts_time_step and add initial time step to TSView output

commit a5a92c11fa9681148df375b257eda4e09909b74e
Author: Barry Smith <bsmith@petsc.dev>
Date: Mon Dec 1 14:51:27 2025 -0500

add max_snes_failures to TSView

commit 32d3e79f6fa743930b1bbf32d03b9181b5b5418a
Author: Barry Smith <bsmith@petsc.dev>
Fix wrongly named options and add to TSView

Wrong name for options database key -ts_max_reject should be -ts_max_step_rejections!

Add max_reject value to TSView

Add max_snes_failures to TSView

Add initial timestep to TSView

show more ...


# 2286efdd 25-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-07-30/fix-matshellsetoperationarg' into 'main'

Complete usage of PetscVoidFn and PetscErrorCodeFn and introduce PetscFortranCallbackFn

See merge request petsc/petsc!8615


# 57d50842 31-Jul-2025 Barry Smith <bsmith@mcs.anl.gov>

Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **


# 3c4208d8 08-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'danofinn/ts-add-avg-dg' into 'main'

TSDiscgrad: Adding average DG and -ts_discgrad_type option; Swarm: Changes to field swarm field functions

See merge request petsc/petsc!7920


# f940b0e3 27-Sep-2024 danofinn <dsfinn@buffalo.edu>

TSDiscgrad: Adding average DG and -ts_discgrad_type option
- Also fixed automatic particle number determination

FOO


# 287d9e58 23-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-ts-landau-moments' into 'main'

TS Hamiltonian ex4: Preliminary moment equations

See merge request petsc/petsc!8573


# f14fce1b 22-Jul-2025 Matthew G. Knepley <knepley@gmail.com>

TS Hamiltonian ex4: Now have moment equation residuals


# 3e6fa7ea 26-Jun-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-vlasov-moments' into 'main'

Swarm+Plex: Plasma example for moment evolution

See merge request petsc/petsc!8493


# 918dfc20 23-Jun-2025 Matthew G. Knepley <knepley@gmail.com>

TS Hamiltonian ex4: Added a plasma example to look at moment evolution