Change *.cpp to *.cxx
Replace mpirun with mpiexec, as only the latter is in the standard
tests: use exNNcu.cu and exNNk.kokkos.cxx names
PetscDevice: remove C++ dependency when using --with-devicelanguage=C
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
show more ...
Minor style fix
CI: enable compilation of examples in some stage-1 jobs
Use NULL or nullptr instead of casted 0
CI: update to clang-format-18
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
Consolidate PETSc stream types
Fix words appearing twice in a row for no good reason
Test: consolidate tests measuring kernel launch latency
New "Extra comma in test harness rules" in checkbadSource
Remove MANSEC from makefiles it is not needed in, tutorials and tests
Convert all header guards to pragma once
The various PetscXXXRegisterFinalize() should execute finalizers in reverse order of registration
Rename PetscValidPointer -> PetscAssertPointer
Fix some documentation and typos
Remove need for seperate lib/petsc/conf/test file by merging with rules fileCommit-type: maintainability
Fix 'format specifies type 'void *' but the argument has type 'PetscDevice' (aka 'struct _n_PetscDevice *') [-Wformat-pedantic]'
Fix strange redefinition errors of global functions
Fix C++20 implicit enum-float conversions
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
Remove redundant uses of PETSC_NODISCARD from functions returning a PetscErrorCode
123