History log of /petsc/src/snes/utils/dmdasnes.c (Results 1 – 25 of 228)
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 ...


# bd89dbf2 07-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-12-24/improve-snes-domain-error-handling' into 'main'

Improve the propagation of function domain error handling in SNES, especially...

See merge request petsc/petsc!8914


# 76c63389 24-Dec-2025 Barry Smith <bsmith@mcs.anl.gov>

Improve the propagation of function domain error handling in SNES, especially in the line search routines.

Due to the object layering of SNESLineSearch under SNES there is some code duplication incl

Improve the propagation of function domain error handling in SNES, especially in the line search routines.

Due to the object layering of SNESLineSearch under SNES there is some code duplication include both SNESLineSearchReason and SNESConvergedReason and SNESCheckFunctionNorm() and SNESLineSearchCheckFunctionNorm() and Jacobian friends

Reported-by: david.knezevic@akselos.com

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


# 9d8735f1 19-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-05-15/add-typedef-fn' into 'main'

Add some typedef XXXFn that currently use the prototype directly in code for some matrix objects

See merge request petsc/petsc!8409


# 2ba42892 16-May-2025 Barry Smith <bsmith@mcs.anl.gov>

Add `MatFDColoringFn` typedef


# 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


# 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


# 462c564d 14-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()

Introduce MPIU_Count to be used when MPI_Count is not available


# bac74541 03-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-06-30/doc-vecsetinf' into 'main'

Refactor VecSetInf() into VecFlag() and deprecate VecSetInf()

See merge request petsc/petsc!7661


# f480ea8a 03-Jul-2024 Barry Smith <bsmith@mcs.anl.gov>

Refactor VecSetInf() into VecFlag() and deprecate VecSetInf()

Reported-by: Stefano Zampini


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


# 2971ee68 26-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# c5b40b5f 26-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-12-20/docs-matcreatesnesmf/release' into 'release'

Clarify docs for MatCreateSNESMF().

See merge request petsc/petsc!7133


# c118d280 26-Dec-2023 Barry Smith <bsmith@mcs.anl.gov>

Clarify docs for MatCreateSNESMF().

Reported-by: Yi Hu <y.hu@mpie.de>


12345678910