Add _Fn to undocumented function typedefs in MatCommit-type: housekeeping
Consolidate Mat code deriving from MATSHELL
Add missing interface function MatProductGetAlgorithm()
MatNullSpaceTest: fix output
Merge branch 'jolivet/enable-ubsan' into 'main'Proper UBSan suppression file and last fixesSee merge request petsc/petsc!7166
Added MatMultHermitianTranspose and MatMultHermitianTransposeAdd for MATSCALAPACK
Added MatMultHermitianTranspose and MatMultHermitianTransposeAdd for MATDENSECUPM
Added MatMultHermitianTranspose and MatMultHermitianTransposeAdd for MATSEQDENSE and MATMPIDENSE
Important fixes
New "Extra comma in test harness rules" in checkbadSource
Fix "Extra spaces in test harness rules" in checkbadSource
First batch of fixes
Modified ex88 to test MatMultHermitianTranspose_Shell and MatMultHermitianTransposeAdd_Shell and to test with complex numbers
Add support for MatMultHermitianTranspose with a shell matrix
Merge remote-tracking branch 'origin/release'
Update references in the manual pages to use Sphinx citation processing
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 PetscOptionsGetViewer() so it works in a thread-safe wayWhen PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is sharedby all threads that call PetscOptio
Fix PetscOptionsGetViewer() so it works in a thread-safe wayWhen PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is sharedby all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() anddereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewerwas accessed thus corrupting the object.This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencingon persistant viewers, thus removing the specific race condition above.Other possible solutions includeUse a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so onecould mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowersthe cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared modelis what we need in the long run, though it might be.
show more ...
Add Fortran stubs and interfaces for MatSetValuesLocal()
Merge branch 'jolivet/feature-matmatmult-mpidense-mpidense' into 'main'MatMatMult_MPIDense_MPIDense without ElementalSee merge request petsc/petsc!7067
MatProduct_AB for mpidense-mpidense without Elemental
Remove useless code and misc fixes
Tests: test MatShift() on matrices with either dense or sparse diagonal
12345678910>>...24