Improve some manual pages in KSP/SNES
SNESLineSearch: add bisection line searchAdd new bisection line search for SNES, which proves to be useful for highly non-linear problems. The line search assumes that F(X) = grad G(X) and seeks to
SNESLineSearch: add bisection line searchAdd new bisection line search for SNES, which proves to be useful for highly non-linear problems. The line search assumes that F(X) = grad G(X) and seeks to find the root in the directional derivative through bisection.(tested in snes/tutorials/ex99)
show more ...
SNES ex7: More progress on parallel
brain dead fixes for useless casts in examples
Merge branch 'barry/2024-09-29/fix-function-typedef-style' into 'main'Unify handling of context destructorsSee merge request petsc/petsc!7900
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()
Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those t
Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those thatused PetscContainer- Now allows any context to be a PetscObject- Will provide a cleaner mapping to bindings in other languages- Simplifies the maintenance of PETSc source code; improves clarityNot backward compatible, compiler warnings will tell users what functions need to be updated
Merge branch 'pastix6' into 'main'Pastix: Update to the new interface 6 and last release version 6.4.0See merge request petsc/petsc!7570
Plex: If the cell type changes, we need to recreate the coordinate discretization- Thus, now refinement always recreates it
Pastix: Update to the new interface 6 and last release version 6.4.0
Merge branch 'stefanozampini/ci-compile-examples' into 'release'compile examples in CISee merge request petsc/petsc!7924
CI: enable compilation of examples in some stage-1 jobs
SNES ex58: fix asan warnings
configure: detect GNU address sanitizerdisable PetscCheckPointer when using a sanitizer
Add check for misuse of TODO in gmakegentest.py specifications and fix misuse
CI: update checkclangformat to use clang-format-19.1.0
Remove unneeded parentheses
Merge remote-tracking branch 'origin/release'
SNES tutorial ex42: check ghosted vector
SNES ex5f: fix for -Wmaybe-uninitialized warning
Use NULL or nullptr instead of casted 0
make check: update to run hip test
Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()Introduce MPIU_Count to be used when MPI_Count is not available
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
12345678910>>...27