Additional PetscInt_FMT empty string and SETERRQ trailing newline fixes
remove trailing newline from SETERRQ
applied attribute format fixes to mat headers
Merge branch 'stefanozampini/petsc4py' into 'main'Some work on petsc4pySee merge request petsc/petsc!4644
MatProduct: move API from internal petsc4py usage to PETSc headers.
MATIS: fix what NULL means for l2gmapconceptually, a NULL l2map is a full local to global mappetsc4py: support for MatCreateIS and add MATIS tests
Mat: add missing general fallbacks for matrices flagged as symmetricFix MatMatSolve_Basic using MatDense API to prevent from unneeded device2host copies
MatConvert_Basic: use matvecs if getrow is not implementedAllow MatEqual to run the matvecs comparison if the implementation is not foundAdd test for MATPYTHON
Merge remote-tracking branch 'origin/release'
Docs: fix formatting on MatSetOption man page
MatDuplicate: use PetscObject instead of DM type
MatProduct: more informative errors
MatProduct: allow matching op to failThis can happen when a class will have its internal dispatching depending on subclasses
MatCreateSubMatrices() and MatCreateRedundantMatrix() now propagate the bindingpropagates flag.
MatCreateVecs() now propagates the bindingpropagates flag.
MatCreateSubMatrices() and MatCreateRedundantMatrix() now honor bindingpropagates flag.
MatCreateVecs() now honors mat->bindingpropagates flag.
MatCreateSubMatrices() and MatCreateRedundantMatrix() now bind created matrices to CPU if input matrix is bound.
MatCreateVecs() now calls VecBindToCPU() on created vectors if the matrix is bound to the CPU.
Merge branch 'jczhang/fix-PCTelescope-GPU' into 'release'Fix PCTelescope GPU matricesSee merge request petsc/petsc!4471
MatProduct: need to check symmetry between symbolic and numericSuppose we have code: MatTransposeMatMult(A,B,MAT_INITIAL_MATRIX,fill,C); MatTransposeMatMult(E,B,MAT_REUSE_MATRIX,fill,C);If A
MatProduct: need to check symmetry between symbolic and numericSuppose we have code: MatTransposeMatMult(A,B,MAT_INITIAL_MATRIX,fill,C); MatTransposeMatMult(E,B,MAT_REUSE_MATRIX,fill,C);If A is symmetric and E is not, but E has the same nonzero pattern as A, then above code is legitimate.If we change the MatProductType in MAT_INITIAL_MATRIX from MATPRODUCT_AtB to MATPRODUCT_AB, thenin MAT_REUSE_MATRIX, we need to redo symbolic otherwise C=E^B would be wronlgy computed as C=EB.
show more ...
MAT: add MatGetRootType_Private to return root type of a matrix
Fix missing ierr =, removed incorrect CHKERRQ()Commit-type: error-checking, style-fix\spend 45m
1...<<11121314151617181920>>...111