Merge remote-tracking branch 'origin/release'
Remove use of preconditioning or preconditioner matrix when it should be phrased as matrix used to construct preconditioner
Add `MatFDColoringFn` typedef
SNESNEWTONTR: allow changing delta_max while solvingadd test
MatLMVM: Update test output
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>
show more ...
Improve some manual pages in KSP/SNES
Add user provided snes convergence reason
Merge branch 'knepley/feature-hamiltonian-ex2-opt' into 'main'Fix Hamiltonian ex2 for Landau DampingSee merge request petsc/petsc!7937
DMSwarm: Allow multiple fields to define the DM field and multiple cellDM, allow different coordinate fields, and compute moments- Changed interface for DMSwarmVectorDefineField() and DMSwarmVectorG
DMSwarm: Allow multiple fields to define the DM field and multiple cellDM, allow different coordinate fields, and compute moments- Changed interface for DMSwarmVectorDefineField() and DMSwarmVectorGetField() to allow multiple fields- Add DMSwarmReplace_Internal()- Add coordinate name to Swarm- Add DMSwarmGetCoordinateField() and DMSwarmSetCoordinateField()- Add DMSwarmComputeMoments()- In DMLocatePoints_Plex(), ignore extra coordinates in input vector- Add CellDMInfo struct- Add DMSwarmPushCellDM() and DMSwarmPopCellDM()
Plex: If the cell type changes, we need to recreate the coordinate discretization- Thus, now refinement always recreates it
CI: update checkclangformat to use clang-format-19.1.0
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
SNESNEWTONTR: use cauchy point with objective function minimization onlystol default for TR should be 0
SNES: trust region APIdeprecate old SNESSetTrustRegionTolerance
Fix usage of deprecated PETSC_DEFAULT
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore modelHence the code needs to be refactoredIntroduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI
The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore modelHence the code needs to be refactoredIntroduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routinesReported-by: James WrightThanks-to: Jeremy L Thompson
Refactor VecSetInf() into VecFlag() and deprecate VecSetInf()Reported-by: Stefano Zampini
Improve the Fortran handling of functions that take ctx with type(*) supportReported-by: Adrian Croucher <a.croucher@auckland.ac.nz>
This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of
This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGERPass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v]Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXXThe compiler will now automatically prevent you from using the wrong argument type for the first three bullets aboveThis will also require an update sowing with the new sowing branch this MR is using.
Fortran: remove unneeded return
Docs: fix missing or extra dash in right-hand side
12345678