Merge remote-tracking branch 'origin/release'
Remove the last of the use of horizontal lines --- as seperators. With modern code development systems they are not needed and just an eye-sore
CUDA: replace cuda-memcheck with compute-sanitizercuda-memcheck was deprecated in favor of compute-sanitizer starting with cuda-11.5, and was removed from cuda-12.0
Add automatic generated fortran support for setting and returning contextsMajor 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 contextsMajor 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 PetscCtxDestroyFnBoth of these are typedef to void*Also removed most use of user and userctx for context arguments now consistently named ctxImproved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran
show more ...
checkbadSource: enforce proper style in makefiles
Introduce PetscFortranCallbackFn to be used instead of PetscVoidFn for Fortran callback functionsAlso fix incorrect use of SNESFunctionFn and SNESJacobianFn in SNES Fortran manual stub
Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **
Make PetscStackView() a public function
Fix CUDA 13 API incompatibilitiesCo-authored-by: Satish Balay <balay@mcs.anl.gov>
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
missing "s" for isascii and issundials
Remove explicitly listed empty files and switch to output/empty.out
Fix wrong case for PETSc
Minor cleanup of Fortran binding stuff to simplify future maintainanceThere 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 maintainanceThere 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
some code fixes
some doc/manual page fixes
Fix typos
Improve some manual pages in KSP/SNES
debug: Add note about possible removal of PetscIntView and friendsSee discussion: https://gitlab.com/petsc/petsc/-/merge_requests/7993#note_2201318837
debug: Add Petsc{Int,Real,Scalar}ViewNumColumnsEquivalent to Petsc{Int,Real,Scalar}View, but user selects the number ofcolumns-per-row printed to screen
PetscRealView check pointer if N != 0
Brain dead fixes for useless casts
Python: Improved handling of exceptions and tracebacks
12345678910>>...23