SNES: Replace 0 -> NULL for pointers
Single petscdir.mk
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petsc
build: add more support for not needing to set PETSC_DIR yet build with PETSc, also support for GNU make to directly use "make test" instead of "make -f gmakefile.test"Still needs -include ../petscdir.mk in many of the makefilesStill needs the link for ../petscdir.mk in many directoriesGNUMakefile: call legacy makefile recursively instead of including itGNUMakefile: promote default "all" target; "libs" builds libpetsc*GNUMakefile: If gnumake < 4.2 prefer makefile wrapper interface over direct gmakefile interface to avoid the following warningsgmakefile.test:92: arch-ci-linux-cxx-cmplx-pkgs-64idx/tests/testfiles: No such file or directorygmakefile:67: arch-ci-linux-cxx-cmplx-pkgs-64idx/lib/petsc/conf/files: No such file or directoryCommit-type: testing-fix, feature, usabilityThanks-to: Jed Brown jed@jedbrown.org
show more ...
Fix a bunch of PetscValidPointer() -> PetscValidXXXPointer()
SNESFAS: Minor refactor* Remove workarounds in SNESFASSetLevels() related to SNESReset()* Perform proper error checking in the many SNEFAS-specific routines* Fix code duplication in the setup of
SNESFAS: Minor refactor* Remove workarounds in SNESFASSetLevels() related to SNESReset()* Perform proper error checking in the many SNEFAS-specific routines* Fix code duplication in the setup of smoothers and line searches* Replace sprintf -> PetscStrncpy/PetscSNPrintf
Merge from doc-fixes branch
Fixes for doctext update
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
SNESLineSearch should only be created and used if the SNES type requires the line searchPreviously the line search was created for all solver and and SNESLineSearchSetFromOptions()and SNESLineSear
SNESLineSearch should only be created and used if the SNES type requires the line searchPreviously the line search was created for all solver and and SNESLineSearchSetFromOptions()and SNESLineSearchView() called for all solvers, even those that never used it,leading to confusion for usersCommit-type: feature, documentationReported-by: Robert Nourgaliev <nourgaliev1@llnl.gov>
Missing ierr and incorrect use of upsweep in help messageCommit-type: style-fix, documentation
Only skip the downsmooth on the downsweep once.This fixes the problem if e.g. FAS is preconditionedby NGMRES; each time it's called snes->iter is 0.
Do the downsweep on the second and further iterations
FAS: if the user specifies -snes_fas_full_downsweep false, don't do a downsweep
Complete support for individual PETSc objects to use their own options database with PetscObjectSetOptions()Commit-type: feature, exampleReported-by: "Blondel, Sophie" <sblondel@utk.edu>
SNES: Fix 'extern' declarations
Log: various fixes and cleanups- Reorganize declarations in petsclog.h- Better -log_exclude, now applies to all registered stages- Minor fixes to implementation of -info_exclude- PCASM: Log appl
Log: various fixes and cleanups- Reorganize declarations in petsclog.h- Better -log_exclude, now applies to all registered stages- Minor fixes to implementation of -info_exclude- PCASM: Log apply-on-blocks KSP solves- Rename PetscLogDestroy() -> PetscLogFinalize() and hide it from the API
Event logging synchronization- Remove PetscLogEventBarrierBegin/PetscLogEventBarrierEnd- Option -log_sync enables barrier synchronization for all events- A few non-collective events are disabled
Event logging synchronization- Remove PetscLogEventBarrierBegin/PetscLogEventBarrierEnd- Option -log_sync enables barrier synchronization for all events- A few non-collective events are disabled (eg. {Vec|Mat}SetValues)
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/
FAS: Added viewing during coarse correction
FAS: guard DMCreateInjection with DMHasCreateInjection
fix: redundant CHKERRQ() call after SETERRQ()Craycc complained about a stray CHKERRQ after SETERRQ in plextree.cReported-by: Patrick Sanan <patrick.sanan@gmail.com>
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
If the DM can create a restriction operator, use DMCreateRestriction.This is useful for custom handling of Dirichlet boundary conditions in FAS.
fix duplicate definitions warned by -Wredundant-declsAlso a bugfix? BLASdotu_ -> dotuReported-by: Till Martens <till.martens@dlr.de>
Merge branch 'barry/remove-funct'
12345678910>>...13