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 ...
Merge remote-tracking branch 'origin/release'
__fp16: fix 'make check'
Fix missing equal sign
Proper capitalization from Gram-Schmidt orthogonalization
MatView(): do not print block size twice
tests: Add new alt for failing test snes_tutorials-ex28
Merge branch 'barry/2025-10-18/optimize-aij-ops' into 'main'Refactor handling of diagonal marking in *AIJ and SELL matricesSee merge request petsc/petsc!8797
- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX() - Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time
- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX() - Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time - Accessing Mat_SeqXXX->diag now requires the use of MatGetDiagonalMarkers_SeqXXX() except when the current values are known to be correct; for example during numerical factorizations and solves - Mat_SeqXXX->diag is now never shared among matrices; hence the free_diag flag is gone. That was always a risky proposition since any of the owning matrices could chang the values thus making them incorrect for other owners.
Fix terminology for Pmat in KSPView output.
Have KSPView() indicate when there is no convergence test.Reported-by: Elana Moral Sanchez
MATIS: simplify and improve assembly of a MATIS into a AIJ
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
PCHPDDM: use MatMumpsSetBlk() and minor housekeeping
checkbadSource: forbid empty output_file not named output/empty.out
Remove explicitly listed empty files and switch to output/empty.out
SNES ex69: support solving for random rhs and zero solution
Fix -log_view to display 1e-6 correctly
CI: migrate Ubuntu-20.04 jobs to Ubuntu-24.04- require gcovr-5.2 on all jobs [upgrading some jobs to latest v8.3 triggers errors in stage-4 'coverage-analyze' job- gcov triggers errors - and requi
CI: migrate Ubuntu-20.04 jobs to Ubuntu-24.04- require gcovr-5.2 on all jobs [upgrading some jobs to latest v8.3 triggers errors in stage-4 'coverage-analyze' job- gcov triggers errors - and requires --gcov-ignore-parse-errors- --gcov-ignore-parse-errors prints tons of warnings triggering 'Job's log exceeded limit ...' message in CI. So hack installed gcovr to disable these messages- linux-gcc-quad-64idx-dbg triggers 'diff-snes_tutorials-ex78_2' - so add in alt output file for this change
Merge branch 'stefanozampini/fetidp-biot' into 'main'KSPFETIDP: support multiple "pressure" dofs for Biot modelSee merge request petsc/petsc!8140
SNES ex12: Added test for coordinate dimension change
SNES ex64: Biot consolidation model a la Winther/Mardal
CI: migrate osx-xsdk-opt to arm- remove --download-xsdk - its been removed long ago (and rename corresponding xsdk jobs)- rename osx jobs to macos- update MPI location to its real path.(curre
CI: migrate osx-xsdk-opt to arm- remove --download-xsdk - its been removed long ago (and rename corresponding xsdk jobs)- rename osx jobs to macos- update MPI location to its real path.(currently listed path is a link to the real path - it helped with CI migration of those jobsto newer xcode - while keeping other branch jobs working during/after the migration)
Merge branch 'knepley/feature-embedded-manifold' into 'main'Plex+PetscFE: Fixes to allow embedded manifoldsSee merge request petsc/petsc!8141
12345678910