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


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


# 834855d6 27-Aug-2025 Satish Balay <balay@mcs.anl.gov>

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

clang-format-21

See merge request petsc/petsc!8202


# ac530a7e 03-Jun-2025 Pierre Jolivet <pierre@joliv.et>

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'

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


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


# 949a929d 01-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-24/gamg-minor-cleanup' into 'main'

Barry/2024 05 24/gamg minor cleanup

See merge request petsc/petsc!7574


# e0b7e82f 17-May-2024 Barry Smith <bsmith@mcs.anl.gov>

Minor cleanup of GAMG code for main


# 8754fef1 19-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/matis-improvements' into 'main'

MATIS: repeated global entries in local part of l2g map and binary dump/load

See merge request petsc/petsc!7383


# 4f58015e 01-Mar-2024 Stefano Zampini <stefano.zampini@gmail.com>

MATIS: allow repeated entries

deprecate old matis_ options, the correct way is mat_is_...
fix nonzerostate

add multielement code path in ex71


# 970231d2 07-Mar-2024 Satish Balay <balay@mcs.anl.gov>

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

clang-format version 18

See merge request petsc/petsc!6902


# 4d86920d 10-Feb-2024 Pierre Jolivet <pierre@joliv.et>

checkbadSource: rules for PetscFunctionBegin and derivatives


# bbabb49b 13-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/pablo-fix-cg' into 'main'

KSP: Fix compute eigenvalues

See merge request petsc/petsc!7276


# a25662f8 12-Feb-2024 Pablo Brubeck <brubeck@protonmail.com>

KSP: fix eigenvalues computations

update outputs


# 61d8dfa2 09-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-checkbadSource' into 'main'

Improve checkbadSource

See merge request petsc/petsc!7168


# 53df731d 08-Jan-2024 Pierre Jolivet <pierre@joliv.et>

Fix "Extra spaces in test harness rules" in checkbadSource


# d0aa04f4 21-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'adams/gamg-asm-hem-aggs' into 'main'

GAMG: Add GAMG smoother create ASMs w/ HEM coarsening

See merge request petsc/petsc!7111


# 8926f930 12-Dec-2023 Mark Adams <mfadams@lbl.gov>

GAMG: Add GAMG smoother option to create ASMs with HEM coarsening


# 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


# 6493148f 28-Nov-2023 Stefano Zampini <stefano.zampini@gmail.com>

DMPLEXSNES: support objective functions


# 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


123456