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 ...
DMPlex: add rank to the output of HDF5_VIZ
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
Minor cleanup
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
Merge branch 'jolivet/cleanup-symbols' into 'main'Do not expose unneeded symbolsSee merge request petsc/petsc!8335
Do not expose unneeded symbols
Plex+HDF5: Fix compression handling in HDF5 output- Add compress flag to HDF5 Viewer- Add PetscViewerHDF5SetCompress() and PetscViewerHDF5GetCompress()- Initialize IS compressOutput to PETSC_TRUE
Plex+HDF5: Fix compression handling in HDF5 output- Add compress flag to HDF5 Viewer- Add PetscViewerHDF5SetCompress() and PetscViewerHDF5GetCompress()- Initialize IS compressOutput to PETSC_TRUE and check viewer flag as well- Turn on viewer compression rather than flip IS flag in Plex output
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>
VecView_Plex_Local_HDF5_Internal: add missing free
Merge remote-tracking branch 'origin/release'
Fix ranlib warnings 'file has no symbols'These warnings appear in macOS when configured --with-shared-libraries=0/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-nosh
Fix ranlib warnings 'file has no symbols'These warnings appear in macOS when configured --with-shared-libraries=0/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(sectionhdf5.o) has no symbols/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(zhdf5io.o) has no symbols/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(hdf5io.o) has no symbols/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(aijhdf5.o) has no symbols/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(baijfact81.o) has no symbols/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(densehdf5.o) has no symbols/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(feceed.o) has no symbols/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(fvceed.o) has no symbols/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(plexhdf5xdmf.o) has no symbolsIncludes the removal of unnecessary custom fortran stubs.