Modernize and clean up petscsys.h- Deprecate PETSC_NULL.- Switch from preprocessor defines to anonymous enums for constant expressions.- Surround macro arguments in ().- Remove redundant casts.
Modernize and clean up petscsys.h- Deprecate PETSC_NULL.- Switch from preprocessor defines to anonymous enums for constant expressions.- Surround macro arguments in ().- Remove redundant casts.- Clean up overly complex preprocessor defines in various PetscMem*() functions.
show more ...
Merge branch 'barry/2022-12-27/rm-vecgetarray-fortran-examples' into 'main'Replace use of VecGetArray() and friends from Fortran examples and docsSee merge request petsc/petsc!5950
Deprecate VecGetArray() and similar routines in favor of VecGetArrayF90() and similar routines, and update DocsCommit-type: housekeeping/spend 1h
Add MatMPIAIJGetSeqAIJF90(), MatMPIAIJRestoreSeqAIJF90()
Merge branch 'jolivet/feature-removed-errorchecking' into 'main'Remove remaining traces of --with-errorcheckingSee merge request petsc/petsc!5962
Fix -Wunused-parameter for CUDA files
Remove remaining traces of --with-errorchecking
Fix -Wunused-parameter and -Wimplicit-fallthrough
Merge remote-tracking branch 'origin/release'
Fix some typos
remove hardwired array in mpiaij
Fix compiler warning caused by having two variables with the same namempiov.c(57): warning #823: reference is to variable "i" (declared at line 32) -- under old for-init scoping rules it would have
Fix compiler warning caused by having two variables with the same namempiov.c(57): warning #823: reference is to variable "i" (declared at line 32) -- under old for-init scoping rules it would have been variable "i" (declared at line 47) PetscCall(ISRestoreIndices(is[i], &idx)); ^
Make MatIncreaseOverlap_AIJ respect blocking
fix matconvert aij to baij to correctly check for any nonzero in a block to do proper BAIJ preallocation
Remove PETSC_SKIP_SPINLOCKI don't see the reason why we needed it in the first placeDisabling the SPINLOCK makes some parts of the PETSc code base not thread-safe
Mat: fix a bug when calling MatCreateSubMatrix() on a mpiaijkokkos matrixThe created submatrix would have A of seqaijkokkos, but B of seqaijReported-by: "Fackler, Philip" <facklerpw@ornl.gov>
Register matcovert_seqaijhipsparse in HIP implementation
Remove unneeded " on xxx" from most Collective comments in manual pagesThe phrase was unneeded 99% of the timeI did not remove in the dm directory since another MR is still active that affects th
Remove unneeded " on xxx" from most Collective comments in manual pagesThe phrase was unneeded 99% of the timeI did not remove in the dm directory since another MR is still active that affects that directoryCommit-type: documentation/spend 20m
Use PetscHMapISet() in place of PetscHMapISetWithMode(INSERT_VALUES) as the intent is clearer
- Replace PetscTable with PetscHMapI.- Rename: - PetscTableCreate() -> PetscHMapICreateWithSize() - PetscTableFind() -> PetscHMapIGetWithDefault() - PetscTableAdd() -> PetscHMapISetWithMode()
Fix missing "Key" and incorrect "Command" for manual page listing of Options Database Key(s):Commit-type: documentation/spend 10m
1...<<11121314151617181920>>...152