| #
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 ...
|
| #
732aec7a
|
| 22-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/remove-cast' into 'main'
Use NULL or nullptr instead of casted 0
See merge request petsc/petsc!7857
|
| #
c8025a54
|
| 21-Sep-2024 |
Pierre Jolivet <pierre@joliv.et> |
Use NULL or nullptr instead of casted 0
|
| #
bff66efa
|
| 15-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'ilya-fursov/ts-fixevent2' into 'main'
TSEvent: refactor and fix bugs, add TSSetPostEventStep()
See merge request petsc/petsc!6752
|
| #
fe4ad979
|
| 03-Dec-2023 |
Ilya Fursov <ilya.foursov.7bd@gmail.com> |
Implement setting two distinct post-event steps
The two post-event steps are managed by: TSSetPostEventStep(), -ts_event_post_event_step, TSSetPostEventSecondStep(), -ts_event_post_event_second_step
Implement setting two distinct post-event steps
The two post-event steps are managed by: TSSetPostEventStep(), -ts_event_post_event_step, TSSetPostEventSecondStep(), -ts_event_post_event_second_step.
(The latter function and option are replacement for the original PETSc TSSetPostEventIntervalStep(), -ts_event_post_eventinterval_step, with some change of overall behaviour of 1st + 2nd steps).
Also, reduce the number of tests ~ 4 times.
show more ...
|
| #
fa9584fb
|
| 03-Dec-2023 |
Ilya Fursov <ilya.foursov.7bd@gmail.com> |
Update the previously existing TSEvent tests and tutorials.
Move src/ts/tests/ex1.c to src/ts/event/tests/ex1.c Move src/ts/tests/ex16.c to src/ts/event/tests/ex16.c Move src/ts/tests/ex22.c to src/
Update the previously existing TSEvent tests and tutorials.
Move src/ts/tests/ex1.c to src/ts/event/tests/ex1.c Move src/ts/tests/ex16.c to src/ts/event/tests/ex16.c Move src/ts/tests/ex22.c to src/ts/tutorials/ex32.c, as it's not a test.
Fix the bouncing ball examples src/ts/tutorials/ex40.c and ex44.c to cleanly terminate on reaching M bounces.
show more ...
|