Merge remote-tracking branch 'origin/release'
Fix a bug for ERK adjointThis affects the adjoint calculation with ERK methods that have zeros in the b coefficient, such as Dopri5.Reported-by: Rui Martins<rui.carlos.andrade.martins@gmail.com>
Fix a bug in Interpolate_Alpha- The interpolation implementation reuses th->V1 by mistake- th->V1 is updated once SNESTSFormFunction() is called- -snes_monitor triggers an addition call to SNESTS
Fix a bug in Interpolate_Alpha- The interpolation implementation reuses th->V1 by mistake- th->V1 is updated once SNESTSFormFunction() is called- -snes_monitor triggers an addition call to SNESTSFormFunction() to compute the norm, changing the value of V1
show more ...
TS: BSI should propagate timestep and time to subsolvers
TSDIRK: allow non-consistent dual variablesthis requires the algebraic IS during the residual callbackadd tests
Fix gcc-14 -Warray-bounds warnings for hypothetical negative sizesThese warnings arise because we use (signed int32) PetscInt for sizesthat must be nonnegative, then cast to size_t. This leads to
Fix gcc-14 -Warray-bounds warnings for hypothetical negative sizesThese warnings arise because we use (signed int32) PetscInt for sizesthat must be nonnegative, then cast to size_t. This leads to warningswhen the compiler doesn't know that the integers can't be negative.In function ‘PetscMemzero’, inlined from ‘TSARKIMEXRegister’ at /home/jed/petsc/src/ts/impls/arkimex/arkimex.c:1182:10:/home/jed/petsc/include/petscstring.h:758:3: warning: ‘memset’ pointer overflow between offset 0 and size [-17179869184, -8] [-Warray-bounds=] 758 | memset(a, 0, n); | ^~~~~~~~~~~~~~~Compare commit 095c51fa7c16ea848964bdaab3c2c2b53b8a3072 from 2023: Fix gcc-13 -Warray-bounds warnings involving hypothetical negative sizes
Update source code removing all unneeded /*@C and associated manual stubs and interfaces
TSRosW: add R34PRW, R3PRL2, and RODASPR2These are all L-stable with B_{PR} order 3.
TSRosW: add RODASPR, six-stage fourth-order with B_PR consistency
Merge branch 'stefanozampini/tsresize-errorind' into 'main'TSSetResize: support error indicatorsSee merge request petsc/petsc!7368
Docs: fix missing or extra dash in right-hand side
TSSetResize: support remeshing with step restart
TS: save solution and time step at the beginning of the stepremove SNES monitor output from ex9bus example since it is numerically unstableJust error in case SNES does not converge
CI: update to clang-format-18
Remove some unneeded parentheses
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
checkbadSource: rules for PetscFunctionBegin and derivatives
Fix words appearing twice in a row for no good reason
Change the use of the _Fn suffix to indicate a typedef of a function to just FnAs determined on a vote on GitLab
Convert TS typedef functions to new style ending with _FnCommit-type: housekeeping, maintainability
TSARKIMEX: fix DAE case for explicit first stage
12345678910>>...54