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'
show more ...
Clarify which MatCreate and friends copies the user provided valuesReported-by: Fabian Wermelinger <fab4100@posteo.ch>
Bug fix, calling MatXXXSetPreallocation on MPI matrices after MatSetOption() loses the option valueReported-by: Francois Fraysse
Trivial fix to MatSetValuesBlocked() manual page, spelling and spacing
Mat: GetAbsSum (l1) row norms; PCJacobi: add scaled L1 diagonal approximation
Sys: add PetscSafePointerPlusOffset() to pacify UBSan
LIBBASE is no longer used in make so remove it
Merge remote-tracking branch 'origin/release'
Fix bug if MatDuplicate() is called on a MatSetUp() but not MatAssembly matrixReported-by: Benjamin Sturdevant <bsturdev@pppl.gov>Reported-by: Mark Adams <mfadams@lbl.gov>
Fix bugs in handling PetscViewerGetSubViewer() and tabing in ASCII viewersReported-by: Pierre Jolivet
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Fix use of offdiagonal to off-diagonal
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
Remove first and last empty lines
MatCreateSubMatrices: rectangular blocks with SBAIJ
Minor documentation fixes
Convert all header guards to pragma once
Add static to internal functions
Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solve
Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solvers
Profiling: Improve !defined(PETSC_USE_LOG) #defines- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:```c #if def
Profiling: Improve !defined(PETSC_USE_LOG) #defines- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:```c #if defined(PETSC_USE_LOG) PetscLogEvent event; #endif```- Having global counters like petsc_TotalFlops externed event if !PetscDefined(USE_LOG) helps to remove a lot of needless `#ifdef`s around code that can instead be placed in `if (PetscDefined(USE_LOG)) {}` blocks.
MatEliminateZeros(): add [S]BAIJ implementations
Manual linter fixes: mat
Fix -Wextra-semi-stmt
Lint apply: mat
12345678910>>...37