Merge branch 'jczhang/2025-09-19/precision-mumps' into 'main'Support different precisions with MUMPSSee merge request petsc/petsc!8715
Merge remote-tracking branch 'origin/release'
KSPHPDDM: deprecate KSPHPDDMPrecision in favor of PetscPrecision
CI: add mumps/scalapack to a __float128 job
Have KSPView() indicate when there is no convergence test.Reported-by: Elana Moral Sanchez
TS: fix docs for TSFunctionDomainError
Fix the definition of PetscErrorCodeFn; this reverts API change in !8615Co-authored-by: Pierre Jolivet <pierre@joliv.et>Reported-by: Lisandro Dalcin <dalcinl@gmail.com>
tests: update CLEANFILES, and fix a compile target
Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **
TSPSEUDO: update needs to be copied inside the loopUse Vec API to compute xdotRemove redundant computation of xdot in Jacobian
Run fprettify
Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name
clang-format: update to v21 (and update CI)
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#'
show more ...
Convert some SETERRQ() to PetscCheck()
One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat
One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}done
missing "s" for isascii and issundials
SNESLinesearch: Minor improvements- add missing configuration options in the documentation of the line searches (some of the available options were not listed), and consistently list their respecti
SNESLinesearch: Minor improvements- add missing configuration options in the documentation of the line searches (some of the available options were not listed), and consistently list their respective default values- add proper convergence criteria for the secant method in the L2 line search based on ltol and atol (otherwise, the secant method is mostly running for the maximum number of iterations)- fix a small bug in the CP line search, where steptol * lambda was used to check for convergence based on the change of lambda instead of the ltol parameter- rename sneslinesearch->maxstep to sneslinesearch->maxlambda in the options database to be consistent with its purpose in the algorithms- rename SNESLineSearchL2 to SNESLineSearchSecant to better represent its underlying approach
TSDiscgrad: Adding average DG and -ts_discgrad_type option- Also fixed automatic particle number determinationFOO
checkbadSource: forbid empty output_file not named output/empty.out
TS Hamiltonian ex4: Now have moment equation residuals
Remove explicitly listed empty files and switch to output/empty.out
Fix typos
use integer and real kinds from ISO_C_bindingThe kinds in this module are guaranteed to be compatible with thecorresponding C types.Requires to include the ISO_C_binding module in interfaces and
use integer and real kinds from ISO_C_bindingThe kinds in this module are guaranteed to be compatible with thecorresponding C types.Requires to include the ISO_C_binding module in interfaces and strayfunctions
12345678910>>...20