| #
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 ...
|
| #
9b88ac22
|
| 29-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/improve-Fortran-examples' into 'main'
Improve Fortran examples
See merge request petsc/petsc!8698
|
| #
02c639af
|
| 14-Oct-2025 |
Martin Diehl <mail@martin-diehl.net> |
Fortran: enforce lower case keywords and operators
also fixed occasional capitals in used modules with the help of @prj-
|
| #
e7a95102
|
| 05-Oct-2025 |
Martin Diehl <mail@martin-diehl.net> |
use modules instead of external
this allows for argument checking
|
| #
ceeae6b5
|
| 01-Oct-2025 |
Martin Diehl <mail@martin-diehl.net> |
remove labeled do loops
labeled do loops confused fprettify, so used it to rectify indentation
|
| #
c5e229c2
|
| 29-Sep-2025 |
Martin Diehl <mail@martin-diehl.net> |
place all the include statements at the top
Repeated inclusion in multiple location, e.g. at the start of a module or function is not needed. This becomes clear if all includes are outside of the ac
place all the include statements at the top
Repeated inclusion in multiple location, e.g. at the start of a module or function is not needed. This becomes clear if all includes are outside of the actual Fortran code. Added regex to check that with the help of @sbalay
show more ...
|
| #
edb0e59d
|
| 23-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-07-01/format-fortran-source-fprettify' into 'main'
format fortran source with fprettify
See merge request petsc/petsc!8514
|
| #
4820e4ea
|
| 23-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Run fprettify
|
| #
e0f7661e
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'sneslinesearch-improvements' into 'main'
SNESLinesearch: Minor improvements
See merge request petsc/petsc!8630
|
| #
a99ef635
|
| 27-Aug-2025 |
Jonas Heinzmann <jheinzmann@ethz.ch> |
SNESLinesearch: Minor improvements
- add missing configuration options in the documentation of the line searches (some of the available options were not listed), and consistently list their respecti
SNESLinesearch: Minor improvements
- add missing configuration options in the documentation of the line searches (some of the available options were not listed), and consistently list their respective default values
- add proper convergence criteria for the secant method in the L2 line search based on ltol and atol (otherwise, the secant method is mostly running for the maximum number of iterations)
- fix a small bug in the CP line search, where steptol * lambda was used to check for convergence based on the change of lambda instead of the ltol parameter
- rename sneslinesearch->maxstep to sneslinesearch->maxlambda in the options database to be consistent with its purpose in the algorithms
- rename SNESLineSearchL2 to SNESLineSearchSecant to better represent its underlying approach
show more ...
|
| #
226f8a8a
|
| 20-May-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
165c2d34
|
| 20-May-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-05-15/docs-rm-last-of-preconditioning-matrix/release' into 'release'
Remove use of preconditioning or preconditioner matrix when it should be...
See merge request petsc/pet
Merge branch 'barry/2025-05-15/docs-rm-last-of-preconditioning-matrix/release' into 'release'
Remove use of preconditioning or preconditioner matrix when it should be...
See merge request petsc/petsc!8410
show more ...
|
| #
7addb90f
|
| 16-May-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove use of preconditioning or preconditioner matrix when it should be phrased as matrix used to construct preconditioner
|
| #
6d8694c4
|
| 20-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'
Major updates to Fortran interface
See merge request petsc/petsc!7517
|
| #
ce78bad3
|
| 20-Feb-2025 |
Barry Smith <bsmith@petsc.dev> |
Fortran 90: fully embrace After 34 years!
- deprecate use of 'F90' in Fortran function names - use Fortran pointers when appropriate - the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!
- deprecate use of 'F90' in Fortran function names - use Fortran pointers when appropriate - the new Fortran API is not backward compatible with previous versions! - also clean up inconsistent PETSc code detected by new Fortran generation tools - drop use of bfort - automatically generate all the Fortran PETSc objects, enums etc from the include files - generate most of the Fortran interface definitions and functions from the source code - simplify the number and organization of Fortran modules
Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>
show more ...
|
| #
76d69608
|
| 19-Jan-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
1d017dde
|
| 19-Jan-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-11-26/improve-man-pages/release' into 'release'
Improve some manual pages in KSP/SNES
See merge request petsc/petsc!8071
|
| #
0b4b7b1c
|
| 26-Nov-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Improve some manual pages in KSP/SNES
|
| #
a623e290
|
| 12-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'
More improvements to Fortran stubs and interfaces
See merge request petsc/petsc!7598
|
| #
5d83a8b1
|
| 30-May-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
This requires some changes to user FORTRAN code
Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array Pass PETSC_NULL_ENUM when argument returns an enum instead of
This requires some changes to user FORTRAN code
Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER Pass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v] Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXX
The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above This will also require an update sowing with the new sowing branch this MR is using.
show more ...
|
| #
1432289d
|
| 29-May-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'release'
|
| #
26f68b99
|
| 29-May-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-05-27/docs-sneslinesearch/release' into 'release'
Add Fortran stub for SNESSetObjective() with usage test
See merge request petsc/petsc!7583
|
| #
c00ad2bc
|
| 28-May-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Add Fortran stub for SNESSetObjective()
Add Fortram test of the stub for SNESSetObjective()
|
| #
a7155305
|
| 23-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/remove-fortran-return' into 'main'
Fortran: remove unneeded return
Closes #1564
See merge request petsc/petsc!7402
|