History log of /petsc/src/snes/interface/ftn-custom/zsnesf.c (Results 1 – 25 of 334)
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 ...


# b31b2f82 10-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-10-24/fix-dmshellsetdestroyctx' into 'main'

Finish converting the function prototypes of destroy for contexts to use PetscCtxDestroyFn

See merge request petsc/petsc!8810


# 12651944 28-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

Change the `destroy()` function argument of `SNESSetConvergenceTest()` to type `PetscCtxDestroyFn *`

Development Tools: Vim, Emacs, Eclipse


# 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


# 5ebfa9e9 21-Sep-2025 Barry Smith <bsmith@mcs.anl.gov>

Introduce PetscFortranCallbackFn to be used instead of PetscVoidFn for Fortran callback functions

Also fix incorrect use of SNESFunctionFn and SNESJacobianFn in SNES Fortran manual stub


# 26199062 05-Jun-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-05-17/fix-ksp-typedef-function-prototypes' into 'main'

Clean up the use of typedef function prototypes for KSP

See merge request petsc/petsc!8431


# 5b669ad3 01-Jun-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix for getAPI for finding functions listed in include files that should have Fortran bindings


# b0dcfd16 23-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-03-20/minor-fortran-cleanup' into 'main'

Minor cleanup of Fortran binding stuff to simplify future maintainance

See merge request petsc/petsc!8218


# 6dd63270 20-Mar-2025 Barry Smith <bsmith@mcs.anl.gov>

Minor cleanup of Fortran binding stuff to simplify future maintainance

There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90

Minor cleanup of Fortran binding stuff to simplify future maintainance

There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90impl.h files. Also move uses of f90 to ftn when simple

show more ...


# 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 ...


# ad781fe3 21-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-29/fix-function-typedef-style' into 'main'

Unify handling of context destructors

See merge request petsc/petsc!7900


# 49abdd8a 29-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)

Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those t

Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)

Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those that
used PetscContainer

- Now allows any context to be a PetscObject
- Will provide a cleaner mapping to bindings in other languages
- Simplifies the maintenance of PETSc source code; improves clarity

Not backward compatible, compiler warnings will tell users what functions need to be updated

show more ...


# d0e6bf2a 25-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-19' into 'main'

clang-format-19

See merge request petsc/petsc!7644


# 0d5ef98a 18-Sep-2024 Satish Balay <balay@mcs.anl.gov>

CI: update checkclangformat to use clang-format-19.1.0


# c028c56f 01-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-06-14/fix-fortransnessetjacobianmatfdcoloring' into 'main'

Need to add SNESSetJacobian() Fortran interface to handle case when...

See merge request petsc/petsc!7631


# f51a5268 14-Jun-2024 Barry Smith <bsmith@mcs.anl.gov>

Improve the Fortran handling of functions that take ctx with type(*) support

Reported-by: Adrian Croucher <a.croucher@auckland.ac.nz>


# 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 ...


# f22e6e19 04-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-29/fix-snes-fn' into 'main'

Fix a few locations where SNESFunctionFN and SNESObjectiveFn were not used

See merge request petsc/petsc!7588


# 6b72add0 29-May-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix a few locations where SNESFunctionFN and SNESObjectiveFn were not used


# 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()


12345678910>>...14