PetscInitialize() and PetscFinalize() wrapped:- ierr = PetscInitialize();if (ierr) return ierr;+ CHKERRQ(PetscInitialize());- ierr = PetscFinalize();- return ierr;+ CHKERRQ(PetscFinalize());+
PetscInitialize() and PetscFinalize() wrapped:- ierr = PetscInitialize();if (ierr) return ierr;+ CHKERRQ(PetscInitialize());- ierr = PetscFinalize();- return ierr;+ CHKERRQ(PetscFinalize());+ return 0;
show more ...
chkerr and friends wrapped
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
Fix spelling errors in manpages and comments
checkbadSource: no newline at end of file
Fix compiler warnings
Remove all double blank lines from sourceCommit-type: petsc-style/2h
Merge remote-tracking branch 'origin/release'
Fortran: add PETSC_NULL_MPI_COMM for PCMGSetLevelsclose #868
Introduce PCFactorSetDefaultOrdering_Factor() to allow each factorization packageto indicate its preferered ordering, which may be external (its own) or one of PETSc.This also affects factorizatio
Introduce PCFactorSetDefaultOrdering_Factor() to allow each factorization packageto indicate its preferered ordering, which may be external (its own) or one of PETSc.This also affects factorization like dense PETsc where the ordering passed in by PETSc is ignored and not needed.Also fixed options for MUMPS and SuiteSparse where users needed to pass a particular options database optionto the package (MUMP or KLU) indicating they should use the PETSc provided ordering. Now if the PETSc provided ordering is providedthese packages automatically use them without need a special option. This simplifies ordering usage for external packagesCommit-type: optimization, bug-fix, testing-fix, style-fix/spend 6h
Factored matrices should not view information about MatSetValues() mallocsCommit-type: style-fix, feature/spend 40m
factor: Only check ordering if factor has been setup2c7c0729 introduced better printing of the ordering type forPCView_Factor. We must, however, only look for the ordering if the PChas been setup
factor: Only check ordering if factor has been setup2c7c0729 introduced better printing of the ordering type forPCView_Factor. We must, however, only look for the ordering if the PChas been setup (otherwise factor->fact is NULL). Fixes #684.
PC tests ex5: minor additionsTODO it would be nice to use this code to compare behaviour of KSPRICHARDSON
Single petscdir.mk
Provide support for not setting PETSC_DIR when gnumake is being used; this will prevent some petsc-maint/petsc-users email threadsCommit-type: error-checking, testing-fix, feature, exampleThanks-t
Provide support for not setting PETSC_DIR when gnumake is being used; this will prevent some petsc-maint/petsc-users email threadsCommit-type: error-checking, testing-fix, feature, exampleThanks-to: Jed Brown <jed@jedbrown.org>Thanks-to: Lisandro Dalcin <dalcinl@gmail.com>
Promote examples/{tests,tutorials}/ to {tests,tutorials}/This shortens paths and improves consistency between test target namesand paths to the source and output files. Most of the work wascompl
Promote examples/{tests,tutorials}/ to {tests,tutorials}/This shortens paths and improves consistency between test target namesand paths to the source and output files. Most of the work wascompleted by this script, followed by mild cleanup of nonconformingcases.for makefile in `git ls-files 'src/*makefile'`; do if rg -q 'DIRS.*\bexamples\b' $makefile; then base=$(dirname $makefile) dirs=$(cd $base/examples && ls -d tests tutorials 2>/dev/null | xargs echo) perl -pi -e "s#^(DIRS.*)\bexamples\b#\1${dirs}#" $makefile git rm $base/examples/makefile for t in $dirs; do git mv $base/examples/$t $base/ perl -pi -e "s#^(LOCDIR[[:space:]]*=).*#\1 $base/$t/#" $base/$t done fidonegit grep -l -E -z 'examples/(tutorials|tests)' | xargs -0 perl -pi -e 's#examples/(tutorials|tests)#\1#g'git checkout @ \ src/docs/website/documentation/changes/ \ src/benchmarks/results/
123