Change PETSc sys typedef function names to use the new _Fn formatCommit-type: housekeeping, maintainance
add typedef for functions passed to SNESSetFunction() etc to match approach in TSI never liked Jed's use of typedef for function prototypes for a couple of reasons1) you don't see immediately tha
add typedef for functions passed to SNESSetFunction() etc to match approach in TSI never liked Jed's use of typedef for function prototypes for a couple of reasons1) you don't see immediately that the argument to the function is a function pointer instead of standard variable when looking at source2) you don't see at the exact location in the code the prototype of the function being passed inbut there is something to say for using these typedefs soI've prototyped the change for SNES but slightly differently than what Jed did for TS1) I append the typedef with _Ftn to mark that it is a function (helping to relieve the problem 1 above)2) I made the typedef to be for a function, not a function pointer so it can also be used directly for things likePETSC_EXTERN SNESJacobian_Ftn SNESComputeJacobianDefault;I think the TS usage could be switched to this style without user code breakage, and deprecate the current TS typedefThoughts?Just do SNES the same way as TS and live with less clarity?
show more ...
Merge branch 'stefanozampini/dmplexforest' into 'main'Updates to DMPLEX and DMFORESTSee merge request petsc/petsc!7217
DMPLEXFEM: fix auxiliary vector cases
Use PetscTryTypeMethod when possible
Fix manual pages for dmadapt and dminterpolationinfo that have been moved
mv dminterpolate and dmadapt routines to subdirectory so they can have proper MANSEC value of DM
Merge branch 'barry/2023-12-22/rm-libbase' into 'main'LIBBASE is no longer used in make so remove itSee merge request petsc/petsc!7139
Merge remote-tracking branch 'origin/release'
Clarify docs for MatCreateSNESMF().Reported-by: Yi Hu <y.hu@mpie.de>
LIBBASE is no longer used in make so remove it
Merge branch 'stefanozampini/minsurf-local' into 'main'Improve support for nonlinear domain decomposition solversSee merge request petsc/petsc!7084
DMPLEX: add support for DMCreateDomainDecomposition routinesDMPlexDistributeOverlap: add support for subdomain mesh
DMPLEXSNES: support objective functions
Fix -Wzero-as-null-pointer-constant errors
DMDASNES: support using user context if operation context is not providedAdd MPI_Allreduce inside the main objective driver
DMSNESCheckJacobian: use internal solution if DM and Vec are NULL
Fix some manual pages focusing on SNES
Plex: Fix DMInterpolateEvaluate() for FV
Plex: Fix DMInterpolationEvaluate() to work with meshes of mixed cell type
Fixes for use of Calling Sequence of ... in the manual page
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
12345678910>>...43