Remove unneeded macros
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#'
show more ...
Convert some SETERRQ() to PetscCheck()
Proper capitalization of ExodusII
Remove the last of the uses of $ in the first line of formatted manual pages
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!- deprecate use of 'F90' in Fortran function names- use Fortran pointers when appropriate- the new Fortran API is not backward compatible with previous versions!- also clean up inconsistent PETSc code detected by new Fortran generation tools- drop use of bfort- automatically generate all the Fortran PETSc objects, enums etc from the include files- generate most of the Fortran interface definitions and functions from the source code- simplify the number and organization of Fortran modulesCo-authored-by: Jose E. Roman <jroman@dsic.upv.es>
Remove useless code
Plex+ExodusII: Fix casts
PetscViewerDestroy_ExodusII: add missing PetscCalls
Fix -Wimplicit-fallthroughsrc/dm/impls/plex/exodusii/plexexodusii2.c: In function ‘DMView_PlexExodusII’:src/dm/impls/plex/exodusii/plexexodusii2.c:889:12: warning: this statement may fall through
Fix -Wimplicit-fallthroughsrc/dm/impls/plex/exodusii/plexexodusii2.c: In function ‘DMView_PlexExodusII’:src/dm/impls/plex/exodusii/plexexodusii2.c:889:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 889 | if (closureSize == 2 * dim) { | ^src/dm/impls/plex/exodusii/plexexodusii2.c:892:7: note: here 892 | case 2: | ^~~~
exodusii: add PetscExodusIIInt, PetscExodusIIFloat, fixes src/dm/impls/plex/tests/ex26 with 64bit build
PetscViewer_ExodusII: Allow the viewer to set and query the name and number of variables (results) stored in an exodusII file. Cache this information to avoid repeated calls to exodusII functions.A
PetscViewer_ExodusII: Allow the viewer to set and query the name and number of variables (results) stored in an exodusII file. Cache this information to avoid repeated calls to exodusII functions.And update to use exodusII-v2024-06-27Co-authored-by: Sarah Ahmed ahmes134@mcmaster.ca