History log of /petsc/src/snes/tutorials/ex55.c (Results 1 – 25 of 35)
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 ...


# 09b68a49 04-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# e80aff1c 03-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-petsc-case' into 'release'

Fix wrong case for PETSc

See merge request petsc/petsc!8266


# f0b74427 01-Apr-2025 Pierre Jolivet <pierre@joliv.et>

Fix wrong case for PETSc


# 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


# 4d179fb4 19-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/add-matmatsolvetranspose_seqaij' into 'main'

MatMatSolveTranspose_SeqAIJ and minor housekeeping

See merge request petsc/petsc!7386


# dd8e379b 19-Mar-2024 Pierre Jolivet <pierre@joliv.et>

Docs: fix missing or extra dash in right-hand side


# c7fbd2bd 02-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-01-19/typedef-snes-functions' into 'main'

add typedef for functions passed to SNESSetFunction() etc to match approach in TS

See merge request petsc/petsc!7206


# 8434afd1 02-Feb-2024 Barry Smith <bsmith@mcs.anl.gov>

Change the use of the _Fn suffix to indicate a typedef of a function to just Fn

As determined on a vote on GitLab


# 9bcc50f1 20-Jan-2024 Barry Smith <bsmith@mcs.anl.gov>

add typedef for functions passed to SNESSetFunction() etc to match approach in TS

I never liked Jed's use of typedef for function prototypes for a couple of reasons

1) you don't see immediately tha

add typedef for functions passed to SNESSetFunction() etc to match approach in TS

I never liked Jed's use of typedef for function prototypes for a couple of reasons

1) you don't see immediately that the argument to the function is a function pointer instead of standard variable when looking at source
2) you don't see at the exact location in the code the prototype of the function being passed in

but there is something to say for using these typedefs so

I've prototyped the change for SNES but slightly differently than what Jed did for TS

1) I append the typedef with _Ftn to mark that it is a function (helping to relieve the problem 1 above)
2) I made the typedef to be for a function, not a function pointer so it can also be used directly for things like

PETSC_EXTERN SNESJacobian_Ftn SNESComputeJacobianDefault;

I think the TS usage could be switched to this style without user code breakage, and deprecate the current TS typedef

Thoughts?

Just do SNES the same way as TS and live with less clarity?

show more ...


# c8629ca8 17-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/minsurf-local' into 'main'

Improve support for nonlinear domain decomposition solvers

See merge request petsc/petsc!7084


# 0bf52853 22-Nov-2023 Stefano Zampini <stefano.zampini@gmail.com>

DMDASNES: support using user context if operation context is not provided

Add MPI_Allreduce inside the main objective driver


# 52c275a1 18-May-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/h2opus-dmdakokkos' into 'main'

Add support for KOKKOS in H2OPUS

See merge request petsc/petsc!6408


# 0aeb1f43 04-May-2023 Stefano Zampini <stefano.zampini@gmail.com>

SNES tutorials ex55: support non-kokkos runs


# 49154744 22-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# d7849d59 20-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-petsccallmpi' into 'release'

Fix PetscCallMPI(MPI_Allreduce()) with PETSc types

See merge request petsc/petsc!6348


# 712fec58 19-Apr-2023 Pierre Jolivet <pierre@joliv.et>

Fix PetscCallMPI(MPI_Allreduce()) with PETSc types


# 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


# d71ae5a4 21-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

source code format changes due to .clang-format changes


# 7c6f9176 21-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-09-09/cleanup-matlab-configure' into 'main'

minor cleanup for matlab engine

See merge request petsc/petsc!5608


# d1e78c4f 11-Sep-2022 Barry Smith <bsmith@mcs.anl.gov>

No longer a need for a seperate --with-matlab-engine since their are not fragile MATLAB version dependent libraries

that may be work for some users

/spend 20m


12