Tao - Update monitor functions to work like TS
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 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
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 friendsReported-by: david.knezevic@akselos.com
Replace -with-mpi-f90module-visibility with -with-mpi-f90module=mpi_f08Add PETSC_INT_KIND and PETSC_MPIINT_KINDReported-by: M.Weiland@epcc.ed.ac.uk
Fix terminology for Pmat in KSPView output.
Tao: Reduce numit of tomography tests to reduce overall test time
use modules instead of externalthis allows for argument checking
place all the include statements at the topRepeated inclusion in multiple location, e.g. at the start of amodule or function is not needed. This becomes clear if all includes areoutside of the ac
place all the include statements at the topRepeated inclusion in multiple location, e.g. at the start of amodule or function is not needed. This becomes clear if all includes areoutside of the actual Fortran code.Added regex to check that with the help of @sbalay
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 **
Run fprettify
Tao: Add names for TaoLineSearch types
TAOBRGN structure improvement, add TaoBRGNSet,GetRegularizationType
Add initial version PetscRegressor, part of the planned machine learning (ML) toolkitCo-authored-by: Mr. Hong Zhang <hongzhang@anl.gov>Co-authored-by: Hansol Suh <hsuh@anl.gov>Co-authored-by: Bar
Add initial version PetscRegressor, part of the planned machine learning (ML) toolkitCo-authored-by: Mr. Hong Zhang <hongzhang@anl.gov>Co-authored-by: Hansol Suh <hsuh@anl.gov>Co-authored-by: Barry Smith <bsmith@petsc.dev>Co-authored-by: Toby Isaac <toby.isaac@gmail.com>Co-authored-by: Satish Balay <balay@mcs.anl.gov>Mr. Hong Zhang developed the petsc4py interface and examples.Hansol Suh provided extensive help with updating the code to the latest PETSc coding guidelines and APIs, some documentation development, getting documentation to build correctly, getting new tests into the test harness, and numerous big fixes plus minor changes.Barry Smith provided extensive feedback and code to get the Fortran interfaces and documentation build working.Toby Isaac provided a fix to prevent breakage with complex-arithmetic builds.Satish Balay provided important help with fixing builds.Thanks-to: Pierre Jolivet <pierre@joliv.et>Thanks-to: Jed Brown <jed@jedbrown.org>Thanks-to: Jose Roman <jroman@dsic.upv.es>Thanks-to: Stefano Zampini <stefano.zampini@gmail.com>Pierre, Jed, Jose, and Stefano provided extremely helpful feedback and suggestions during the merge review process.
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
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous versions!- also clean up inconsistent PETSc code detected by new Fortran generation tools- drop use of bfort- automatically generate all the Fortran PETSc objects, enums etc from the include files- generate most of the Fortran interface definitions and functions from the source code- simplify the number and organization of Fortran modulesCo-authored-by: Jose E. Roman <jroman@dsic.upv.es>
Move some large files over to the datafiles repository
Brain dead fixes for useless casts
Remove unneeded parentheses
Use NULL or nullptr instead of casted 0
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']Also fix the code to repository to compile cleanly with these flags in th
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']Also fix the code to repository to compile cleanly with these flags in the CI
Fix usage of deprecated PETSC_DEFAULT
12345678910>>...17