| #
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 **
|
| #
be37439e
|
| 21-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/useless-cast' into 'main'
Remove useless cast
See merge request petsc/petsc!7894
|
| #
300f1712
|
| 05-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
brain dead fixes for useless casts in examples
|
| #
fda22ce0
|
| 08-Jul-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-07-01/fix-petscoptionsgetviewer' into 'main'
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model
See merge request petsc/petsc!7667
|
| #
648c30bc
|
| 08-Jul-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model
Hence the code needs to be refactored
Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model
Hence the code needs to be refactored
Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routines
Reported-by: James Wright Thanks-to: Jeremy L Thompson
show more ...
|
| #
e6053022
|
| 02-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-11-21/fix-thread-safety-petscoptionsgetviewer' into 'main'
Fix PetscOptionsGetViewer() so it works in a thread-safe way
See merge request petsc/petsc!7047
|
| #
cd791dc2
|
| 21-Nov-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix PetscOptionsGetViewer() so it works in a thread-safe way
When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared by all threads that call PetscOptio
Fix PetscOptionsGetViewer() so it works in a thread-safe way
When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared by all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() and dereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewer was accessed thus corrupting the object.
This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencing on persistant viewers, thus removing the specific race condition above.
Other possible solutions include
Use a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so one could mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowers the cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared model is what we need in the long run, though it might be.
show more ...
|
| #
597312bb
|
| 02-May-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
7168d968
|
| 02-May-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/fix-setinf' into 'release'
Fixes for -fp_trap
See merge request petsc/petsc!6372
|
| #
dd0d747a
|
| 29-Apr-2023 |
Matthew G. Knepley <knepley@gmail.com> |
TS ex53: Take correct limit for Cryer
|
| #
f1c942b3
|
| 27-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
f60069d0
|
| 27-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/cxxcomplex-fixes' into 'release'
Various fixes for complex numbers
See merge request petsc/petsc!6384
|
| #
9fa27a79
|
| 27-Apr-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
Various fixes for complex numbers
I got failures building the testsuite with - gcc version 12.2.1 - std=gnu++20 - petsc with 64bit integers, single precision, and complex numbers
|
| #
b6b5caf9
|
| 27-Mar-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-hybrid-mass' into 'main'
Plex: Can now specify a mass weighting to hybrid residual
See merge request petsc/petsc!6210
|
| #
07218a29
|
| 17-Mar-2023 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Can now specify a mass weighting to hybrid residual - This is not a complete fix. We need to match up quadrature points across the interface.
|
| #
9cf8ee68
|
| 10-Mar-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-memory-bugs' into 'main'
Knepley/fix memory bugs
See merge request petsc/petsc!6163
|
| #
2456a0d3
|
| 09-Mar-2023 |
Matthew G. Knepley <knepley@gmail.com> |
TS ex53: Fix qudrature consistency
|
| #
31d78bcd
|
| 02-Feb-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'
Feature: Non-discardable PetscErrorCode
See merge request petsc/petsc!5923
|
| #
3ba16761
|
| 10-Dec-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Make PetscErrorCode a non-discardable enum
|
| #
061e922f
|
| 22-Sep-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'
Feature: Bicycle Storage Facility 2
See merge request petsc/petsc!5661
|