History log of /petsc/src/sys/error/adebug.c (Results 1 – 25 of 249)
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 ...


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


# 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


# 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


# 835f2295 05-Oct-2024 Stefano Zampini <stefano.zampini@gmail.com>

Brain dead fixes for useless casts


# d8e47b63 17-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'

Compiler finds (and forbid) casts from higher precision integers to lower

See merge request petsc/petsc!7806


# dd460d27 10-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Fixes for clang-tidy


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


# 1ed6e3ff 25-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'

Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INT

See merge request petsc/petsc!7480


# cc4c1da9 14-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Update source code removing all unneeded /*@C and associated manual stubs and interfaces


# 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


# fbccb6d4 18-Nov-2023 Pierre Jolivet <pierre@joliv.et>

CI: update to clang-format-18


# 0b941295 30-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'release'


# 8f2fb00a 30-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-12-29/cleanup-petscerror-manual-pages/release' into 'release'

Clean up the error handling manual pages

See merge request petsc/petsc!7153


# 6e25c4a1 29-Dec-2023 Barry Smith <bsmith@mcs.anl.gov>

Clean up the error handling manual pages


# 02477ebb 15-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-06-30/enable-doc-lint' into 'main'

Enable docs linting

See merge request petsc/petsc!6667


# 10450e9e 12-Jul-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Manual linter fixes: sys


# aec76313 12-Jul-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Lint apply: sys


# cd0192f8 10-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-07-08/fix-start-in-debugger-isatty' into 'main'

Sadly, isatty() is not a reliable way to determine if PetscAttachDebugger() will work

See merge request petsc/petsc!6679


# ca85ed89 08-Jul-2023 Barry Smith <bsmith@mcs.anl.gov>

Sadly, isatty() is not a reliable way to determine if PetscAttachDebugger() will work

Reported-by: Pierre Jolivet


12345678910