Pass PetscDrawSetSave() and PetscDrawSetSaveFinalImage() to PetscViewerGetSubViewer_Draw()Otherwise MatView() on parallel matrices, for example, will not generate an image fileCommit-type: bug-fi
Pass PetscDrawSetSave() and PetscDrawSetSaveFinalImage() to PetscViewerGetSubViewer_Draw()Otherwise MatView() on parallel matrices, for example, will not generate an image fileCommit-type: bug-fix/spend 30mReported-by: Frank Bramkamp <bramkamp@nsc.liu.se>
show more ...
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
Fix more typos and add missing examples
Sys: Replace 0 -> NULL for pointers
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*()
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*() with PetscArraymove()Commit-type: style-fix, feature
Update the use of Collective on in the manual pages to reflect the new styleCommit-type: style-fix, documentationThanks-to: Patrick Sanan <patrick.sanan@gmail.com>
Man pages: remove Concepts: fieldsThese fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209Remove these fields from all man pages (but
Man pages: remove Concepts: fieldsThese fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209Remove these fields from all man pages (but not from examples).This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
Minor updates PetscViewerGetSubViewer(), error checking, docsCommit-type: testing-fix, documentation
NULL_XXX in Fortran is actually PETSC_NULL_XXXCommit-type: feature, documentation
Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should notCommit-type: bug-f
Add if (*ierr) return checks for all Fortran stubs that utilize FREECHAR()Otherwise the ierr is overwritten by the FREECHAR() thus returning a zero error code when it should notCommit-type: bug-fixReported-by: Tim Steinhoff <kandanovian@gmail.com>
Merge branch 'maint'
PetscViewerDraw: fix unininitialized warning from valgrind
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \(
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
PETSCVIEWERDRAW: Add PetscViewerDraw{Get|Set}Title()
PETSCVIEWERDRAW: Add PetscViewerDrawGetDrawType()
ftn: add interface for PETSC_VIEWER_DRAW_()Requested-by: Tim Steinhoff <kandanovian@gmail.com>
Update to MPI-2.0 versions of attribute interfacesSome of these interfaces were removed in MPI-3. This compiles cleanlywith Open MPI 3.0 and is clean according to the style checks. src/contrib
Update to MPI-2.0 versions of attribute interfacesSome of these interfaces were removed in MPI-3. This compiles cleanlywith Open MPI 3.0 and is clean according to the style checks. src/contrib/style/checks/mpi3-removed-all.sh src/contrib/style/checks/mpi3-deprecated-all.sh
convert MPI_Keyval_create() usage to MPI_Comm_create_keyval() and fix error routines from keyval functonsCommit-type: style-fix
Free the MPI Keyval that may have been created during a runProblem located by building MPICH with the option --enable-error-messages=allCommit-type: style-fixFunded-by: ECPTime: .45 hoursRe
Free the MPI Keyval that may have been created during a runProblem located by building MPICH with the option --enable-error-messages=allCommit-type: style-fixFunded-by: ECPTime: .45 hoursReported-by: Daniel Alejandro Ibanez <daibane@sandia.gov>Development Tools: Vim, Emacs, Eclipse
Minor cleanup, remove some outdated code, remove unneeded constructs, improve manual pages slightly, add missing test caseTime: 2.5 hours
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and func
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and function prototypes are now provide through Fortran modules, not includes;only #define are provided in the petscXXXdef.h filesPETSc objects can be declared as either type(tXXX) or XXX. For example type(tVec) or VecMoved now private Fortran include files out of public include directory since uses don't use them;they are only used to generate the Fortran modulesEasier to support and test; we can now easily add more function prototypesAlso had to rework generation of manual pages to consistently use MANSEC and SUBMANSECsince these variables also handle how the Fortran modules are generated.Time: 57 hours
added manual pages for missing PETSCVIEWERXXX such as PETSCVIEWERBINARYThanks-to: apostol <apostol.faliagas@gmail.com>
123456