test(cgns): Test CGNS read/write BC infomigrate 2x2x2_Q3_wave.cgns to datafiles repo
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 support for DMPlex in ex20.c for letkf localization
DMPlex: Add DMPlexGetLETKFLocalizationMatrix() to compute localization weight matrix for LETKFUse Kokkos to create a localization matrix for the LETKF data assimilation methodTools: Use Gemini Co
DMPlex: Add DMPlexGetLETKFLocalizationMatrix() to compute localization weight matrix for LETKFUse Kokkos to create a localization matrix for the LETKF data assimilation methodTools: Use Gemini Code Assist
Fortran 2008 has unlimited polymorphic/'*'
Replace -with-mpi-f90module-visibility with -with-mpi-f90module=mpi_f08Add PETSC_INT_KIND and PETSC_MPIINT_KINDReported-by: M.Weiland@epcc.ed.ac.uk
Fortran: enforce lower case keywords and operatorsalso fixed occasional capitals in used modules with the help of @prj-
Fortran is always F2003: removed leftovers
cleanup suggestions by @BarrySmithalso noticed a few stray functions not marked as external and put theminto modules
place all the include statements at the topRepeated inclusion in multiple location, e.g. at the start of amodule or function is not needed. This becomes clear if all includes areoutside of the ac
place all the include statements at the topRepeated inclusion in multiple location, e.g. at the start of amodule or function is not needed. This becomes clear if all includes areoutside of the actual Fortran code.Added regex to check that with the help of @sbalay
Fix DMPlex[Get-Restore]ClosureIndices for FortranCo-authored-by: Barry Smith <bsmith@petsc.dev>
Run fprettify
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
checkbadSource: forbid empty output_file not named output/empty.out
Remove explicitly listed empty files and switch to output/empty.out
Merge branch 'knepley/feature-plex-stl' into 'main'Plex: Add STL readerSee merge request petsc/petsc!8494
Plex ex2: Mesh creation tutorial
fortran no semicolon at end of lineRemove all unneeded ; at end of Fortran source code lineAdd checkbadSource to check for semicolon at the end of lines
plexsubmesh: make submesh inherit CG/DG coordinate elements
Fix typos
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>
Proper PETSc and Git capitalization
Merge branch 'jrwrigh/kd_tree' into 'main'Add PetscKDTreeSee merge request petsc/petsc!7954
test: Minor fix for plex/tutorials/ex15
123456