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
show more ...
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
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be unif
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be uniformly used or maintained.Thus, remove all .keywords: fields, and a following blank line, if present.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 -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find src/ -type f -exec gsed -i '/keywords:/d' {} + find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find include/ -type f -exec gsed -i '/keywords:/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
Improve the error propagation between and within KSPs and PCs- Added KSPCheckSolve() to be called consistently by PCs to set failures if the inner solvers fail.- Added use of KSPCheckNorm() and KS
Improve the error propagation between and within KSPs and PCs- Added KSPCheckSolve() to be called consistently by PCs to set failures if the inner solvers fail.- Added use of KSPCheckNorm() and KSPCheckDot() to all the Krylov methods to propagate errors from PCs to the KSPs.Commit-type: feature
Change outdated HAVE_VECCUDA macro to simply HAVE_CUDA for clarity/ease of maintenance.Commit-type: style-fix
Move access of prefix until it is actually usedCommit-type: style-fixReported-by: clang static analyzer
Merge branch 'maint'
fix typoReported-by: Febrian Setianto <febrian.setianto@gmail.com>
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/
Merge remote-tracking branch 'origin/knepley/fix-fe-vector-spaces'* origin/knepley/fix-fe-vector-spaces: (21 commits) SNES ex12: Updated test output Plex ex8: Updated test output Plex ex7: Up
Merge remote-tracking branch 'origin/knepley/fix-fe-vector-spaces'* origin/knepley/fix-fe-vector-spaces: (21 commits) SNES ex12: Updated test output Plex ex8: Updated test output Plex ex7: Updated test output Plex ex5: Updated test output Plex ex4: Updated test output Plex ex3: Updated test output Plex ex20: Updated test output Plex ex19: Updated test output Plex ex18: Updated test output Plex ex17: Updated test output Plex ex16: Updated test output Plex ex13: Updated test output Plex ex12: Updated test output Plex ex1: Updated test output DualSpace: Interaction of branches FAS: Added viewing during coarse correction Plex+FEM: Fixes for reorg of vector spaces which I missed - Fixed DMPlexComputeInterpolatorNested() field offsets - Fixed DMPlexComputeInjector() PetscFE: Fixed viewers - Added PetscDualSpace viewer - Can view FE without quadrature PC: Added some options and documentation for BJacobi, ASM, Richardson Plex: Fixes for ASCII viewer ...
Add MatGetOperation() and fixes to MATSHELL
GPUs: Allow ViennaCL and VECCUDA to be used concurrently.This also gets rid of the weird veccuda.py.
CUSP: Removed VECCUSP and AIJCUSP as well as preconditioners.SA-AMG from CUSP will be re-added in a follow-up commit,made to work with AIJCUSPARSE and VECCUDA.
PC: Added some options and documentation for BJacobi, ASM, Richardson
get rid of unneeded PC_ApplyOnMproc, fix manual page for parallel blocks for PCBJACOBICommit-type: style-fix, documentation
BJACOBI: Fixed incorrect PETSC_HAVE_VECVIENNACL instead of PETSC_HAVE_VIENNACL
BJacobi: Fixed incorrect unconditional use of GPU vectors.
Make ASCII PC/KSP/SNES/TSView() code and output in a standard styleThe code that prints the ASCII view for solvers was occasionally inconsistent:1) TSView printed the type specific information aft
Make ASCII PC/KSP/SNES/TSView() code and output in a standard styleThe code that prints the ASCII view for solvers was occasionally inconsistent:1) TSView printed the type specific information after the general info while all other solvers printed it before (right after the name of the type is printed)2) KSPView consistently printed the name of the subtype on EACH line of the subtypes output as did a few of the PC and SNES viewers. Since they are all printed indented directly below the subtype name there is no reason to print this information on each line3) TSView printed output about number of linear solvers and SNES even for explicit methods, which is goofy.4) a few other minor formatting and consistency issues where fix.Commit-type: style-fix, featureTime: 16 hours
rename MatGetSubMat -> MatCreateSubMat
Merge branch 'barry/remove-funct'
Add support for null argument from Fortran for VecScatterCreateToZero() VecScatterCreateToAll()Also update a few uses of NULL_OBJECT to the appropriate PETSC_NULL_XXXTime: .1 hoursReported-by: T
Add support for null argument from Fortran for VecScatterCreateToZero() VecScatterCreateToAll()Also update a few uses of NULL_OBJECT to the appropriate PETSC_NULL_XXXTime: .1 hoursReported-by: Tim Steinhoff <kandanovian@gmail.com>
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
ViennaCL: Fixed parallel runs with block-Jacobi.Now it is possible to run ViennaCL with multiple MPI ranks again.
Removed the use of PetscObjectQueryFunction() with with MatGetDiagonalBlock()that I missed when I first converted MatGetDiagonalBlock() from a query functionto a table functionTime: .3 hoursRe
Removed the use of PetscObjectQueryFunction() with with MatGetDiagonalBlock()that I missed when I first converted MatGetDiagonalBlock() from a query functionto a table functionTime: .3 hoursReported-by: nightly tests
12345678910>>...15