Fix the inconsistent usage of #if [!]defined XXX compared to defined(XXX)Thanks-to: Pierre JolivetAn LLM Claude detected the incosnsitency it was not used to remove the inconsistency
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 ...
Fix -Wunused-but-set-variablesrc/dm/dt/fe/interface/fe.c:2420:41: warning: variable ‘g’ set but not used [-Wunused-but-set-variable=] 2420 | PetscInt dOffset = 0, fOffset = 0, f, g; |
Fix -Wunused-but-set-variablesrc/dm/dt/fe/interface/fe.c:2420:41: warning: variable ‘g’ set but not used [-Wunused-but-set-variable=] 2420 | PetscInt dOffset = 0, fOffset = 0, f, g; | ^src/dm/field/impls/da/dmfieldda.c:31:17: warning: variable ‘c’ set but not used [-Wunused-but-set-variable=] 31 | PetscInt i, c, dim; | ^src/dm/impls/plex/plex.c:8007:28: warning: variable ‘newP’ set but not used [-Wunused-but-set-variable=] 8007 | for (PetscInt p = 0, newP = 0, o = fStart, oNew = fNewStart; p < numPoints; p++) { | ^~~~src/ts/utils/dmplexlandau/plexland.c:351:39: warning: variable ‘loc_fdf_idx’ set but not used [-Wunused-but-set-variable=] 351 | for (PetscInt ei_r = 0, loc_fdf_idx = 0; ei_r < numCells[grid_r]; ++ei_r) { | ^~~~~~~~~~~
checkbadSource: enforce proper style in makefiles
Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **
Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name
Remove more unneeded braces
Merge branch 'adams/fix-mg-reusepc' into 'main'set fine grid smoother 'reusepc' with mgpc->reusepcSee merge request petsc/petsc!8656
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-linersgit grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
Minor cleanup
missing "s" for isascii and issundials
Merge remote-tracking branch 'origin/release'
PetscFE: Silence warning
fix unit var
Merge branch 'knepley/feature-lumped-quadrature' into 'main'DT+FE: Add quadrature for diagonal mass matricesSee merge request petsc/petsc!8584
DT+FE: Add quadrature for diagonal mass matrices- More work to do here- Add PetscDTCreateQuadratureByCell()- Allow quadrature type to be set from options
FE: Changed signature of PetscFEIntegrateJacobian() to allow rectangular operators
Remove explicitly listed empty files and switch to output/empty.out
plexsubmesh: make submesh inherit CG/DG coordinate elements
Merge branch 'barry/2025-05-15/fix-func-typedef-names' into 'main'All typedef for functions are of the form (XXXXFn)(...) not (*XXXXyyyy)(....)See merge request petsc/petsc!8408
All typedef for functions are of the form (XXXXFn)(...) not (*XXXXyyyy)(....)
Plex: Fix hybrid quad permutation
Minor documentation fixes
Plex: Fix hybrid integration- Add DMFieldCreateDefaultFaceQuadrature() and PetscFEExpandFaceQuadrature()- Add neighbor geometry to PetscFEIntegrateHybridResidual_Basic(), PetscFEIntegrateHybridJaco
Plex: Fix hybrid integration- Add DMFieldCreateDefaultFaceQuadrature() and PetscFEExpandFaceQuadrature()- Add neighbor geometry to PetscFEIntegrateHybridResidual_Basic(), PetscFEIntegrateHybridJacobian_Basic() and PetscFEEvaluateFieldJets_Hybrid_Internal()- Add cell geometry to PetscFEIntegrateHybridResidual() and PetscFEIntegrateHybridJacobian()
12345678910>>...12