Added VecLockPush() and VecLockPop() to make vector read onlyUsed VecLockPush() and VecLockPop() in a couple of key locations; PCApply(), KSPSolve(), MatMult()Fixed many uses of VecGetArray() to Ve
Added VecLockPush() and VecLockPop() to make vector read onlyUsed VecLockPush() and VecLockPop() in a couple of key locations; PCApply(), KSPSolve(), MatMult()Fixed many uses of VecGetArray() to VecGetArrayRead()Added VecGet/RestoreArrayPair() for commonly occuring patternAdded const to many locations driven by use of VecGetArrayRead()
show more ...
trivial cleanup
bugfix for MatConvert_MPIDense_Elemental(); add ex173.c for testing Matload()+MatCovnert()
manual merge of conflict
convert some PetscMalloc() to PetscMalloc1()remove unneeded () in first argument to PetscMalloc/Calloc1()fixes for MATLAB examples
Moved registration of MatSolverPackages out of MatCreate_XXX routines into standalone system, this allows1) more precise error message when a requested solver is not found2) easier to add new solve
Moved registration of MatSolverPackages out of MatCreate_XXX routines into standalone system, this allows1) more precise error message when a requested solver is not found2) easier to add new solvers without touching basic PETSc matrix implementation files and the possibility of adding new solvers to the library after PETSc is installed or even at run time
implement MatConvert_MPIDense_Elemental()
implement MatConvert_SeqDense_Elemental()
MATMPIDENSE used in documentation in several places that should have been MATSEQDENSEReported-by: Dave May <dave.mayhem23@gmail.com>
bugfix for error message of MatConvert() from dense to elemental
Mat doc: fix mismatches between Mat name and man pageReported-by: Sven Heinrich <s.heinrich@tu-braunschweig.de>
Merge branch 'jose/mataxpy-state'* jose/mataxpy-state: MatAXPY_Elemental: increment state Increase object state in MatAXPY for all matrix formats Increase state in MatHeaderReplace
Increase object state in MatAXPY for all matrix formats
removed limited support for passing NULL values pointer to MatSetValues() since it was implemented only by AIJ and never used.Now all matrix types generate suitable error when values is null
fix many examples output to match new printing of object types and names
changes to examples due to objects always printing class and name information
Merge branch 'maint'Conflicts: src/mat/impls/dense/seq/dense.c
dense: fix overflow with int32*int32 during malloc()
Mat: Improve conversion of MATDENSE to MATAIJ- Previously, we were creating a fully dense AIJ matrix
completed some percentage of changes from %G format in prints
PetscCalloc1: minor simplifications
Merge branch 'barry/fix-singleton-viewer'
Merge branch 'barry/fix-mpiint-petscoptionsgetint'Conflicts: src/ksp/pc/impls/redistribute/redistribute.c src/mat/impls/aij/mpi/mpiaij.c src/mat/impls/dense/mpi/mpidense.c src/mat/utils/matstas
Merge branch 'barry/fix-mpiint-petscoptionsgetint'Conflicts: src/ksp/pc/impls/redistribute/redistribute.c src/mat/impls/aij/mpi/mpiaij.c src/mat/impls/dense/mpi/mpidense.c src/mat/utils/matstash.c src/snes/examples/tutorials/ex28.c src/sys/objects/pinit.c src/vec/is/ao/impls/memscalable/aomemscalable.c
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'
Sys: add PetscCalloc[1-7]Replace lots of places where PetscMemzero is called immediately afterallocation.
1...<<21222324252627282930>>...54