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 ...
checkbadSource: enforce proper style in makefiles
Fix the definition of PetscErrorCodeFn; this reverts API change in !8615Co-authored-by: Pierre Jolivet <pierre@joliv.et>Reported-by: Lisandro Dalcin <dalcinl@gmail.com>
PetscPartitioner: add multistage partitioner
PetscMath: GCD and LCM operations with integers
Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **
DM: fix some docs
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 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#'
Convert some SETERRQ() to PetscCheck()
One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat
One-liners from petsc/petsc!5344 and petsc/petsc!5557Slightly reworked regular expressiongit ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}done
DM: Allow creation of a gradient matrix between spaces- This is like the mass matrix, but with a gradient on the continuous space- We use this for conservation laws in moments of particle systems-
DM: Allow creation of a gradient matrix between spaces- This is like the mass matrix, but with a gradient on the continuous space- We use this for conservation laws in moments of particle systems- Add projection to DMSwarm to implement this
Plex: Add events for transform
Merge remote-tracking branch 'origin/release'
Merge branch 'ksagiyam/fix_submesh_coordinates' into 'main'Ksagiyam/fix submesh coordinatesSee merge request petsc/petsc!8353
plex: remove coordFunc from DMPlexCreateCoordinateSpace()
plexsubmesh: make submesh inherit CG/DG coordinate elements
dm: add createcellcoordinatedm method
DM: Malloc nullspace constructors
Update file dm.c
doc: clarify that DMAddBoundary() only adds a boundary condition for a field.
Plex: DMSectionSelectFields_Private() must respect the section permutation
Plex: Allow changing the cell color in X drawing
DMBoundaryConditionTypes: fix entries for LOWER_BOUND and UPPER_BOUND
All typedef for functions are of the form (XXXXFn)(...) not (*XXXXyyyy)(....)
12345678910>>...60